Class ManagedCertificateProperties
java.lang.Object
com.azure.resourcemanager.appcontainers.models.ManagedCertificateProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ManagedCertificateProperties>
public final class ManagedCertificateProperties
extends Object
implements com.azure.json.JsonSerializable<ManagedCertificateProperties>
Certificate resource specific properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ManagedCertificateProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the domainControlValidation property: Selected type of domain control validation for managed certificates.error()
Get the error property: Any error occurred during the certificate provision.static ManagedCertificateProperties
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of ManagedCertificateProperties from the JsonReader.Get the provisioningState property: Provisioning state of the certificate.Get the subjectName property: Subject name of the certificate.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.Get the validationToken property: A TXT token used for DNS TXT domain control validation when issuing this type of managed certificates.withDomainControlValidation
(ManagedCertificateDomainControlValidation domainControlValidation) Set the domainControlValidation property: Selected type of domain control validation for managed certificates.withSubjectName
(String subjectName) Set the subjectName property: Subject name of the certificate.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
-
ManagedCertificateProperties
public ManagedCertificateProperties()Creates an instance of ManagedCertificateProperties class.
-
-
Method Details
-
provisioningState
Get the provisioningState property: Provisioning state of the certificate.- Returns:
- the provisioningState value.
-
subjectName
Get the subjectName property: Subject name of the certificate.- Returns:
- the subjectName value.
-
withSubjectName
Set the subjectName property: Subject name of the certificate.- Parameters:
subjectName
- the subjectName value to set.- Returns:
- the ManagedCertificateProperties object itself.
-
error
Get the error property: Any error occurred during the certificate provision.- Returns:
- the error value.
-
domainControlValidation
Get the domainControlValidation property: Selected type of domain control validation for managed certificates.- Returns:
- the domainControlValidation value.
-
withDomainControlValidation
public ManagedCertificateProperties withDomainControlValidation(ManagedCertificateDomainControlValidation domainControlValidation) Set the domainControlValidation property: Selected type of domain control validation for managed certificates.- Parameters:
domainControlValidation
- the domainControlValidation value to set.- Returns:
- the ManagedCertificateProperties object itself.
-
validationToken
Get the validationToken property: A TXT token used for DNS TXT domain control validation when issuing this type of managed certificates.- Returns:
- the validationToken value.
-
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<ManagedCertificateProperties>
- Throws:
IOException
-
fromJson
public static ManagedCertificateProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ManagedCertificateProperties from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of ManagedCertificateProperties 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 ManagedCertificateProperties.
-