Class TopLevelDomainAgreementOption
java.lang.Object
com.azure.resourcemanager.appservice.models.TopLevelDomainAgreementOption
Options for retrieving the list of top level domain legal agreements.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of TopLevelDomainAgreementOption class. -
Method Summary
Modifier and TypeMethodDescriptionGet the forTransfer property: If <code>true</code>, then the list of agreements will include agreements for domain transfer as well; otherwise, <code>false</code>.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>.voidvalidate()Validates the instance.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>.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>.
-
Constructor Details
-
TopLevelDomainAgreementOption
public TopLevelDomainAgreementOption()Creates an instance of TopLevelDomainAgreementOption class.
-
-
Method Details
-
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
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
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
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.
-