Package google.registry.model.tld.label
Class ReservedList.Builder
java.lang.Object
google.registry.model.Buildable.Builder<ReservedList>
google.registry.model.Buildable.GenericBuilder<ReservedList,ReservedList.Builder>
google.registry.model.tld.label.BaseDomainLabelList.Builder<ReservedList,ReservedList.Builder>
google.registry.model.tld.label.ReservedList.Builder
- Enclosing class:
ReservedList
public static class ReservedList.Builder
extends BaseDomainLabelList.Builder<ReservedList,ReservedList.Builder>
A builder for constructing
ReservedList
objects, since they are immutable.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionsetReservedListMap
(com.google.common.collect.ImmutableMap<String, ReservedList.ReservedListEntry> reservedListMap) Updates the reservedListMap from input lines.Methods inherited from class google.registry.model.tld.label.BaseDomainLabelList.Builder
build, setCreationTimestamp, setName
Methods inherited from class google.registry.model.Buildable.GenericBuilder
thisCastToDerived
Methods inherited from class google.registry.model.Buildable.Builder
getInstance
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setReservedListMap
public ReservedList.Builder setReservedListMap(com.google.common.collect.ImmutableMap<String, ReservedList.ReservedListEntry> reservedListMap) -
setReservedListMapFromLines
Updates the reservedListMap from input lines.- Throws:
IllegalArgumentException
- if the lines cannot be parsed correctly.
-