com.pulumi.aws.appmesh.outputs.VirtualNodeSpecBackendDefaultsClientPolicyTlsValidation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud 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.aws.appmesh.outputs;
import com.pulumi.aws.appmesh.outputs.VirtualNodeSpecBackendDefaultsClientPolicyTlsValidationSubjectAlternativeNames;
import com.pulumi.aws.appmesh.outputs.VirtualNodeSpecBackendDefaultsClientPolicyTlsValidationTrust;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class VirtualNodeSpecBackendDefaultsClientPolicyTlsValidation {
/**
* @return SANs for a TLS validation context.
*
*/
private @Nullable VirtualNodeSpecBackendDefaultsClientPolicyTlsValidationSubjectAlternativeNames subjectAlternativeNames;
/**
* @return TLS validation context trust.
*
*/
private VirtualNodeSpecBackendDefaultsClientPolicyTlsValidationTrust trust;
private VirtualNodeSpecBackendDefaultsClientPolicyTlsValidation() {}
/**
* @return SANs for a TLS validation context.
*
*/
public Optional subjectAlternativeNames() {
return Optional.ofNullable(this.subjectAlternativeNames);
}
/**
* @return TLS validation context trust.
*
*/
public VirtualNodeSpecBackendDefaultsClientPolicyTlsValidationTrust trust() {
return this.trust;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(VirtualNodeSpecBackendDefaultsClientPolicyTlsValidation defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable VirtualNodeSpecBackendDefaultsClientPolicyTlsValidationSubjectAlternativeNames subjectAlternativeNames;
private VirtualNodeSpecBackendDefaultsClientPolicyTlsValidationTrust trust;
public Builder() {}
public Builder(VirtualNodeSpecBackendDefaultsClientPolicyTlsValidation defaults) {
Objects.requireNonNull(defaults);
this.subjectAlternativeNames = defaults.subjectAlternativeNames;
this.trust = defaults.trust;
}
@CustomType.Setter
public Builder subjectAlternativeNames(@Nullable VirtualNodeSpecBackendDefaultsClientPolicyTlsValidationSubjectAlternativeNames subjectAlternativeNames) {
this.subjectAlternativeNames = subjectAlternativeNames;
return this;
}
@CustomType.Setter
public Builder trust(VirtualNodeSpecBackendDefaultsClientPolicyTlsValidationTrust trust) {
if (trust == null) {
throw new MissingRequiredPropertyException("VirtualNodeSpecBackendDefaultsClientPolicyTlsValidation", "trust");
}
this.trust = trust;
return this;
}
public VirtualNodeSpecBackendDefaultsClientPolicyTlsValidation build() {
final var _resultValue = new VirtualNodeSpecBackendDefaultsClientPolicyTlsValidation();
_resultValue.subjectAlternativeNames = subjectAlternativeNames;
_resultValue.trust = trust;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy