com.microsoft.azure.management.network.implementation.ApplicationGatewaySslPredefinedPolicyInner 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. This package has been deprecated. A replacement package com.azure.resourcemanager:azure-resourcemanager-network is available as of 31-March-2022. We strongly encourage you to upgrade to continue receiving updates. See Migration Guide https://aka.ms/java-track2-migration-guide for guidance on upgrading. Refer to our deprecation policy https://azure.github.io/azure-sdk/policies_support.html for more details.
/**
* 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.implementation;
import java.util.List;
import com.microsoft.azure.management.network.ApplicationGatewaySslCipherSuite;
import com.microsoft.azure.management.network.ApplicationGatewaySslProtocol;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.azure.SubResource;
/**
* An Ssl predefined policy.
*/
@JsonFlatten
public class ApplicationGatewaySslPredefinedPolicyInner extends SubResource {
/**
* Name of the Ssl predefined policy.
*/
@JsonProperty(value = "name")
private String name;
/**
* Ssl cipher suites to be enabled in the specified order for application
* gateway.
*/
@JsonProperty(value = "properties.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 = "properties.minProtocolVersion")
private ApplicationGatewaySslProtocol minProtocolVersion;
/**
* Get the name value.
*
* @return the name value
*/
public String name() {
return this.name;
}
/**
* Set the name value.
*
* @param name the name value to set
* @return the ApplicationGatewaySslPredefinedPolicyInner object itself.
*/
public ApplicationGatewaySslPredefinedPolicyInner withName(String name) {
this.name = name;
return this;
}
/**
* Get the cipherSuites value.
*
* @return the cipherSuites value
*/
public List cipherSuites() {
return this.cipherSuites;
}
/**
* Set the cipherSuites value.
*
* @param cipherSuites the cipherSuites value to set
* @return the ApplicationGatewaySslPredefinedPolicyInner object itself.
*/
public ApplicationGatewaySslPredefinedPolicyInner withCipherSuites(List cipherSuites) {
this.cipherSuites = cipherSuites;
return this;
}
/**
* Get the minProtocolVersion value.
*
* @return the minProtocolVersion value
*/
public ApplicationGatewaySslProtocol minProtocolVersion() {
return this.minProtocolVersion;
}
/**
* Set the minProtocolVersion value.
*
* @param minProtocolVersion the minProtocolVersion value to set
* @return the ApplicationGatewaySslPredefinedPolicyInner object itself.
*/
public ApplicationGatewaySslPredefinedPolicyInner withMinProtocolVersion(ApplicationGatewaySslProtocol minProtocolVersion) {
this.minProtocolVersion = minProtocolVersion;
return this;
}
}