Class FirewallPolicyTransportSecurity
java.lang.Object
com.azure.resourcemanager.network.models.FirewallPolicyTransportSecurity
- All Implemented Interfaces:
com.azure.json.JsonSerializable<FirewallPolicyTransportSecurity>
public final class FirewallPolicyTransportSecurity
extends Object
implements com.azure.json.JsonSerializable<FirewallPolicyTransportSecurity>
Configuration needed to perform TLS termination & initiation.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of FirewallPolicyTransportSecurity class. -
Method Summary
Modifier and TypeMethodDescriptionGet the certificateAuthority property: The CA used for intermediate CA generation.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of FirewallPolicyTransportSecurity from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withCertificateAuthority(FirewallPolicyCertificateAuthority certificateAuthority) Set the certificateAuthority property: The CA used for intermediate CA generation.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
-
FirewallPolicyTransportSecurity
public FirewallPolicyTransportSecurity()Creates an instance of FirewallPolicyTransportSecurity class.
-
-
Method Details
-
certificateAuthority
Get the certificateAuthority property: The CA used for intermediate CA generation.- Returns:
- the certificateAuthority value.
-
withCertificateAuthority
public FirewallPolicyTransportSecurity withCertificateAuthority(FirewallPolicyCertificateAuthority certificateAuthority) Set the certificateAuthority property: The CA used for intermediate CA generation.- Parameters:
certificateAuthority- the certificateAuthority value to set.- Returns:
- the FirewallPolicyTransportSecurity 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<FirewallPolicyTransportSecurity>- Throws:
IOException
-
fromJson
public static FirewallPolicyTransportSecurity fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of FirewallPolicyTransportSecurity from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of FirewallPolicyTransportSecurity 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 FirewallPolicyTransportSecurity.
-