Class TopLevelDomainProperties


  • public final class TopLevelDomainProperties
    extends Object
    TopLevelDomain resource specific properties.
    • Constructor Detail

      • TopLevelDomainProperties

        public TopLevelDomainProperties()
    • Method Detail

      • privacy

        public Boolean privacy()
        Get the privacy property: If <code>true</code>, then the top level domain supports domain privacy; otherwise, <code>false</code>.
        Returns:
        the privacy value.
      • withPrivacy

        public TopLevelDomainProperties withPrivacy​(Boolean privacy)
        Set the privacy property: If <code>true</code>, then the top level domain supports domain privacy; otherwise, <code>false</code>.
        Parameters:
        privacy - the privacy value to set.
        Returns:
        the TopLevelDomainProperties object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.