Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.network; import java.util.List; import com.fasterxml.jackson.annotation.JsonProperty;
Application Gateway Ssl policy.
/** * Application Gateway Ssl policy. */
public class ApplicationGatewaySslPolicy {
Ssl protocols to be disabled on application gateway.
/** * Ssl protocols to be disabled on application gateway. */
@JsonProperty(value = "disabledSslProtocols") private List<ApplicationGatewaySslProtocol> disabledSslProtocols;
Type of Ssl Policy. Possible values include: 'Predefined', 'Custom'.
/** * Type of Ssl Policy. Possible values include: 'Predefined', 'Custom'. */
@JsonProperty(value = "policyType") private ApplicationGatewaySslPolicyType policyType;
Name of Ssl predefined policy. Possible values include: 'AppGwSslPolicy20150501', 'AppGwSslPolicy20170401', 'AppGwSslPolicy20170401S'.
/** * Name of Ssl predefined policy. Possible values include: * 'AppGwSslPolicy20150501', 'AppGwSslPolicy20170401', * 'AppGwSslPolicy20170401S'. */
@JsonProperty(value = "policyName") private ApplicationGatewaySslPolicyName policyName;
Ssl cipher suites to be enabled in the specified order to application gateway.
/** * Ssl cipher suites to be enabled in the specified order to application * gateway. */
@JsonProperty(value = "cipherSuites") private List<ApplicationGatewaySslCipherSuite> cipherSuites;
Minimum version of Ssl protocol to be supported on application gateway. Possible values include: 'TLSv1_0', 'TLSv1_1', 'TLSv1_2'.
/** * Minimum version of Ssl protocol to be supported on application gateway. * Possible values include: 'TLSv1_0', 'TLSv1_1', 'TLSv1_2'. */
@JsonProperty(value = "minProtocolVersion") private ApplicationGatewaySslProtocol minProtocolVersion;
Get ssl protocols to be disabled on application gateway.
Returns:the disabledSslProtocols value
/** * Get ssl protocols to be disabled on application gateway. * * @return the disabledSslProtocols value */
public List<ApplicationGatewaySslProtocol> disabledSslProtocols() { return this.disabledSslProtocols; }
Set ssl protocols to be disabled on application gateway.
Params:
  • disabledSslProtocols – the disabledSslProtocols value to set
Returns:the ApplicationGatewaySslPolicy object itself.
/** * Set ssl protocols to be disabled on application gateway. * * @param disabledSslProtocols the disabledSslProtocols value to set * @return the ApplicationGatewaySslPolicy object itself. */
public ApplicationGatewaySslPolicy withDisabledSslProtocols(List<ApplicationGatewaySslProtocol> disabledSslProtocols) { this.disabledSslProtocols = disabledSslProtocols; return this; }
Get type of Ssl Policy. Possible values include: 'Predefined', 'Custom'.
Returns:the policyType value
/** * Get type of Ssl Policy. Possible values include: 'Predefined', 'Custom'. * * @return the policyType value */
public ApplicationGatewaySslPolicyType policyType() { return this.policyType; }
Set type of Ssl Policy. Possible values include: 'Predefined', 'Custom'.
Params:
  • policyType – the policyType value to set
Returns:the ApplicationGatewaySslPolicy object itself.
/** * Set type of Ssl Policy. Possible values include: 'Predefined', 'Custom'. * * @param policyType the policyType value to set * @return the ApplicationGatewaySslPolicy object itself. */
public ApplicationGatewaySslPolicy withPolicyType(ApplicationGatewaySslPolicyType policyType) { this.policyType = policyType; return this; }
Get name of Ssl predefined policy. Possible values include: 'AppGwSslPolicy20150501', 'AppGwSslPolicy20170401', 'AppGwSslPolicy20170401S'.
Returns:the policyName value
/** * Get name of Ssl predefined policy. Possible values include: 'AppGwSslPolicy20150501', 'AppGwSslPolicy20170401', 'AppGwSslPolicy20170401S'. * * @return the policyName value */
public ApplicationGatewaySslPolicyName policyName() { return this.policyName; }
Set name of Ssl predefined policy. Possible values include: 'AppGwSslPolicy20150501', 'AppGwSslPolicy20170401', 'AppGwSslPolicy20170401S'.
Params:
  • policyName – the policyName value to set
Returns:the ApplicationGatewaySslPolicy object itself.
/** * Set name of Ssl predefined policy. Possible values include: 'AppGwSslPolicy20150501', 'AppGwSslPolicy20170401', 'AppGwSslPolicy20170401S'. * * @param policyName the policyName value to set * @return the ApplicationGatewaySslPolicy object itself. */
public ApplicationGatewaySslPolicy withPolicyName(ApplicationGatewaySslPolicyName policyName) { this.policyName = policyName; return this; }
Get ssl cipher suites to be enabled in the specified order to application gateway.
Returns:the cipherSuites value
/** * Get ssl cipher suites to be enabled in the specified order to application gateway. * * @return the cipherSuites value */
public List<ApplicationGatewaySslCipherSuite> cipherSuites() { return this.cipherSuites; }
Set ssl cipher suites to be enabled in the specified order to application gateway.
Params:
  • cipherSuites – the cipherSuites value to set
Returns:the ApplicationGatewaySslPolicy object itself.
/** * Set ssl cipher suites to be enabled in the specified order to application gateway. * * @param cipherSuites the cipherSuites value to set * @return the ApplicationGatewaySslPolicy object itself. */
public ApplicationGatewaySslPolicy withCipherSuites(List<ApplicationGatewaySslCipherSuite> cipherSuites) { this.cipherSuites = cipherSuites; return this; }
Get minimum version of Ssl protocol to be supported on application gateway. Possible values include: 'TLSv1_0', 'TLSv1_1', 'TLSv1_2'.
Returns:the minProtocolVersion value
/** * Get minimum version of Ssl protocol to be supported on application gateway. Possible values include: 'TLSv1_0', 'TLSv1_1', 'TLSv1_2'. * * @return the minProtocolVersion value */
public ApplicationGatewaySslProtocol minProtocolVersion() { return this.minProtocolVersion; }
Set minimum version of Ssl protocol to be supported on application gateway. Possible values include: 'TLSv1_0', 'TLSv1_1', 'TLSv1_2'.
Params:
  • minProtocolVersion – the minProtocolVersion value to set
Returns:the ApplicationGatewaySslPolicy object itself.
/** * Set minimum version of Ssl protocol to be supported on application gateway. Possible values include: 'TLSv1_0', 'TLSv1_1', 'TLSv1_2'. * * @param minProtocolVersion the minProtocolVersion value to set * @return the ApplicationGatewaySslPolicy object itself. */
public ApplicationGatewaySslPolicy withMinProtocolVersion(ApplicationGatewaySslProtocol minProtocolVersion) { this.minProtocolVersion = minProtocolVersion; return this; } }