com.microsoft.azure.management.network.ApplicationGatewaySslPolicy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-network Show documentation
Show all versions of azure-mgmt-network Show documentation
This package contains Microsoft Azure Network Management SDK.
/**
* 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.
*/
public class ApplicationGatewaySslPolicy {
/**
* Ssl protocols to be disabled on application gateway.
*/
@JsonProperty(value = "disabledSslProtocols")
private List disabledSslProtocols;
/**
* 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'.
*/
@JsonProperty(value = "policyName")
private ApplicationGatewaySslPolicyName policyName;
/**
* Ssl cipher suites to be enabled in the specified order to application
* gateway.
*/
@JsonProperty(value = "cipherSuites")
private List cipherSuites;
/**
* 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.
*
* @return the disabledSslProtocols value
*/
public List disabledSslProtocols() {
return this.disabledSslProtocols;
}
/**
* 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 disabledSslProtocols) {
this.disabledSslProtocols = disabledSslProtocols;
return this;
}
/**
* 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'.
*
* @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'.
*
* @return the policyName value
*/
public ApplicationGatewaySslPolicyName policyName() {
return this.policyName;
}
/**
* 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.
*
* @return the cipherSuites value
*/
public List cipherSuites() {
return this.cipherSuites;
}
/**
* 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 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'.
*
* @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'.
*
* @param minProtocolVersion the minProtocolVersion value to set
* @return the ApplicationGatewaySslPolicy object itself.
*/
public ApplicationGatewaySslPolicy withMinProtocolVersion(ApplicationGatewaySslProtocol minProtocolVersion) {
this.minProtocolVersion = minProtocolVersion;
return this;
}
}