Class ApplicationGatewaySslPredefinedPolicyPropertiesFormat
java.lang.Object
com.azure.resourcemanager.network.fluent.models.ApplicationGatewaySslPredefinedPolicyPropertiesFormat
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ApplicationGatewaySslPredefinedPolicyPropertiesFormat>
public final class ApplicationGatewaySslPredefinedPolicyPropertiesFormat
extends Object
implements com.azure.json.JsonSerializable<ApplicationGatewaySslPredefinedPolicyPropertiesFormat>
Properties of ApplicationGatewaySslPredefinedPolicy.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ApplicationGatewaySslPredefinedPolicyPropertiesFormat class. -
Method Summary
Modifier and TypeMethodDescriptionGet the cipherSuites property: Ssl cipher suites to be enabled in the specified order for application gateway.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ApplicationGatewaySslPredefinedPolicyPropertiesFormat from the JsonReader.Get the minProtocolVersion property: Minimum version of Ssl protocol to be supported on application gateway.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 for application gateway.withMinProtocolVersion(ApplicationGatewaySslProtocol minProtocolVersion) Set the minProtocolVersion property: Minimum version of Ssl protocol to be supported on application gateway.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
-
ApplicationGatewaySslPredefinedPolicyPropertiesFormat
public ApplicationGatewaySslPredefinedPolicyPropertiesFormat()Creates an instance of ApplicationGatewaySslPredefinedPolicyPropertiesFormat class.
-
-
Method Details
-
cipherSuites
Get the cipherSuites property: Ssl cipher suites to be enabled in the specified order for application gateway.- Returns:
- the cipherSuites value.
-
withCipherSuites
public ApplicationGatewaySslPredefinedPolicyPropertiesFormat withCipherSuites(List<ApplicationGatewaySslCipherSuite> cipherSuites) 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 ApplicationGatewaySslPredefinedPolicyPropertiesFormat object itself.
-
minProtocolVersion
Get the minProtocolVersion property: Minimum version of Ssl protocol to be supported on application gateway.- Returns:
- the minProtocolVersion value.
-
withMinProtocolVersion
public ApplicationGatewaySslPredefinedPolicyPropertiesFormat 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 ApplicationGatewaySslPredefinedPolicyPropertiesFormat 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<ApplicationGatewaySslPredefinedPolicyPropertiesFormat>- Throws:
IOException
-
fromJson
public static ApplicationGatewaySslPredefinedPolicyPropertiesFormat fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ApplicationGatewaySslPredefinedPolicyPropertiesFormat from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ApplicationGatewaySslPredefinedPolicyPropertiesFormat 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 ApplicationGatewaySslPredefinedPolicyPropertiesFormat.
-