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

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

    public static final PipeSourceParametersRabbitmqBrokerParametersCredentialsArgs Empty = new PipeSourceParametersRabbitmqBrokerParametersCredentialsArgs();

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

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

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

    public static final class Builder {
        private PipeSourceParametersRabbitmqBrokerParametersCredentialsArgs $;

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

        public Builder(PipeSourceParametersRabbitmqBrokerParametersCredentialsArgs defaults) {
            $ = new PipeSourceParametersRabbitmqBrokerParametersCredentialsArgs(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 PipeSourceParametersRabbitmqBrokerParametersCredentialsArgs build() {
            if ($.basicAuth == null) {
                throw new MissingRequiredPropertyException("PipeSourceParametersRabbitmqBrokerParametersCredentialsArgs", "basicAuth");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy