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 Summary
ConstructorsConstructorDescriptionCreates an instance of ApplicationGatewaySslPredefinedPolicyInner 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 ApplicationGatewaySslPredefinedPolicyInner from the JsonReader.Get the minProtocolVersion property: Minimum version of Ssl protocol to be supported on application gateway.name()Get the name property: Name of the Ssl predefined 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 for application gateway.withMinProtocolVersion(ApplicationGatewaySslProtocol minProtocolVersion) Set the minProtocolVersion property: Minimum version of Ssl protocol to be supported on application gateway.Set the name property: Name of the Ssl predefined policy.Methods inherited from class com.azure.core.management.SubResource
idMethods 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
-
ApplicationGatewaySslPredefinedPolicyInner
public ApplicationGatewaySslPredefinedPolicyInner()Creates an instance of ApplicationGatewaySslPredefinedPolicyInner class.
-
-
Method Details
-
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:
withIdin classcom.azure.core.management.SubResource
-
cipherSuites
Get the cipherSuites property: Ssl cipher suites to be enabled in the specified order for application gateway.- Returns:
- the cipherSuites value.
-
withCipherSuites
public ApplicationGatewaySslPredefinedPolicyInner 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 ApplicationGatewaySslPredefinedPolicyInner object itself.
-
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
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<com.azure.core.management.SubResource>- Overrides:
toJsonin classcom.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.
-