Class KeyVaultCertificateProperties
java.lang.Object
com.azure.resourcemanager.appplatform.models.CertificateProperties
com.azure.resourcemanager.appplatform.models.KeyVaultCertificateProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<CertificateProperties>
Properties of certificate imported from key vault.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of KeyVaultCertificateProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the activateDate property: The activate date of certificate.autoSync()Get the autoSync property: Indicates whether to automatically synchronize certificate from key vault or not.Get the certVersion property: The certificate version of key vault.dnsNames()Get the dnsNames property: The domain list of certificate.Get the excludePrivateKey property: Optional.Get the expirationDate property: The expiration date of certificate.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of KeyVaultCertificateProperties from the JsonReader.Get the issuedDate property: The issue date of certificate.issuer()Get the issuer property: The issuer of certificate.Get the keyVaultCertName property: The certificate name of key vault.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.vaultUri()Get the vaultUri property: The vault uri of user key vault.withAutoSync(KeyVaultCertificateAutoSync autoSync) Set the autoSync property: Indicates whether to automatically synchronize certificate from key vault or not.withCertVersion(String certVersion) Set the certVersion property: The certificate version of key vault.withExcludePrivateKey(Boolean excludePrivateKey) Set the excludePrivateKey property: Optional.withKeyVaultCertName(String keyVaultCertName) Set the keyVaultCertName property: The certificate name of key vault.withVaultUri(String vaultUri) Set the vaultUri property: The vault uri of user key vault.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
-
KeyVaultCertificateProperties
public KeyVaultCertificateProperties()Creates an instance of KeyVaultCertificateProperties class.
-
-
Method Details
-
type
Get the type property: The type of the certificate source.- Overrides:
typein classCertificateProperties- Returns:
- the type value.
-
vaultUri
Get the vaultUri property: The vault uri of user key vault.- Returns:
- the vaultUri value.
-
withVaultUri
Set the vaultUri property: The vault uri of user key vault.- Parameters:
vaultUri- the vaultUri value to set.- Returns:
- the KeyVaultCertificateProperties object itself.
-
keyVaultCertName
Get the keyVaultCertName property: The certificate name of key vault.- Returns:
- the keyVaultCertName value.
-
withKeyVaultCertName
Set the keyVaultCertName property: The certificate name of key vault.- Parameters:
keyVaultCertName- the keyVaultCertName value to set.- Returns:
- the KeyVaultCertificateProperties object itself.
-
certVersion
Get the certVersion property: The certificate version of key vault.- Returns:
- the certVersion value.
-
withCertVersion
Set the certVersion property: The certificate version of key vault.- Parameters:
certVersion- the certVersion value to set.- Returns:
- the KeyVaultCertificateProperties object itself.
-
excludePrivateKey
Get the excludePrivateKey property: Optional. If set to true, it will not import private key from key vault.- Returns:
- the excludePrivateKey value.
-
withExcludePrivateKey
Set the excludePrivateKey property: Optional. If set to true, it will not import private key from key vault.- Parameters:
excludePrivateKey- the excludePrivateKey value to set.- Returns:
- the KeyVaultCertificateProperties object itself.
-
autoSync
Get the autoSync property: Indicates whether to automatically synchronize certificate from key vault or not.- Returns:
- the autoSync value.
-
withAutoSync
Set the autoSync property: Indicates whether to automatically synchronize certificate from key vault or not.- Parameters:
autoSync- the autoSync value to set.- Returns:
- the KeyVaultCertificateProperties 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 KeyVaultCertificateProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of KeyVaultCertificateProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of KeyVaultCertificateProperties 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 KeyVaultCertificateProperties.
-