Class FirewallPolicyCertificateAuthority
java.lang.Object
com.azure.resourcemanager.network.models.FirewallPolicyCertificateAuthority
- All Implemented Interfaces:
com.azure.json.JsonSerializable<FirewallPolicyCertificateAuthority>
public final class FirewallPolicyCertificateAuthority
extends Object
implements com.azure.json.JsonSerializable<FirewallPolicyCertificateAuthority>
Trusted Root certificates properties for tls.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of FirewallPolicyCertificateAuthority class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of FirewallPolicyCertificateAuthority from the JsonReader.Get the keyVaultSecretId property: Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault.name()Get the name property: Name of the CA certificate.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withKeyVaultSecretId(String keyVaultSecretId) Set the keyVaultSecretId property: Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault.Set the name property: Name of the CA 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
-
FirewallPolicyCertificateAuthority
public FirewallPolicyCertificateAuthority()Creates an instance of FirewallPolicyCertificateAuthority class.
-
-
Method Details
-
keyVaultSecretId
Get the keyVaultSecretId property: Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault.- Returns:
- the keyVaultSecretId value.
-
withKeyVaultSecretId
Set the keyVaultSecretId property: Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault.- Parameters:
keyVaultSecretId- the keyVaultSecretId value to set.- Returns:
- the FirewallPolicyCertificateAuthority object itself.
-
name
Get the name property: Name of the CA certificate.- Returns:
- the name value.
-
withName
Set the name property: Name of the CA certificate.- Parameters:
name- the name value to set.- Returns:
- the FirewallPolicyCertificateAuthority 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<FirewallPolicyCertificateAuthority>- Throws:
IOException
-
fromJson
public static FirewallPolicyCertificateAuthority fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of FirewallPolicyCertificateAuthority from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of FirewallPolicyCertificateAuthority 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 FirewallPolicyCertificateAuthority.
-