Class Registry.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • setInvoicingEnabled

        public Registry.Builder setInvoicingEnabled​(boolean invoicingEnabled)
      • setTldStateTransitions

        public Registry.Builder setTldStateTransitions​(com.google.common.collect.ImmutableSortedMap<org.joda.time.DateTime,​Registry.TldState> tldStatesMap)
        Sets the TLD state to transition to the specified states at the specified times.
      • setEscrowEnabled

        public Registry.Builder setEscrowEnabled​(boolean enabled)
      • setDriveFolderId

        public Registry.Builder setDriveFolderId​(java.lang.String driveFolderId)
      • setPremiumPricingEngine

        public Registry.Builder setPremiumPricingEngine​(java.lang.String pricingEngineClass)
      • setDnsWriters

        public Registry.Builder setDnsWriters​(com.google.common.collect.ImmutableSet<java.lang.String> dnsWriters)
      • setNumDnsPublishLocks

        public Registry.Builder setNumDnsPublishLocks​(int numDnsPublishLocks)
      • setAddGracePeriodLength

        public Registry.Builder setAddGracePeriodLength​(org.joda.time.Duration addGracePeriodLength)
      • setAutoRenewGracePeriodLength

        public Registry.Builder setAutoRenewGracePeriodLength​(org.joda.time.Duration autoRenewGracePeriodLength)
        Warning! Changing this will affect the billing time of autorenew events in the past.
      • setRedemptionGracePeriodLength

        public Registry.Builder setRedemptionGracePeriodLength​(org.joda.time.Duration redemptionGracePeriodLength)
      • setRenewGracePeriodLength

        public Registry.Builder setRenewGracePeriodLength​(org.joda.time.Duration renewGracePeriodLength)
      • setTransferGracePeriodLength

        public Registry.Builder setTransferGracePeriodLength​(org.joda.time.Duration transferGracePeriodLength)
      • setAutomaticTransferLength

        public Registry.Builder setAutomaticTransferLength​(org.joda.time.Duration automaticTransferLength)
      • setPendingDeleteLength

        public Registry.Builder setPendingDeleteLength​(org.joda.time.Duration pendingDeleteLength)
      • setCurrency

        public Registry.Builder setCurrency​(org.joda.money.CurrencyUnit currency)
      • setCreateBillingCost

        public Registry.Builder setCreateBillingCost​(org.joda.money.Money amount)
      • setReservedListsByName

        public Registry.Builder setReservedListsByName​(java.util.Set<java.lang.String> reservedListNames)
      • setRestoreBillingCost

        public Registry.Builder setRestoreBillingCost​(org.joda.money.Money amount)
      • setRenewBillingCostTransitions

        public Registry.Builder setRenewBillingCostTransitions​(com.google.common.collect.ImmutableSortedMap<org.joda.time.DateTime,​org.joda.money.Money> renewCostsMap)
        Sets the renew billing cost to transition to the specified values at the specified times.

        Renew billing costs transitions should only be added at least 5 days (the length of an automatic transfer) in advance, to avoid discrepancies between the cost stored with the billing event (created when the transfer is requested) and the cost at the time when the transfer actually occurs (5 days later).

      • setEapFeeSchedule

        public Registry.Builder setEapFeeSchedule​(com.google.common.collect.ImmutableSortedMap<org.joda.time.DateTime,​org.joda.money.Money> eapFeeSchedule)
        Sets the EAP fee schedule for the TLD.
      • setRoidSuffix

        public Registry.Builder setRoidSuffix​(java.lang.String roidSuffix)
      • setServerStatusChangeBillingCost

        public Registry.Builder setServerStatusChangeBillingCost​(org.joda.money.Money amount)
      • setRegistryLockOrUnlockBillingCost

        public Registry.Builder setRegistryLockOrUnlockBillingCost​(org.joda.money.Money amount)
      • setLordnUsername

        public Registry.Builder setLordnUsername​(java.lang.String username)
      • setClaimsPeriodEnd

        public Registry.Builder setClaimsPeriodEnd​(org.joda.time.DateTime claimsPeriodEnd)
      • setAllowedRegistrantContactIds

        public Registry.Builder setAllowedRegistrantContactIds​(com.google.common.collect.ImmutableSet<java.lang.String> allowedRegistrantContactIds)
      • setAllowedFullyQualifiedHostNames

        public Registry.Builder setAllowedFullyQualifiedHostNames​(com.google.common.collect.ImmutableSet<java.lang.String> allowedFullyQualifiedHostNames)