Class TopLevelDomainAgreementOption


  • public final class TopLevelDomainAgreementOption
    extends Object
    Options for retrieving the list of top level domain legal agreements.
    • Constructor Detail

      • TopLevelDomainAgreementOption

        public TopLevelDomainAgreementOption()
    • Method Detail

      • includePrivacy

        public Boolean includePrivacy()
        Get the includePrivacy property: If <code>true</code>, then the list of agreements will include agreements for domain privacy as well; otherwise, <code>false</code>.
        Returns:
        the includePrivacy value.
      • withIncludePrivacy

        public TopLevelDomainAgreementOption withIncludePrivacy​(Boolean includePrivacy)
        Set the includePrivacy property: If <code>true</code>, then the list of agreements will include agreements for domain privacy as well; otherwise, <code>false</code>.
        Parameters:
        includePrivacy - the includePrivacy value to set.
        Returns:
        the TopLevelDomainAgreementOption object itself.
      • forTransfer

        public Boolean forTransfer()
        Get the forTransfer property: If <code>true</code>, then the list of agreements will include agreements for domain transfer as well; otherwise, <code>false</code>.
        Returns:
        the forTransfer value.
      • withForTransfer

        public TopLevelDomainAgreementOption withForTransfer​(Boolean forTransfer)
        Set the forTransfer property: If <code>true</code>, then the list of agreements will include agreements for domain transfer as well; otherwise, <code>false</code>.
        Parameters:
        forTransfer - the forTransfer value to set.
        Returns:
        the TopLevelDomainAgreementOption object itself.
      • validate

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