Class CustomDomainConfiguration
java.lang.Object
com.azure.resourcemanager.appcontainers.models.CustomDomainConfiguration
- All Implemented Interfaces:
com.azure.json.JsonSerializable<CustomDomainConfiguration>
public final class CustomDomainConfiguration
extends Object
implements com.azure.json.JsonSerializable<CustomDomainConfiguration>
Configuration properties for apps environment custom domain.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of CustomDomainConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptionGet the certificateKeyVaultProperties property: Certificate stored in Azure Key Vault.Get the certificatePassword property: Certificate password.byte[]Get the certificateValue property: PFX or PEM blob.Get the customDomainVerificationId property: Id used to verify domain name ownership.Get the dnsSuffix property: Dns suffix for the environment domain.Get the expirationDate property: Certificate expiration date.static CustomDomainConfigurationfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of CustomDomainConfiguration from the JsonReader.Get the subjectName property: Subject name of the certificate.Get the thumbprint property: Certificate thumbprint.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withCertificateKeyVaultProperties(CertificateKeyVaultProperties certificateKeyVaultProperties) Set the certificateKeyVaultProperties property: Certificate stored in Azure Key Vault.withCertificatePassword(String certificatePassword) Set the certificatePassword property: Certificate password.withCertificateValue(byte[] certificateValue) Set the certificateValue property: PFX or PEM blob.withDnsSuffix(String dnsSuffix) Set the dnsSuffix property: Dns suffix for the environment domain.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
CustomDomainConfiguration
public CustomDomainConfiguration()Creates an instance of CustomDomainConfiguration class.
-
-
Method Details
-
customDomainVerificationId
Get the customDomainVerificationId property: Id used to verify domain name ownership.- Returns:
- the customDomainVerificationId value.
-
dnsSuffix
Get the dnsSuffix property: Dns suffix for the environment domain.- Returns:
- the dnsSuffix value.
-
withDnsSuffix
Set the dnsSuffix property: Dns suffix for the environment domain.- Parameters:
dnsSuffix- the dnsSuffix value to set.- Returns:
- the CustomDomainConfiguration object itself.
-
certificateKeyVaultProperties
Get the certificateKeyVaultProperties property: Certificate stored in Azure Key Vault.- Returns:
- the certificateKeyVaultProperties value.
-
withCertificateKeyVaultProperties
public CustomDomainConfiguration withCertificateKeyVaultProperties(CertificateKeyVaultProperties certificateKeyVaultProperties) Set the certificateKeyVaultProperties property: Certificate stored in Azure Key Vault.- Parameters:
certificateKeyVaultProperties- the certificateKeyVaultProperties value to set.- Returns:
- the CustomDomainConfiguration object itself.
-
certificateValue
public byte[] certificateValue()Get the certificateValue property: PFX or PEM blob.- Returns:
- the certificateValue value.
-
withCertificateValue
Set the certificateValue property: PFX or PEM blob.- Parameters:
certificateValue- the certificateValue value to set.- Returns:
- the CustomDomainConfiguration object itself.
-
certificatePassword
Get the certificatePassword property: Certificate password.- Returns:
- the certificatePassword value.
-
withCertificatePassword
Set the certificatePassword property: Certificate password.- Parameters:
certificatePassword- the certificatePassword value to set.- Returns:
- the CustomDomainConfiguration object itself.
-
expirationDate
Get the expirationDate property: Certificate expiration date.- Returns:
- the expirationDate value.
-
thumbprint
Get the thumbprint property: Certificate thumbprint.- Returns:
- the thumbprint value.
-
subjectName
Get the subjectName property: Subject name of the certificate.- Returns:
- the subjectName value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<CustomDomainConfiguration>- Throws:
IOException
-
fromJson
public static CustomDomainConfiguration fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of CustomDomainConfiguration from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of CustomDomainConfiguration if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the CustomDomainConfiguration.
-