public final class DomainPurchaseConsent extends Object
| Constructor and Description |
|---|
DomainPurchaseConsent() |
| Modifier and Type | Method and Description |
|---|---|
OffsetDateTime |
agreedAt()
Get the agreedAt property: Timestamp when the agreements were accepted.
|
String |
agreedBy()
Get the agreedBy property: Client IP address.
|
List<String> |
agreementKeys()
Get the agreementKeys property: List of applicable legal agreement keys.
|
void |
validate()
Validates the instance.
|
DomainPurchaseConsent |
withAgreedAt(OffsetDateTime agreedAt)
Set the agreedAt property: Timestamp when the agreements were accepted.
|
DomainPurchaseConsent |
withAgreedBy(String agreedBy)
Set the agreedBy property: Client IP address.
|
DomainPurchaseConsent |
withAgreementKeys(List<String> agreementKeys)
Set the agreementKeys property: List of applicable legal agreement keys.
|
public List<String> agreementKeys()
public DomainPurchaseConsent withAgreementKeys(List<String> agreementKeys)
agreementKeys - the agreementKeys value to set.public String agreedBy()
public DomainPurchaseConsent withAgreedBy(String agreedBy)
agreedBy - the agreedBy value to set.public OffsetDateTime agreedAt()
public DomainPurchaseConsent withAgreedAt(OffsetDateTime agreedAt)
agreedAt - the agreedAt value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.