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

com.pulumi.aws.appmesh.inputs.VirtualGatewaySpecBackendDefaultsClientPolicyTlsCertificateFileArgs 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.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final VirtualGatewaySpecBackendDefaultsClientPolicyTlsCertificateFileArgs Empty = new VirtualGatewaySpecBackendDefaultsClientPolicyTlsCertificateFileArgs();

    /**
     * Certificate trust chain for a certificate stored on the file system of the mesh endpoint that the proxy is running on. Must be between 1 and 255 characters in length.
     * 
     */
    @Import(name="certificateChain", required=true)
    private Output certificateChain;

    /**
     * @return Certificate trust chain for a certificate stored on the file system of the mesh endpoint that the proxy is running on. Must be between 1 and 255 characters in length.
     * 
     */
    public Output certificateChain() {
        return this.certificateChain;
    }

    /**
     * Private key for a certificate stored on the file system of the mesh endpoint that the proxy is running on. Must be between 1 and 255 characters in length.
     * 
     */
    @Import(name="privateKey", required=true)
    private Output privateKey;

    /**
     * @return Private key for a certificate stored on the file system of the mesh endpoint that the proxy is running on. Must be between 1 and 255 characters in length.
     * 
     */
    public Output privateKey() {
        return this.privateKey;
    }

    private VirtualGatewaySpecBackendDefaultsClientPolicyTlsCertificateFileArgs() {}

    private VirtualGatewaySpecBackendDefaultsClientPolicyTlsCertificateFileArgs(VirtualGatewaySpecBackendDefaultsClientPolicyTlsCertificateFileArgs $) {
        this.certificateChain = $.certificateChain;
        this.privateKey = $.privateKey;
    }

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

    public static final class Builder {
        private VirtualGatewaySpecBackendDefaultsClientPolicyTlsCertificateFileArgs $;

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

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

        /**
         * @param certificateChain Certificate trust chain for a certificate stored on the file system of the mesh endpoint that the proxy is running on. Must be between 1 and 255 characters in length.
         * 
         * @return builder
         * 
         */
        public Builder certificateChain(Output certificateChain) {
            $.certificateChain = certificateChain;
            return this;
        }

        /**
         * @param certificateChain Certificate trust chain for a certificate stored on the file system of the mesh endpoint that the proxy is running on. Must be between 1 and 255 characters in length.
         * 
         * @return builder
         * 
         */
        public Builder certificateChain(String certificateChain) {
            return certificateChain(Output.of(certificateChain));
        }

        /**
         * @param privateKey Private key for a certificate stored on the file system of the mesh endpoint that the proxy is running on. Must be between 1 and 255 characters in length.
         * 
         * @return builder
         * 
         */
        public Builder privateKey(Output privateKey) {
            $.privateKey = privateKey;
            return this;
        }

        /**
         * @param privateKey Private key for a certificate stored on the file system of the mesh endpoint that the proxy is running on. Must be between 1 and 255 characters in length.
         * 
         * @return builder
         * 
         */
        public Builder privateKey(String privateKey) {
            return privateKey(Output.of(privateKey));
        }

        public VirtualGatewaySpecBackendDefaultsClientPolicyTlsCertificateFileArgs build() {
            if ($.certificateChain == null) {
                throw new MissingRequiredPropertyException("VirtualGatewaySpecBackendDefaultsClientPolicyTlsCertificateFileArgs", "certificateChain");
            }
            if ($.privateKey == null) {
                throw new MissingRequiredPropertyException("VirtualGatewaySpecBackendDefaultsClientPolicyTlsCertificateFileArgs", "privateKey");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy