Class ApplicationGatewaySslPredefinedPolicyInner

java.lang.Object
com.azure.core.management.SubResource
com.azure.resourcemanager.network.fluent.models.ApplicationGatewaySslPredefinedPolicyInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.SubResource>

public final class ApplicationGatewaySslPredefinedPolicyInner extends com.azure.core.management.SubResource
An Ssl predefined policy.
  • Constructor Details

    • ApplicationGatewaySslPredefinedPolicyInner

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

    • name

      public String name()
      Get the name property: Name of the Ssl predefined policy.
      Returns:
      the name value.
    • withName

      Set the name property: Name of the Ssl predefined policy.
      Parameters:
      name - the name value to set.
      Returns:
      the ApplicationGatewaySslPredefinedPolicyInner object itself.
    • withId

      Overrides:
      withId in class com.azure.core.management.SubResource
    • cipherSuites

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

      Set the cipherSuites property: Ssl cipher suites to be enabled in the specified order for application gateway.
      Parameters:
      cipherSuites - the cipherSuites value to set.
      Returns:
      the ApplicationGatewaySslPredefinedPolicyInner 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 ApplicationGatewaySslPredefinedPolicyInner 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 ApplicationGatewaySslPredefinedPolicyInner 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<com.azure.core.management.SubResource>
      Overrides:
      toJson in class com.azure.core.management.SubResource
      Throws:
      IOException
    • fromJson

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