Class CertificateProperties
java.lang.Object
com.azure.resourcemanager.appplatform.models.CertificateProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<CertificateProperties>
- Direct Known Subclasses:
ContentCertificateProperties,KeyVaultCertificateProperties
public class CertificateProperties
extends Object
implements com.azure.json.JsonSerializable<CertificateProperties>
Certificate resource payload.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the activateDate property: The activate date of certificate.dnsNames()Get the dnsNames property: The domain list of certificate.Get the expirationDate property: The expiration date of certificate.static CertificatePropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of CertificateProperties from the JsonReader.Get the issuedDate property: The issue date of certificate.issuer()Get the issuer property: The issuer of certificate.Get the provisioningState property: Provisioning state of the Certificate.Get the subjectName property: The subject name of certificate.Get the thumbprint property: The thumbprint of certificate.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: The type of the certificate source.voidvalidate()Validates the instance.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
-
CertificateProperties
public CertificateProperties()Creates an instance of CertificateProperties class.
-
-
Method Details
-
type
Get the type property: The type of the certificate source.- Returns:
- the type value.
-
thumbprint
Get the thumbprint property: The thumbprint of certificate.- Returns:
- the thumbprint value.
-
issuer
Get the issuer property: The issuer of certificate.- Returns:
- the issuer value.
-
issuedDate
Get the issuedDate property: The issue date of certificate.- Returns:
- the issuedDate value.
-
expirationDate
Get the expirationDate property: The expiration date of certificate.- Returns:
- the expirationDate value.
-
activateDate
Get the activateDate property: The activate date of certificate.- Returns:
- the activateDate value.
-
subjectName
Get the subjectName property: The subject name of certificate.- Returns:
- the subjectName value.
-
dnsNames
Get the dnsNames property: The domain list of certificate.- Returns:
- the dnsNames value.
-
provisioningState
Get the provisioningState property: Provisioning state of the Certificate.- Returns:
- the provisioningState 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<CertificateProperties>- Throws:
IOException
-
fromJson
public static CertificateProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of CertificateProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of CertificateProperties 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 CertificateProperties.
-