
com.pulumi.azurenative.network.outputs.ApplicationGatewaySslPolicyResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.network.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ApplicationGatewaySslPolicyResponse {
/**
* @return Ssl cipher suites to be enabled in the specified order to application gateway.
*
*/
private @Nullable List cipherSuites;
/**
* @return Ssl protocols to be disabled on application gateway.
*
*/
private @Nullable List disabledSslProtocols;
/**
* @return Minimum version of Ssl protocol to be supported on application gateway.
*
*/
private @Nullable String minProtocolVersion;
/**
* @return Name of Ssl predefined policy.
*
*/
private @Nullable String policyName;
/**
* @return Type of Ssl Policy.
*
*/
private @Nullable String policyType;
private ApplicationGatewaySslPolicyResponse() {}
/**
* @return Ssl cipher suites to be enabled in the specified order to application gateway.
*
*/
public List cipherSuites() {
return this.cipherSuites == null ? List.of() : this.cipherSuites;
}
/**
* @return Ssl protocols to be disabled on application gateway.
*
*/
public List disabledSslProtocols() {
return this.disabledSslProtocols == null ? List.of() : this.disabledSslProtocols;
}
/**
* @return Minimum version of Ssl protocol to be supported on application gateway.
*
*/
public Optional minProtocolVersion() {
return Optional.ofNullable(this.minProtocolVersion);
}
/**
* @return Name of Ssl predefined policy.
*
*/
public Optional policyName() {
return Optional.ofNullable(this.policyName);
}
/**
* @return Type of Ssl Policy.
*
*/
public Optional policyType() {
return Optional.ofNullable(this.policyType);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ApplicationGatewaySslPolicyResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List cipherSuites;
private @Nullable List disabledSslProtocols;
private @Nullable String minProtocolVersion;
private @Nullable String policyName;
private @Nullable String policyType;
public Builder() {}
public Builder(ApplicationGatewaySslPolicyResponse defaults) {
Objects.requireNonNull(defaults);
this.cipherSuites = defaults.cipherSuites;
this.disabledSslProtocols = defaults.disabledSslProtocols;
this.minProtocolVersion = defaults.minProtocolVersion;
this.policyName = defaults.policyName;
this.policyType = defaults.policyType;
}
@CustomType.Setter
public Builder cipherSuites(@Nullable List cipherSuites) {
this.cipherSuites = cipherSuites;
return this;
}
public Builder cipherSuites(String... cipherSuites) {
return cipherSuites(List.of(cipherSuites));
}
@CustomType.Setter
public Builder disabledSslProtocols(@Nullable List disabledSslProtocols) {
this.disabledSslProtocols = disabledSslProtocols;
return this;
}
public Builder disabledSslProtocols(String... disabledSslProtocols) {
return disabledSslProtocols(List.of(disabledSslProtocols));
}
@CustomType.Setter
public Builder minProtocolVersion(@Nullable String minProtocolVersion) {
this.minProtocolVersion = minProtocolVersion;
return this;
}
@CustomType.Setter
public Builder policyName(@Nullable String policyName) {
this.policyName = policyName;
return this;
}
@CustomType.Setter
public Builder policyType(@Nullable String policyType) {
this.policyType = policyType;
return this;
}
public ApplicationGatewaySslPolicyResponse build() {
final var _resultValue = new ApplicationGatewaySslPolicyResponse();
_resultValue.cipherSuites = cipherSuites;
_resultValue.disabledSslProtocols = disabledSslProtocols;
_resultValue.minProtocolVersion = minProtocolVersion;
_resultValue.policyName = policyName;
_resultValue.policyType = policyType;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy