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

com.pulumi.aws.pipes.outputs.PipeSourceParametersSelfManagedKafkaParametersCredentials 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.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class PipeSourceParametersSelfManagedKafkaParametersCredentials {
    /**
     * @return The ARN of the Secrets Manager secret containing the credentials.
     * 
     */
    private @Nullable String basicAuth;
    /**
     * @return The ARN of the Secrets Manager secret containing the credentials.
     * 
     */
    private @Nullable String clientCertificateTlsAuth;
    /**
     * @return The ARN of the Secrets Manager secret containing the credentials.
     * 
     */
    private @Nullable String saslScram256Auth;
    /**
     * @return The ARN of the Secrets Manager secret containing the credentials.
     * 
     */
    private @Nullable String saslScram512Auth;

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

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

    public static Builder builder(PipeSourceParametersSelfManagedKafkaParametersCredentials defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String basicAuth;
        private @Nullable String clientCertificateTlsAuth;
        private @Nullable String saslScram256Auth;
        private @Nullable String saslScram512Auth;
        public Builder() {}
        public Builder(PipeSourceParametersSelfManagedKafkaParametersCredentials defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.basicAuth = defaults.basicAuth;
    	      this.clientCertificateTlsAuth = defaults.clientCertificateTlsAuth;
    	      this.saslScram256Auth = defaults.saslScram256Auth;
    	      this.saslScram512Auth = defaults.saslScram512Auth;
        }

        @CustomType.Setter
        public Builder basicAuth(@Nullable String basicAuth) {

            this.basicAuth = basicAuth;
            return this;
        }
        @CustomType.Setter
        public Builder clientCertificateTlsAuth(@Nullable String clientCertificateTlsAuth) {

            this.clientCertificateTlsAuth = clientCertificateTlsAuth;
            return this;
        }
        @CustomType.Setter
        public Builder saslScram256Auth(@Nullable String saslScram256Auth) {

            this.saslScram256Auth = saslScram256Auth;
            return this;
        }
        @CustomType.Setter
        public Builder saslScram512Auth(@Nullable String saslScram512Auth) {

            this.saslScram512Auth = saslScram512Auth;
            return this;
        }
        public PipeSourceParametersSelfManagedKafkaParametersCredentials build() {
            final var _resultValue = new PipeSourceParametersSelfManagedKafkaParametersCredentials();
            _resultValue.basicAuth = basicAuth;
            _resultValue.clientCertificateTlsAuth = clientCertificateTlsAuth;
            _resultValue.saslScram256Auth = saslScram256Auth;
            _resultValue.saslScram512Auth = saslScram512Auth;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy