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

com.pulumi.aws.appmesh.inputs.VirtualNodeSpecBackendDefaultsClientPolicyTlsCertificateArgs 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.inputs;

import com.pulumi.aws.appmesh.inputs.VirtualNodeSpecBackendDefaultsClientPolicyTlsCertificateFileArgs;
import com.pulumi.aws.appmesh.inputs.VirtualNodeSpecBackendDefaultsClientPolicyTlsCertificateSdsArgs;
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 VirtualNodeSpecBackendDefaultsClientPolicyTlsCertificateArgs extends com.pulumi.resources.ResourceArgs {

    public static final VirtualNodeSpecBackendDefaultsClientPolicyTlsCertificateArgs Empty = new VirtualNodeSpecBackendDefaultsClientPolicyTlsCertificateArgs();

    /**
     * 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 VirtualNodeSpecBackendDefaultsClientPolicyTlsCertificateArgs() {}

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

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

    public static final class Builder {
        private VirtualNodeSpecBackendDefaultsClientPolicyTlsCertificateArgs $;

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

        public Builder(VirtualNodeSpecBackendDefaultsClientPolicyTlsCertificateArgs defaults) {
            $ = new VirtualNodeSpecBackendDefaultsClientPolicyTlsCertificateArgs(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(VirtualNodeSpecBackendDefaultsClientPolicyTlsCertificateFileArgs 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(VirtualNodeSpecBackendDefaultsClientPolicyTlsCertificateSdsArgs sds) {
            return sds(Output.of(sds));
        }

        public VirtualNodeSpecBackendDefaultsClientPolicyTlsCertificateArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy