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

com.pulumi.aws.appmesh.inputs.VirtualGatewaySpecBackendDefaultsClientPolicyTlsValidationArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
Show newest version
// *** 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.inputs;

import com.pulumi.aws.appmesh.inputs.VirtualGatewaySpecBackendDefaultsClientPolicyTlsValidationSubjectAlternativeNamesArgs;
import com.pulumi.aws.appmesh.inputs.VirtualGatewaySpecBackendDefaultsClientPolicyTlsValidationTrustArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class VirtualGatewaySpecBackendDefaultsClientPolicyTlsValidationArgs extends com.pulumi.resources.ResourceArgs {

    public static final VirtualGatewaySpecBackendDefaultsClientPolicyTlsValidationArgs Empty = new VirtualGatewaySpecBackendDefaultsClientPolicyTlsValidationArgs();

    /**
     * SANs for a virtual gateway's listener's Transport Layer Security (TLS) validation context.
     * 
     */
    @Import(name="subjectAlternativeNames")
    private @Nullable Output subjectAlternativeNames;

    /**
     * @return SANs for a virtual gateway's listener's Transport Layer Security (TLS) validation context.
     * 
     */
    public Optional> subjectAlternativeNames() {
        return Optional.ofNullable(this.subjectAlternativeNames);
    }

    /**
     * TLS validation context trust.
     * 
     */
    @Import(name="trust", required=true)
    private Output trust;

    /**
     * @return TLS validation context trust.
     * 
     */
    public Output trust() {
        return this.trust;
    }

    private VirtualGatewaySpecBackendDefaultsClientPolicyTlsValidationArgs() {}

    private VirtualGatewaySpecBackendDefaultsClientPolicyTlsValidationArgs(VirtualGatewaySpecBackendDefaultsClientPolicyTlsValidationArgs $) {
        this.subjectAlternativeNames = $.subjectAlternativeNames;
        this.trust = $.trust;
    }

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

    public static final class Builder {
        private VirtualGatewaySpecBackendDefaultsClientPolicyTlsValidationArgs $;

        public Builder() {
            $ = new VirtualGatewaySpecBackendDefaultsClientPolicyTlsValidationArgs();
        }

        public Builder(VirtualGatewaySpecBackendDefaultsClientPolicyTlsValidationArgs defaults) {
            $ = new VirtualGatewaySpecBackendDefaultsClientPolicyTlsValidationArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param subjectAlternativeNames SANs for a virtual gateway's listener's Transport Layer Security (TLS) validation context.
         * 
         * @return builder
         * 
         */
        public Builder subjectAlternativeNames(@Nullable Output subjectAlternativeNames) {
            $.subjectAlternativeNames = subjectAlternativeNames;
            return this;
        }

        /**
         * @param subjectAlternativeNames SANs for a virtual gateway's listener's Transport Layer Security (TLS) validation context.
         * 
         * @return builder
         * 
         */
        public Builder subjectAlternativeNames(VirtualGatewaySpecBackendDefaultsClientPolicyTlsValidationSubjectAlternativeNamesArgs subjectAlternativeNames) {
            return subjectAlternativeNames(Output.of(subjectAlternativeNames));
        }

        /**
         * @param trust TLS validation context trust.
         * 
         * @return builder
         * 
         */
        public Builder trust(Output trust) {
            $.trust = trust;
            return this;
        }

        /**
         * @param trust TLS validation context trust.
         * 
         * @return builder
         * 
         */
        public Builder trust(VirtualGatewaySpecBackendDefaultsClientPolicyTlsValidationTrustArgs trust) {
            return trust(Output.of(trust));
        }

        public VirtualGatewaySpecBackendDefaultsClientPolicyTlsValidationArgs build() {
            if ($.trust == null) {
                throw new MissingRequiredPropertyException("VirtualGatewaySpecBackendDefaultsClientPolicyTlsValidationArgs", "trust");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy