Class IstioPluginCertificateAuthority
java.lang.Object
com.azure.resourcemanager.containerservice.models.IstioPluginCertificateAuthority
- All Implemented Interfaces:
com.azure.json.JsonSerializable<IstioPluginCertificateAuthority>
public final class IstioPluginCertificateAuthority
extends Object
implements com.azure.json.JsonSerializable<IstioPluginCertificateAuthority>
Plugin certificates information for Service Mesh.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of IstioPluginCertificateAuthority class. -
Method Summary
Modifier and TypeMethodDescriptionGet the certChainObjectName property: Certificate chain object name in Azure Key Vault.Get the certObjectName property: Intermediate certificate object name in Azure Key Vault.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of IstioPluginCertificateAuthority from the JsonReader.Get the keyObjectName property: Intermediate certificate private key object name in Azure Key Vault.Get the keyVaultId property: The resource ID of the Key Vault.Get the rootCertObjectName property: Root certificate object name in Azure Key Vault.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withCertChainObjectName(String certChainObjectName) Set the certChainObjectName property: Certificate chain object name in Azure Key Vault.withCertObjectName(String certObjectName) Set the certObjectName property: Intermediate certificate object name in Azure Key Vault.withKeyObjectName(String keyObjectName) Set the keyObjectName property: Intermediate certificate private key object name in Azure Key Vault.withKeyVaultId(String keyVaultId) Set the keyVaultId property: The resource ID of the Key Vault.withRootCertObjectName(String rootCertObjectName) Set the rootCertObjectName property: Root certificate object name in Azure 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
-
IstioPluginCertificateAuthority
public IstioPluginCertificateAuthority()Creates an instance of IstioPluginCertificateAuthority class.
-
-
Method Details
-
keyVaultId
Get the keyVaultId property: The resource ID of the Key Vault.- Returns:
- the keyVaultId value.
-
withKeyVaultId
Set the keyVaultId property: The resource ID of the Key Vault.- Parameters:
keyVaultId- the keyVaultId value to set.- Returns:
- the IstioPluginCertificateAuthority object itself.
-
certObjectName
Get the certObjectName property: Intermediate certificate object name in Azure Key Vault.- Returns:
- the certObjectName value.
-
withCertObjectName
Set the certObjectName property: Intermediate certificate object name in Azure Key Vault.- Parameters:
certObjectName- the certObjectName value to set.- Returns:
- the IstioPluginCertificateAuthority object itself.
-
keyObjectName
Get the keyObjectName property: Intermediate certificate private key object name in Azure Key Vault.- Returns:
- the keyObjectName value.
-
withKeyObjectName
Set the keyObjectName property: Intermediate certificate private key object name in Azure Key Vault.- Parameters:
keyObjectName- the keyObjectName value to set.- Returns:
- the IstioPluginCertificateAuthority object itself.
-
rootCertObjectName
Get the rootCertObjectName property: Root certificate object name in Azure Key Vault.- Returns:
- the rootCertObjectName value.
-
withRootCertObjectName
Set the rootCertObjectName property: Root certificate object name in Azure Key Vault.- Parameters:
rootCertObjectName- the rootCertObjectName value to set.- Returns:
- the IstioPluginCertificateAuthority object itself.
-
certChainObjectName
Get the certChainObjectName property: Certificate chain object name in Azure Key Vault.- Returns:
- the certChainObjectName value.
-
withCertChainObjectName
Set the certChainObjectName property: Certificate chain object name in Azure Key Vault.- Parameters:
certChainObjectName- the certChainObjectName value to set.- Returns:
- the IstioPluginCertificateAuthority object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<IstioPluginCertificateAuthority>- Throws:
IOException
-
fromJson
public static IstioPluginCertificateAuthority fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of IstioPluginCertificateAuthority from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of IstioPluginCertificateAuthority 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 IstioPluginCertificateAuthority.
-