Class TopLevelDomainAgreementOption
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.TopLevelDomainAgreementOption
-
public final class TopLevelDomainAgreementOption extends Object
Options for retrieving the list of top level domain legal agreements.
-
-
Constructor Summary
Constructors Constructor Description TopLevelDomainAgreementOption()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanforTransfer()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>.BooleanincludePrivacy()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.TopLevelDomainAgreementOptionwithForTransfer(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>.TopLevelDomainAgreementOptionwithIncludePrivacy(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>.
-
-
-
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.
-
-