Class DomainPurchaseConsent
java.lang.Object
com.azure.resourcemanager.appservice.models.DomainPurchaseConsent
Domain purchase consent object, representing acceptance of applicable legal agreements.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionagreedAt()
Get the agreedAt property: Timestamp when the agreements were accepted.agreedBy()
Get the agreedBy property: Client IP address.Get the agreementKeys property: List of applicable legal agreement keys.void
validate()
Validates the instance.withAgreedAt
(OffsetDateTime agreedAt) Set the agreedAt property: Timestamp when the agreements were accepted.withAgreedBy
(String agreedBy) Set the agreedBy property: Client IP address.withAgreementKeys
(List<String> agreementKeys) Set the agreementKeys property: List of applicable legal agreement keys.
-
Constructor Details
-
DomainPurchaseConsent
public DomainPurchaseConsent()
-
-
Method Details
-
agreementKeys
Get the agreementKeys property: List of applicable legal agreement keys. This list can be retrieved using ListLegalAgreements API under <code>TopLevelDomain</code> resource.- Returns:
- the agreementKeys value.
-
withAgreementKeys
Set the agreementKeys property: List of applicable legal agreement keys. This list can be retrieved using ListLegalAgreements API under <code>TopLevelDomain</code> resource.- Parameters:
agreementKeys
- the agreementKeys value to set.- Returns:
- the DomainPurchaseConsent object itself.
-
agreedBy
Get the agreedBy property: Client IP address.- Returns:
- the agreedBy value.
-
withAgreedBy
Set the agreedBy property: Client IP address.- Parameters:
agreedBy
- the agreedBy value to set.- Returns:
- the DomainPurchaseConsent object itself.
-
agreedAt
Get the agreedAt property: Timestamp when the agreements were accepted.- Returns:
- the agreedAt value.
-
withAgreedAt
Set the agreedAt property: Timestamp when the agreements were accepted.- Parameters:
agreedAt
- the agreedAt value to set.- Returns:
- the DomainPurchaseConsent object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-