Class ApplicationGatewaySslPolicy

java.lang.Object
com.azure.resourcemanager.network.models.ApplicationGatewaySslPolicy
All Implemented Interfaces:
com.azure.json.JsonSerializable<ApplicationGatewaySslPolicy>

public final class ApplicationGatewaySslPolicy extends Object implements com.azure.json.JsonSerializable<ApplicationGatewaySslPolicy>
Application Gateway Ssl policy.
  • Constructor Details

    • ApplicationGatewaySslPolicy

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

    • disabledSslProtocols

      public List<ApplicationGatewaySslProtocol> disabledSslProtocols()
      Get the disabledSslProtocols property: Ssl protocols to be disabled on application gateway.
      Returns:
      the disabledSslProtocols value.
    • withDisabledSslProtocols

      public ApplicationGatewaySslPolicy withDisabledSslProtocols(List<ApplicationGatewaySslProtocol> disabledSslProtocols)
      Set the disabledSslProtocols property: Ssl protocols to be disabled on application gateway.
      Parameters:
      disabledSslProtocols - the disabledSslProtocols value to set.
      Returns:
      the ApplicationGatewaySslPolicy object itself.
    • policyType

      public ApplicationGatewaySslPolicyType policyType()
      Get the policyType property: Type of Ssl Policy.
      Returns:
      the policyType value.
    • withPolicyType

      Set the policyType property: Type of Ssl Policy.
      Parameters:
      policyType - the policyType value to set.
      Returns:
      the ApplicationGatewaySslPolicy object itself.
    • policyName

      public ApplicationGatewaySslPolicyName policyName()
      Get the policyName property: Name of Ssl predefined policy.
      Returns:
      the policyName value.
    • withPolicyName

      Set the policyName property: Name of Ssl predefined policy.
      Parameters:
      policyName - the policyName value to set.
      Returns:
      the ApplicationGatewaySslPolicy object itself.
    • cipherSuites

      public List<ApplicationGatewaySslCipherSuite> cipherSuites()
      Get the cipherSuites property: Ssl cipher suites to be enabled in the specified order to application gateway.
      Returns:
      the cipherSuites value.
    • withCipherSuites

      public ApplicationGatewaySslPolicy withCipherSuites(List<ApplicationGatewaySslCipherSuite> cipherSuites)
      Set the cipherSuites property: Ssl cipher suites to be enabled in the specified order to application gateway.
      Parameters:
      cipherSuites - the cipherSuites value to set.
      Returns:
      the ApplicationGatewaySslPolicy object itself.
    • minProtocolVersion

      public ApplicationGatewaySslProtocol minProtocolVersion()
      Get the minProtocolVersion property: Minimum version of Ssl protocol to be supported on application gateway.
      Returns:
      the minProtocolVersion value.
    • withMinProtocolVersion

      public ApplicationGatewaySslPolicy withMinProtocolVersion(ApplicationGatewaySslProtocol minProtocolVersion)
      Set the minProtocolVersion property: Minimum version of Ssl protocol to be supported on application gateway.
      Parameters:
      minProtocolVersion - the minProtocolVersion value to set.
      Returns:
      the ApplicationGatewaySslPolicy 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<ApplicationGatewaySslPolicy>
      Throws:
      IOException
    • fromJson

      public static ApplicationGatewaySslPolicy fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ApplicationGatewaySslPolicy from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ApplicationGatewaySslPolicy 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 ApplicationGatewaySslPolicy.