DomainPurchaseConsent Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. DomainPurchaseConsent
- com.
Implements
public final class DomainPurchaseConsent
implements JsonSerializable<DomainPurchaseConsent>
Domain purchase consent object, representing acceptance of applicable legal agreements.
Constructor Summary
Constructor | Description |
---|---|
DomainPurchaseConsent() |
Creates an instance of Domain |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
agreedAt()
Get the agreed |
String |
agreedBy()
Get the agreed |
List<String> |
agreementKeys()
Get the agreement |
static
Domain |
fromJson(JsonReader jsonReader)
Reads an instance of Domain |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Domain |
withAgreedAt(OffsetDateTime agreedAt)
Set the agreed |
Domain |
withAgreedBy(String agreedBy)
Set the agreed |
Domain |
withAgreementKeys(List<String> agreementKeys)
Set the agreement |
Methods inherited from java.lang.Object
Constructor Details
DomainPurchaseConsent
public DomainPurchaseConsent()
Creates an instance of DomainPurchaseConsent class.
Method Details
agreedAt
public OffsetDateTime agreedAt()
Get the agreedAt property: Timestamp when the agreements were accepted.
Returns:
agreedBy
public String agreedBy()
Get the agreedBy property: Client IP address.
Returns:
agreementKeys
public List
Get the agreementKeys property: List of applicable legal agreement keys. This list can be retrieved using ListLegalAgreements API under TopLevelDomain
resource.
Returns:
fromJson
public static DomainPurchaseConsent fromJson(JsonReader jsonReader)
Reads an instance of DomainPurchaseConsent from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withAgreedAt
public DomainPurchaseConsent withAgreedAt(OffsetDateTime agreedAt)
Set the agreedAt property: Timestamp when the agreements were accepted.
Parameters:
Returns:
withAgreedBy
public DomainPurchaseConsent withAgreedBy(String agreedBy)
Set the agreedBy property: Client IP address.
Parameters:
Returns:
withAgreementKeys
public DomainPurchaseConsent withAgreementKeys(List
Set the agreementKeys property: List of applicable legal agreement keys. This list can be retrieved using ListLegalAgreements API under TopLevelDomain
resource.
Parameters:
Returns:
Applies to
Azure SDK for Java