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 Summary
ConstructorsConstructorDescriptionCreates an instance of ApplicationGatewaySslPolicy class. -
Method Summary
Modifier and TypeMethodDescriptionGet the cipherSuites property: Ssl cipher suites to be enabled in the specified order to application gateway.Get the disabledSslProtocols property: Ssl protocols to be disabled on application gateway.static ApplicationGatewaySslPolicyfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ApplicationGatewaySslPolicy from the JsonReader.Get the minProtocolVersion property: Minimum version of Ssl protocol to be supported on application gateway.Get the policyName property: Name of Ssl predefined policy.Get the policyType property: Type of Ssl Policy.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withCipherSuites(List<ApplicationGatewaySslCipherSuite> cipherSuites) Set the cipherSuites property: Ssl cipher suites to be enabled in the specified order to application gateway.withDisabledSslProtocols(List<ApplicationGatewaySslProtocol> disabledSslProtocols) Set the disabledSslProtocols property: Ssl protocols to be disabled on application gateway.withMinProtocolVersion(ApplicationGatewaySslProtocol minProtocolVersion) Set the minProtocolVersion property: Minimum version of Ssl protocol to be supported on application gateway.withPolicyName(ApplicationGatewaySslPolicyName policyName) Set the policyName property: Name of Ssl predefined policy.withPolicyType(ApplicationGatewaySslPolicyType policyType) Set the policyType property: Type of Ssl Policy.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
-
ApplicationGatewaySslPolicy
public ApplicationGatewaySslPolicy()Creates an instance of ApplicationGatewaySslPolicy class.
-
-
Method Details
-
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
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
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
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
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
- Specified by:
toJsonin interfacecom.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.
-