Class DomainContent.Builder<T extends DomainContent,​B extends DomainContent.Builder<T,​B>>

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • setDomainName

        public B setDomainName​(java.lang.String domainName)
      • setDsData

        public B setDsData​(com.google.common.collect.ImmutableSet<DelegationSignerData> dsData)
      • setNameservers

        public B setNameservers​(com.google.common.collect.ImmutableSet<VKey<HostResource>> nameservers)
      • addNameservers

        public B addNameservers​(com.google.common.collect.ImmutableSet<VKey<HostResource>> nameservers)
      • removeNameservers

        public B removeNameservers​(com.google.common.collect.ImmutableSet<VKey<HostResource>> nameservers)
      • setContacts

        public B setContacts​(com.google.common.collect.ImmutableSet<DesignatedContact> contacts)
      • addContacts

        public B addContacts​(com.google.common.collect.ImmutableSet<DesignatedContact> contacts)
      • removeContacts

        public B removeContacts​(com.google.common.collect.ImmutableSet<DesignatedContact> contacts)
      • setLaunchNotice

        public B setLaunchNotice​(LaunchNotice launchNotice)
      • setIdnTableName

        public B setIdnTableName​(java.lang.String idnTableName)
      • setSubordinateHosts

        public B setSubordinateHosts​(com.google.common.collect.ImmutableSet<java.lang.String> subordinateHosts)
      • addSubordinateHost

        public B addSubordinateHost​(java.lang.String hostToAdd)
      • removeSubordinateHost

        public B removeSubordinateHost​(java.lang.String hostToRemove)
      • setRegistrationExpirationTime

        public B setRegistrationExpirationTime​(org.joda.time.DateTime registrationExpirationTime)
      • setSmdId

        public B setSmdId​(java.lang.String smdId)
      • setGracePeriods

        public B setGracePeriods​(com.google.common.collect.ImmutableSet<GracePeriod> gracePeriods)
      • addGracePeriod

        public B addGracePeriod​(GracePeriod gracePeriod)
      • removeGracePeriod

        public B removeGracePeriod​(GracePeriod gracePeriod)
      • setAutorenewEndTime

        public B setAutorenewEndTime​(java.util.Optional<org.joda.time.DateTime> autorenewEndTime)
        Sets the autorenew end time, or clears it if empty is passed.

        Note that DateTimeUtils.END_OF_TIME is used as a sentinel value in the database representation to signify that autorenew doesn't end, and is mapped to empty here for the purposes of more legible business logic.