Class DomainPurchaseConsent
java.lang.Object
com.microsoft.azure.management.appservice.DomainPurchaseConsent
Domain purchase consent object, representing acceptance of applicable legal
agreements.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.joda.time.DateTimeagreedAt()Get timestamp when the agreements were accepted.agreedBy()Get client IP address.Get list of applicable legal agreement keys.withAgreedAt(org.joda.time.DateTime agreedAt) Set timestamp when the agreements were accepted.withAgreedBy(String agreedBy) Set client IP address.withAgreementKeys(List<String> agreementKeys) Set list of applicable legal agreement keys.
-
Constructor Details
-
DomainPurchaseConsent
public DomainPurchaseConsent()
-
-
Method Details
-
agreementKeys
Get 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 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 client IP address.- Returns:
- the agreedBy value
-
withAgreedBy
Set client IP address.- Parameters:
agreedBy- the agreedBy value to set- Returns:
- the DomainPurchaseConsent object itself.
-
agreedAt
public org.joda.time.DateTime agreedAt()Get timestamp when the agreements were accepted.- Returns:
- the agreedAt value
-
withAgreedAt
Set timestamp when the agreements were accepted.- Parameters:
agreedAt- the agreedAt value to set- Returns:
- the DomainPurchaseConsent object itself.
-