Package google.registry.model.tld.label
Class PremiumList.Builder
java.lang.Object
google.registry.model.Buildable.Builder<PremiumList>
google.registry.model.Buildable.GenericBuilder<PremiumList,PremiumList.Builder>
google.registry.model.tld.label.BaseDomainLabelList.Builder<PremiumList,PremiumList.Builder>
google.registry.model.tld.label.PremiumList.Builder
- Enclosing class:
PremiumList
public static class PremiumList.Builder
extends BaseDomainLabelList.Builder<PremiumList,PremiumList.Builder>
A builder for constructing
PremiumList
objects, since they are immutable.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build the instance.setCurrency
(org.joda.money.CurrencyUnit currency) setLabelsToPrices
(Map<String, BigDecimal> labelsToPrices) Methods inherited from class google.registry.model.tld.label.BaseDomainLabelList.Builder
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
-
setCurrency
-
setLabelsToPrices
-
build
Description copied from class:Buildable.Builder
Build the instance.- Overrides:
build
in classBaseDomainLabelList.Builder<PremiumList,
PremiumList.Builder>
-