Package google.registry.model.common
Class FeatureFlag.Builder
java.lang.Object
google.registry.model.Buildable.Builder<FeatureFlag>
google.registry.model.common.FeatureFlag.Builder
- Enclosing class:
FeatureFlag
A builder for constructing
FeatureFlag
objects, since they are immutable.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build the instance.setFeatureName
(FeatureFlag.FeatureName featureName) setStatusMap
(com.google.common.collect.ImmutableSortedMap<org.joda.time.DateTime, FeatureFlag.FeatureStatus> statusMap) Methods inherited from class google.registry.model.Buildable.Builder
getInstance
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Description copied from class:Buildable.Builder
Build the instance.- Overrides:
build
in classBuildable.Builder<FeatureFlag>
-
setFeatureName
-
setStatusMap
public FeatureFlag.Builder setStatusMap(com.google.common.collect.ImmutableSortedMap<org.joda.time.DateTime, FeatureFlag.FeatureStatus> statusMap)
-