Class ContentCertificateProperties
java.lang.Object
com.azure.resourcemanager.appplatform.models.CertificateProperties
com.azure.resourcemanager.appplatform.models.ContentCertificateProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<CertificateProperties>
Properties of certificate imported from key vault.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ContentCertificateProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the activateDate property: The activate date of certificate.content()Get the content property: The content of uploaded certificate.dnsNames()Get the dnsNames property: The domain list of certificate.Get the expirationDate property: The expiration date of certificate.static ContentCertificatePropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ContentCertificateProperties 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.withContent(String content) Set the content property: The content of uploaded certificate.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
-
ContentCertificateProperties
public ContentCertificateProperties()Creates an instance of ContentCertificateProperties class.
-
-
Method Details
-
type
Get the type property: The type of the certificate source.- Overrides:
typein classCertificateProperties- Returns:
- the type value.
-
content
Get the content property: The content of uploaded certificate.- Returns:
- the content value.
-
withContent
Set the content property: The content of uploaded certificate.- Parameters:
content- the content value to set.- Returns:
- the ContentCertificateProperties object itself.
-
thumbprint
Get the thumbprint property: The thumbprint of certificate.- Overrides:
thumbprintin classCertificateProperties- Returns:
- the thumbprint value.
-
issuer
Get the issuer property: The issuer of certificate.- Overrides:
issuerin classCertificateProperties- Returns:
- the issuer value.
-
issuedDate
Get the issuedDate property: The issue date of certificate.- Overrides:
issuedDatein classCertificateProperties- Returns:
- the issuedDate value.
-
expirationDate
Get the expirationDate property: The expiration date of certificate.- Overrides:
expirationDatein classCertificateProperties- Returns:
- the expirationDate value.
-
activateDate
Get the activateDate property: The activate date of certificate.- Overrides:
activateDatein classCertificateProperties- Returns:
- the activateDate value.
-
subjectName
Get the subjectName property: The subject name of certificate.- Overrides:
subjectNamein classCertificateProperties- Returns:
- the subjectName value.
-
dnsNames
Get the dnsNames property: The domain list of certificate.- Overrides:
dnsNamesin classCertificateProperties- Returns:
- the dnsNames value.
-
provisioningState
Get the provisioningState property: Provisioning state of the Certificate.- Overrides:
provisioningStatein classCertificateProperties- Returns:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classCertificateProperties- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<CertificateProperties>- Overrides:
toJsonin classCertificateProperties- Throws:
IOException
-
fromJson
public static ContentCertificateProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ContentCertificateProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ContentCertificateProperties 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 ContentCertificateProperties.
-