// *** 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.VirtualGatewaySpecBackendDefaultsClientPolicyTlsArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final VirtualGatewaySpecBackendDefaultsClientPolicyArgs Empty = new VirtualGatewaySpecBackendDefaultsClientPolicyArgs();

    /**
     * Transport Layer Security (TLS) client policy.
     * 
     */
    @Import(name="tls")
    private @Nullable Output<VirtualGatewaySpecBackendDefaultsClientPolicyTlsArgs> tls;

    /**
     * @return Transport Layer Security (TLS) client policy.
     * 
     */
    public Optional<Output<VirtualGatewaySpecBackendDefaultsClientPolicyTlsArgs>> tls() {
        return Optional.ofNullable(this.tls);
    }

    private VirtualGatewaySpecBackendDefaultsClientPolicyArgs() {}

    private VirtualGatewaySpecBackendDefaultsClientPolicyArgs(VirtualGatewaySpecBackendDefaultsClientPolicyArgs $) {
        this.tls = $.tls;
    }

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

    public static final class Builder {
        private VirtualGatewaySpecBackendDefaultsClientPolicyArgs $;

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

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

        /**
         * @param tls Transport Layer Security (TLS) client policy.
         * 
         * @return builder
         * 
         */
        public Builder tls(@Nullable Output<VirtualGatewaySpecBackendDefaultsClientPolicyTlsArgs> tls) {
            $.tls = tls;
            return this;
        }

        /**
         * @param tls Transport Layer Security (TLS) client policy.
         * 
         * @return builder
         * 
         */
        public Builder tls(VirtualGatewaySpecBackendDefaultsClientPolicyTlsArgs tls) {
            return tls(Output.of(tls));
        }

        public VirtualGatewaySpecBackendDefaultsClientPolicyArgs build() {
            return $;
        }
    }

}
