All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.appmesh.outputs.VirtualNodeSpecBackendDefaultsClientPolicyTlsValidationTrust Maven / Gradle / Ivy

// *** 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.VirtualNodeSpecBackendDefaultsClientPolicyTlsValidationTrustAcm;
import com.pulumi.aws.appmesh.outputs.VirtualNodeSpecBackendDefaultsClientPolicyTlsValidationTrustFile;
import com.pulumi.aws.appmesh.outputs.VirtualNodeSpecBackendDefaultsClientPolicyTlsValidationTrustSds;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class VirtualNodeSpecBackendDefaultsClientPolicyTlsValidationTrust {
    /**
     * @return TLS validation context trust for an AWS Certificate Manager (ACM) certificate.
     * 
     */
    private @Nullable VirtualNodeSpecBackendDefaultsClientPolicyTlsValidationTrustAcm acm;
    /**
     * @return TLS validation context trust for a local file certificate.
     * 
     */
    private @Nullable VirtualNodeSpecBackendDefaultsClientPolicyTlsValidationTrustFile file;
    /**
     * @return TLS validation context trust for a [Secret Discovery Service](https://www.envoyproxy.io/docs/envoy/latest/configuration/security/secret#secret-discovery-service-sds) certificate.
     * 
     */
    private @Nullable VirtualNodeSpecBackendDefaultsClientPolicyTlsValidationTrustSds sds;

    private VirtualNodeSpecBackendDefaultsClientPolicyTlsValidationTrust() {}
    /**
     * @return TLS validation context trust for an AWS Certificate Manager (ACM) certificate.
     * 
     */
    public Optional acm() {
        return Optional.ofNullable(this.acm);
    }
    /**
     * @return TLS validation context trust for a local file certificate.
     * 
     */
    public Optional file() {
        return Optional.ofNullable(this.file);
    }
    /**
     * @return TLS validation context trust for a [Secret Discovery Service](https://www.envoyproxy.io/docs/envoy/latest/configuration/security/secret#secret-discovery-service-sds) certificate.
     * 
     */
    public Optional sds() {
        return Optional.ofNullable(this.sds);
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(VirtualNodeSpecBackendDefaultsClientPolicyTlsValidationTrust defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable VirtualNodeSpecBackendDefaultsClientPolicyTlsValidationTrustAcm acm;
        private @Nullable VirtualNodeSpecBackendDefaultsClientPolicyTlsValidationTrustFile file;
        private @Nullable VirtualNodeSpecBackendDefaultsClientPolicyTlsValidationTrustSds sds;
        public Builder() {}
        public Builder(VirtualNodeSpecBackendDefaultsClientPolicyTlsValidationTrust defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.acm = defaults.acm;
    	      this.file = defaults.file;
    	      this.sds = defaults.sds;
        }

        @CustomType.Setter
        public Builder acm(@Nullable VirtualNodeSpecBackendDefaultsClientPolicyTlsValidationTrustAcm acm) {

            this.acm = acm;
            return this;
        }
        @CustomType.Setter
        public Builder file(@Nullable VirtualNodeSpecBackendDefaultsClientPolicyTlsValidationTrustFile file) {

            this.file = file;
            return this;
        }
        @CustomType.Setter
        public Builder sds(@Nullable VirtualNodeSpecBackendDefaultsClientPolicyTlsValidationTrustSds sds) {

            this.sds = sds;
            return this;
        }
        public VirtualNodeSpecBackendDefaultsClientPolicyTlsValidationTrust build() {
            final var _resultValue = new VirtualNodeSpecBackendDefaultsClientPolicyTlsValidationTrust();
            _resultValue.acm = acm;
            _resultValue.file = file;
            _resultValue.sds = sds;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy