Class DomainPatchResourceProperties
java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.DomainPatchResourceProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<DomainPatchResourceProperties>
public final class DomainPatchResourceProperties
extends Object
implements com.azure.json.JsonSerializable<DomainPatchResourceProperties>
DomainPatchResource resource specific properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of DomainPatchResourceProperties class. -
Method Summary
Modifier and TypeMethodDescriptionauthCode()
Get the authCode property: The authCode property.Get the autoRenew property: <code>true</code> if the domain should be automatically renewed; otherwise, <code>false</code>.consent()
Get the consent property: Legal agreement consent.Get the contactAdmin property: Administrative contact.Get the contactBilling property: Billing contact.Get the contactRegistrant property: Registrant contact.Get the contactTech property: Technical contact.Get the createdTime property: Domain creation timestamp.dnsType()
Get the dnsType property: Current DNS type.Get the dnsZoneId property: Azure DNS Zone to use.Get the domainNotRenewableReasons property: Reasons why domain is not renewable.Get the expirationTime property: Domain expiration timestamp.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of DomainPatchResourceProperties from the JsonReader.Get the lastRenewedTime property: Timestamp when the domain was renewed last time.Get the managedHostNames property: All hostnames derived from the domain and assigned to Azure resources.Get the nameServers property: Name servers.privacy()
Get the privacy property: <code>true</code> if domain privacy is enabled for this domain; otherwise, <code>false</code>.Get the provisioningState property: Domain provisioning state.Get the readyForDnsRecordManagement property: <code>true</code> if Azure can assign this domain to App Service apps; otherwise, <code>false</code>.Get the registrationStatus property: Domain registration status.Get the targetDnsType property: Target DNS type (would be used for migration).com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withAuthCode
(String authCode) Set the authCode property: The authCode property.withAutoRenew
(Boolean autoRenew) Set the autoRenew property: <code>true</code> if the domain should be automatically renewed; otherwise, <code>false</code>.withConsent
(DomainPurchaseConsent consent) Set the consent property: Legal agreement consent.withContactAdmin
(Contact contactAdmin) Set the contactAdmin property: Administrative contact.withContactBilling
(Contact contactBilling) Set the contactBilling property: Billing contact.withContactRegistrant
(Contact contactRegistrant) Set the contactRegistrant property: Registrant contact.withContactTech
(Contact contactTech) Set the contactTech property: Technical contact.withDnsType
(DnsType dnsType) Set the dnsType property: Current DNS type.withDnsZoneId
(String dnsZoneId) Set the dnsZoneId property: Azure DNS Zone to use.withPrivacy
(Boolean privacy) Set the privacy property: <code>true</code> if domain privacy is enabled for this domain; otherwise, <code>false</code>.withTargetDnsType
(DnsType targetDnsType) Set the targetDnsType property: Target DNS type (would be used for migration).Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
DomainPatchResourceProperties
public DomainPatchResourceProperties()Creates an instance of DomainPatchResourceProperties class.
-
-
Method Details
-
contactAdmin
Get the contactAdmin property: Administrative contact.- Returns:
- the contactAdmin value.
-
withContactAdmin
Set the contactAdmin property: Administrative contact.- Parameters:
contactAdmin
- the contactAdmin value to set.- Returns:
- the DomainPatchResourceProperties object itself.
-
contactBilling
Get the contactBilling property: Billing contact.- Returns:
- the contactBilling value.
-
withContactBilling
Set the contactBilling property: Billing contact.- Parameters:
contactBilling
- the contactBilling value to set.- Returns:
- the DomainPatchResourceProperties object itself.
-
contactRegistrant
Get the contactRegistrant property: Registrant contact.- Returns:
- the contactRegistrant value.
-
withContactRegistrant
Set the contactRegistrant property: Registrant contact.- Parameters:
contactRegistrant
- the contactRegistrant value to set.- Returns:
- the DomainPatchResourceProperties object itself.
-
contactTech
Get the contactTech property: Technical contact.- Returns:
- the contactTech value.
-
withContactTech
Set the contactTech property: Technical contact.- Parameters:
contactTech
- the contactTech value to set.- Returns:
- the DomainPatchResourceProperties object itself.
-
registrationStatus
Get the registrationStatus property: Domain registration status.- Returns:
- the registrationStatus value.
-
provisioningState
Get the provisioningState property: Domain provisioning state.- Returns:
- the provisioningState value.
-
nameServers
Get the nameServers property: Name servers.- Returns:
- the nameServers value.
-
privacy
Get the privacy property: <code>true</code> if domain privacy is enabled for this domain; otherwise, <code>false</code>.- Returns:
- the privacy value.
-
withPrivacy
Set the privacy property: <code>true</code> if domain privacy is enabled for this domain; otherwise, <code>false</code>.- Parameters:
privacy
- the privacy value to set.- Returns:
- the DomainPatchResourceProperties object itself.
-
createdTime
Get the createdTime property: Domain creation timestamp.- Returns:
- the createdTime value.
-
expirationTime
Get the expirationTime property: Domain expiration timestamp.- Returns:
- the expirationTime value.
-
lastRenewedTime
Get the lastRenewedTime property: Timestamp when the domain was renewed last time.- Returns:
- the lastRenewedTime value.
-
autoRenew
Get the autoRenew property: <code>true</code> if the domain should be automatically renewed; otherwise, <code>false</code>.- Returns:
- the autoRenew value.
-
withAutoRenew
Set the autoRenew property: <code>true</code> if the domain should be automatically renewed; otherwise, <code>false</code>.- Parameters:
autoRenew
- the autoRenew value to set.- Returns:
- the DomainPatchResourceProperties object itself.
-
readyForDnsRecordManagement
Get the readyForDnsRecordManagement property: <code>true</code> if Azure can assign this domain to App Service apps; otherwise, <code>false</code>. This value will be <code>true</code> if domain registration status is active and it is hosted on name servers Azure has programmatic access to.- Returns:
- the readyForDnsRecordManagement value.
-
managedHostNames
Get the managedHostNames property: All hostnames derived from the domain and assigned to Azure resources.- Returns:
- the managedHostNames value.
-
consent
Get the consent property: Legal agreement consent.- Returns:
- the consent value.
-
withConsent
Set the consent property: Legal agreement consent.- Parameters:
consent
- the consent value to set.- Returns:
- the DomainPatchResourceProperties object itself.
-
domainNotRenewableReasons
Get the domainNotRenewableReasons property: Reasons why domain is not renewable.- Returns:
- the domainNotRenewableReasons value.
-
dnsType
Get the dnsType property: Current DNS type.- Returns:
- the dnsType value.
-
withDnsType
Set the dnsType property: Current DNS type.- Parameters:
dnsType
- the dnsType value to set.- Returns:
- the DomainPatchResourceProperties object itself.
-
dnsZoneId
Get the dnsZoneId property: Azure DNS Zone to use.- Returns:
- the dnsZoneId value.
-
withDnsZoneId
Set the dnsZoneId property: Azure DNS Zone to use.- Parameters:
dnsZoneId
- the dnsZoneId value to set.- Returns:
- the DomainPatchResourceProperties object itself.
-
targetDnsType
Get the targetDnsType property: Target DNS type (would be used for migration).- Returns:
- the targetDnsType value.
-
withTargetDnsType
Set the targetDnsType property: Target DNS type (would be used for migration).- Parameters:
targetDnsType
- the targetDnsType value to set.- Returns:
- the DomainPatchResourceProperties object itself.
-
authCode
Get the authCode property: The authCode property.- Returns:
- the authCode value.
-
withAuthCode
Set the authCode property: The authCode property.- Parameters:
authCode
- the authCode value to set.- Returns:
- the DomainPatchResourceProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<DomainPatchResourceProperties>
- Throws:
IOException
-
fromJson
public static DomainPatchResourceProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of DomainPatchResourceProperties from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of DomainPatchResourceProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException
- If the deserialized JSON object was missing any required properties.IOException
- If an error occurs while reading the DomainPatchResourceProperties.
-