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 Details

    • FirewallPolicyTransportSecurity

      public FirewallPolicyTransportSecurity()
      Creates an instance of FirewallPolicyTransportSecurity class.
  • Method Details

    • certificateAuthority

      public FirewallPolicyCertificateAuthority 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.