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