ApplicationGatewaySslPredefinedPolicyInner Class

public final class ApplicationGatewaySslPredefinedPolicyInner
extends SubResource

An Ssl predefined policy.

Constructor Summary

Constructor Description
ApplicationGatewaySslPredefinedPolicyInner()

Creates an instance of ApplicationGatewaySslPredefinedPolicyInner class.

Method Summary

Modifier and Type Method and Description
List<ApplicationGatewaySslCipherSuite> cipherSuites()

Get the cipherSuites property: Ssl cipher suites to be enabled in the specified order for application gateway.

static ApplicationGatewaySslPredefinedPolicyInner fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewaySslPredefinedPolicyInner from the JsonReader.

ApplicationGatewaySslProtocol minProtocolVersion()

Get the minProtocolVersion property: Minimum version of Ssl protocol to be supported on application gateway.

String name()

Get the name property: Name of the Ssl predefined policy.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ApplicationGatewaySslPredefinedPolicyInner withCipherSuites(List<ApplicationGatewaySslCipherSuite> cipherSuites)

Set the cipherSuites property: Ssl cipher suites to be enabled in the specified order for application gateway.

ApplicationGatewaySslPredefinedPolicyInner withId(String id)
ApplicationGatewaySslPredefinedPolicyInner withMinProtocolVersion(ApplicationGatewaySslProtocol minProtocolVersion)

Set the minProtocolVersion property: Minimum version of Ssl protocol to be supported on application gateway.

ApplicationGatewaySslPredefinedPolicyInner withName(String name)

Set the name property: Name of the Ssl predefined policy.

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

ApplicationGatewaySslPredefinedPolicyInner

public ApplicationGatewaySslPredefinedPolicyInner()

Creates an instance of ApplicationGatewaySslPredefinedPolicyInner class.

Method Details

cipherSuites

public List cipherSuites()

Get the cipherSuites property: Ssl cipher suites to be enabled in the specified order for application gateway.

Returns:

the cipherSuites value.

fromJson

public static ApplicationGatewaySslPredefinedPolicyInner fromJson(JsonReader jsonReader)

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.

minProtocolVersion

public ApplicationGatewaySslProtocol minProtocolVersion()

Get the minProtocolVersion property: Minimum version of Ssl protocol to be supported on application gateway.

Returns:

the minProtocolVersion value.

name

public String name()

Get the name property: Name of the Ssl predefined policy.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ApplicationGatewaySslPredefinedPolicyInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCipherSuites

public ApplicationGatewaySslPredefinedPolicyInner withCipherSuites(List 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.

withId

public ApplicationGatewaySslPredefinedPolicyInner withId(String id)

Overrides:

ApplicationGatewaySslPredefinedPolicyInner.withId(String id)

Parameters:

id

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.

withName

public ApplicationGatewaySslPredefinedPolicyInner withName(String name)

Set the name property: Name of the Ssl predefined policy.

Parameters:

name - the name value to set.

Returns:

the ApplicationGatewaySslPredefinedPolicyInner object itself.

Applies to