Partager via


ApplicationGatewaySslPolicy Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.ApplicationGatewaySslPolicy

Implements

public final class ApplicationGatewaySslPolicy
implements JsonSerializable<ApplicationGatewaySslPolicy>

Application Gateway Ssl policy.

Constructor Summary

Constructor Description
ApplicationGatewaySslPolicy()

Creates an instance of ApplicationGatewaySslPolicy 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 to application gateway.

List<ApplicationGatewaySslProtocol> disabledSslProtocols()

Get the disabledSslProtocols property: Ssl protocols to be disabled on application gateway.

static ApplicationGatewaySslPolicy fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewaySslPolicy from the JsonReader.

ApplicationGatewaySslProtocol minProtocolVersion()

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

ApplicationGatewaySslPolicyName policyName()

Get the policyName property: Name of Ssl predefined policy.

ApplicationGatewaySslPolicyType policyType()

Get the policyType property: Type of Ssl Policy.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ApplicationGatewaySslPolicy withCipherSuites(List<ApplicationGatewaySslCipherSuite> cipherSuites)

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

ApplicationGatewaySslPolicy withDisabledSslProtocols(List<ApplicationGatewaySslProtocol> disabledSslProtocols)

Set the disabledSslProtocols property: Ssl protocols to be disabled on application gateway.

ApplicationGatewaySslPolicy withMinProtocolVersion(ApplicationGatewaySslProtocol minProtocolVersion)

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

ApplicationGatewaySslPolicy withPolicyName(ApplicationGatewaySslPolicyName policyName)

Set the policyName property: Name of Ssl predefined policy.

ApplicationGatewaySslPolicy withPolicyType(ApplicationGatewaySslPolicyType policyType)

Set the policyType property: Type of Ssl Policy.

Methods inherited from java.lang.Object

Constructor Details

ApplicationGatewaySslPolicy

public ApplicationGatewaySslPolicy()

Creates an instance of ApplicationGatewaySslPolicy class.

Method Details

cipherSuites

public List cipherSuites()

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

Returns:

the cipherSuites value.

disabledSslProtocols

public List disabledSslProtocols()

Get the disabledSslProtocols property: Ssl protocols to be disabled on application gateway.

Returns:

the disabledSslProtocols value.

fromJson

public static ApplicationGatewaySslPolicy fromJson(JsonReader jsonReader)

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.

minProtocolVersion

public ApplicationGatewaySslProtocol minProtocolVersion()

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

Returns:

the minProtocolVersion value.

policyName

public ApplicationGatewaySslPolicyName policyName()

Get the policyName property: Name of Ssl predefined policy.

Returns:

the policyName value.

policyType

public ApplicationGatewaySslPolicyType policyType()

Get the policyType property: Type of Ssl Policy.

Returns:

the policyType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCipherSuites

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

withDisabledSslProtocols

public ApplicationGatewaySslPolicy withDisabledSslProtocols(List 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.

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.

withPolicyName

public ApplicationGatewaySslPolicy withPolicyName(ApplicationGatewaySslPolicyName policyName)

Set the policyName property: Name of Ssl predefined policy.

Parameters:

policyName - the policyName value to set.

Returns:

the ApplicationGatewaySslPolicy object itself.

withPolicyType

public ApplicationGatewaySslPolicy withPolicyType(ApplicationGatewaySslPolicyType policyType)

Set the policyType property: Type of Ssl Policy.

Parameters:

policyType - the policyType value to set.

Returns:

the ApplicationGatewaySslPolicy object itself.

Applies to