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

com.pulumi.aws.pipes.inputs.PipeSourceParametersActivemqBrokerParametersCredentialsArgs 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.pipes.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 PipeSourceParametersActivemqBrokerParametersCredentialsArgs extends com.pulumi.resources.ResourceArgs {

    public static final PipeSourceParametersActivemqBrokerParametersCredentialsArgs Empty = new PipeSourceParametersActivemqBrokerParametersCredentialsArgs();

    /**
     * The ARN of the Secrets Manager secret containing the credentials.
     * 
     */
    @Import(name="basicAuth", required=true)
    private Output basicAuth;

    /**
     * @return The ARN of the Secrets Manager secret containing the credentials.
     * 
     */
    public Output basicAuth() {
        return this.basicAuth;
    }

    private PipeSourceParametersActivemqBrokerParametersCredentialsArgs() {}

    private PipeSourceParametersActivemqBrokerParametersCredentialsArgs(PipeSourceParametersActivemqBrokerParametersCredentialsArgs $) {
        this.basicAuth = $.basicAuth;
    }

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

    public static final class Builder {
        private PipeSourceParametersActivemqBrokerParametersCredentialsArgs $;

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

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

        /**
         * @param basicAuth The ARN of the Secrets Manager secret containing the credentials.
         * 
         * @return builder
         * 
         */
        public Builder basicAuth(Output basicAuth) {
            $.basicAuth = basicAuth;
            return this;
        }

        /**
         * @param basicAuth The ARN of the Secrets Manager secret containing the credentials.
         * 
         * @return builder
         * 
         */
        public Builder basicAuth(String basicAuth) {
            return basicAuth(Output.of(basicAuth));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy