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

com.pulumi.aws.pipes.inputs.PipeSourceParametersSelfManagedKafkaParametersCredentialsArgs 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 java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final PipeSourceParametersSelfManagedKafkaParametersCredentialsArgs Empty = new PipeSourceParametersSelfManagedKafkaParametersCredentialsArgs();

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

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

    /**
     * The ARN of the Secrets Manager secret containing the credentials.
     * 
     */
    @Import(name="clientCertificateTlsAuth")
    private @Nullable Output clientCertificateTlsAuth;

    /**
     * @return The ARN of the Secrets Manager secret containing the credentials.
     * 
     */
    public Optional> clientCertificateTlsAuth() {
        return Optional.ofNullable(this.clientCertificateTlsAuth);
    }

    /**
     * The ARN of the Secrets Manager secret containing the credentials.
     * 
     */
    @Import(name="saslScram256Auth")
    private @Nullable Output saslScram256Auth;

    /**
     * @return The ARN of the Secrets Manager secret containing the credentials.
     * 
     */
    public Optional> saslScram256Auth() {
        return Optional.ofNullable(this.saslScram256Auth);
    }

    /**
     * The ARN of the Secrets Manager secret containing the credentials.
     * 
     */
    @Import(name="saslScram512Auth")
    private @Nullable Output saslScram512Auth;

    /**
     * @return The ARN of the Secrets Manager secret containing the credentials.
     * 
     */
    public Optional> saslScram512Auth() {
        return Optional.ofNullable(this.saslScram512Auth);
    }

    private PipeSourceParametersSelfManagedKafkaParametersCredentialsArgs() {}

    private PipeSourceParametersSelfManagedKafkaParametersCredentialsArgs(PipeSourceParametersSelfManagedKafkaParametersCredentialsArgs $) {
        this.basicAuth = $.basicAuth;
        this.clientCertificateTlsAuth = $.clientCertificateTlsAuth;
        this.saslScram256Auth = $.saslScram256Auth;
        this.saslScram512Auth = $.saslScram512Auth;
    }

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

    public static final class Builder {
        private PipeSourceParametersSelfManagedKafkaParametersCredentialsArgs $;

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

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

        /**
         * @param basicAuth The ARN of the Secrets Manager secret containing the credentials.
         * 
         * @return builder
         * 
         */
        public Builder basicAuth(@Nullable 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));
        }

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

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

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

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

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

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

        public PipeSourceParametersSelfManagedKafkaParametersCredentialsArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy