com.pulumi.azurenative.network.outputs.ApplicationGatewaySslProfileResponse 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.azurenative.network.outputs.ApplicationGatewayClientAuthConfigurationResponse;
import com.pulumi.azurenative.network.outputs.ApplicationGatewaySslPolicyResponse;
import com.pulumi.azurenative.network.outputs.SubResourceResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ApplicationGatewaySslProfileResponse {
/**
* @return Client authentication configuration of the application gateway resource.
*
*/
private @Nullable ApplicationGatewayClientAuthConfigurationResponse clientAuthConfiguration;
/**
* @return A unique read-only string that changes whenever the resource is updated.
*
*/
private String etag;
/**
* @return Resource ID.
*
*/
private @Nullable String id;
/**
* @return Name of the SSL profile that is unique within an Application Gateway.
*
*/
private @Nullable String name;
/**
* @return The provisioning state of the HTTP listener resource.
*
*/
private String provisioningState;
/**
* @return SSL policy of the application gateway resource.
*
*/
private @Nullable ApplicationGatewaySslPolicyResponse sslPolicy;
/**
* @return Array of references to application gateway trusted client certificates.
*
*/
private @Nullable List trustedClientCertificates;
/**
* @return Type of the resource.
*
*/
private String type;
private ApplicationGatewaySslProfileResponse() {}
/**
* @return Client authentication configuration of the application gateway resource.
*
*/
public Optional clientAuthConfiguration() {
return Optional.ofNullable(this.clientAuthConfiguration);
}
/**
* @return A unique read-only string that changes whenever the resource is updated.
*
*/
public String etag() {
return this.etag;
}
/**
* @return Resource ID.
*
*/
public Optional id() {
return Optional.ofNullable(this.id);
}
/**
* @return Name of the SSL profile that is unique within an Application Gateway.
*
*/
public Optional name() {
return Optional.ofNullable(this.name);
}
/**
* @return The provisioning state of the HTTP listener resource.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return SSL policy of the application gateway resource.
*
*/
public Optional sslPolicy() {
return Optional.ofNullable(this.sslPolicy);
}
/**
* @return Array of references to application gateway trusted client certificates.
*
*/
public List trustedClientCertificates() {
return this.trustedClientCertificates == null ? List.of() : this.trustedClientCertificates;
}
/**
* @return Type of the resource.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ApplicationGatewaySslProfileResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable ApplicationGatewayClientAuthConfigurationResponse clientAuthConfiguration;
private String etag;
private @Nullable String id;
private @Nullable String name;
private String provisioningState;
private @Nullable ApplicationGatewaySslPolicyResponse sslPolicy;
private @Nullable List trustedClientCertificates;
private String type;
public Builder() {}
public Builder(ApplicationGatewaySslProfileResponse defaults) {
Objects.requireNonNull(defaults);
this.clientAuthConfiguration = defaults.clientAuthConfiguration;
this.etag = defaults.etag;
this.id = defaults.id;
this.name = defaults.name;
this.provisioningState = defaults.provisioningState;
this.sslPolicy = defaults.sslPolicy;
this.trustedClientCertificates = defaults.trustedClientCertificates;
this.type = defaults.type;
}
@CustomType.Setter
public Builder clientAuthConfiguration(@Nullable ApplicationGatewayClientAuthConfigurationResponse clientAuthConfiguration) {
this.clientAuthConfiguration = clientAuthConfiguration;
return this;
}
@CustomType.Setter
public Builder etag(String etag) {
if (etag == null) {
throw new MissingRequiredPropertyException("ApplicationGatewaySslProfileResponse", "etag");
}
this.etag = etag;
return this;
}
@CustomType.Setter
public Builder id(@Nullable String id) {
this.id = id;
return this;
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("ApplicationGatewaySslProfileResponse", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder sslPolicy(@Nullable ApplicationGatewaySslPolicyResponse sslPolicy) {
this.sslPolicy = sslPolicy;
return this;
}
@CustomType.Setter
public Builder trustedClientCertificates(@Nullable List trustedClientCertificates) {
this.trustedClientCertificates = trustedClientCertificates;
return this;
}
public Builder trustedClientCertificates(SubResourceResponse... trustedClientCertificates) {
return trustedClientCertificates(List.of(trustedClientCertificates));
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("ApplicationGatewaySslProfileResponse", "type");
}
this.type = type;
return this;
}
public ApplicationGatewaySslProfileResponse build() {
final var _resultValue = new ApplicationGatewaySslProfileResponse();
_resultValue.clientAuthConfiguration = clientAuthConfiguration;
_resultValue.etag = etag;
_resultValue.id = id;
_resultValue.name = name;
_resultValue.provisioningState = provisioningState;
_resultValue.sslPolicy = sslPolicy;
_resultValue.trustedClientCertificates = trustedClientCertificates;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy