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

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

Go to download

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

The 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.VirtualGatewaySpecBackendDefaultsClientPolicyTlsCertificateFileArgs;
import com.pulumi.aws.appmesh.inputs.VirtualGatewaySpecBackendDefaultsClientPolicyTlsCertificateSdsArgs;
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 VirtualGatewaySpecBackendDefaultsClientPolicyTlsCertificateArgs extends com.pulumi.resources.ResourceArgs {

    public static final VirtualGatewaySpecBackendDefaultsClientPolicyTlsCertificateArgs Empty = new VirtualGatewaySpecBackendDefaultsClientPolicyTlsCertificateArgs();

    /**
     * Local file certificate.
     * 
     */
    @Import(name="file")
    private @Nullable Output file;

    /**
     * @return Local file certificate.
     * 
     */
    public Optional> file() {
        return Optional.ofNullable(this.file);
    }

    /**
     * A [Secret Discovery Service](https://www.envoyproxy.io/docs/envoy/latest/configuration/security/secret#secret-discovery-service-sds) certificate.
     * 
     */
    @Import(name="sds")
    private @Nullable Output sds;

    /**
     * @return 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);
    }

    private VirtualGatewaySpecBackendDefaultsClientPolicyTlsCertificateArgs() {}

    private VirtualGatewaySpecBackendDefaultsClientPolicyTlsCertificateArgs(VirtualGatewaySpecBackendDefaultsClientPolicyTlsCertificateArgs $) {
        this.file = $.file;
        this.sds = $.sds;
    }

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

    public static final class Builder {
        private VirtualGatewaySpecBackendDefaultsClientPolicyTlsCertificateArgs $;

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

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

        /**
         * @param file Local file certificate.
         * 
         * @return builder
         * 
         */
        public Builder file(@Nullable Output file) {
            $.file = file;
            return this;
        }

        /**
         * @param file Local file certificate.
         * 
         * @return builder
         * 
         */
        public Builder file(VirtualGatewaySpecBackendDefaultsClientPolicyTlsCertificateFileArgs file) {
            return file(Output.of(file));
        }

        /**
         * @param sds A [Secret Discovery Service](https://www.envoyproxy.io/docs/envoy/latest/configuration/security/secret#secret-discovery-service-sds) certificate.
         * 
         * @return builder
         * 
         */
        public Builder sds(@Nullable Output sds) {
            $.sds = sds;
            return this;
        }

        /**
         * @param sds A [Secret Discovery Service](https://www.envoyproxy.io/docs/envoy/latest/configuration/security/secret#secret-discovery-service-sds) certificate.
         * 
         * @return builder
         * 
         */
        public Builder sds(VirtualGatewaySpecBackendDefaultsClientPolicyTlsCertificateSdsArgs sds) {
            return sds(Output.of(sds));
        }

        public VirtualGatewaySpecBackendDefaultsClientPolicyTlsCertificateArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy