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

com.pulumi.aws.msk.inputs.ServerlessClusterClientAuthenticationArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
Show newest version
// *** 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.msk.inputs;

import com.pulumi.aws.msk.inputs.ServerlessClusterClientAuthenticationSaslArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.Objects;


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

    public static final ServerlessClusterClientAuthenticationArgs Empty = new ServerlessClusterClientAuthenticationArgs();

    /**
     * Details for client authentication using SASL. See below.
     * 
     */
    @Import(name="sasl", required=true)
    private Output sasl;

    /**
     * @return Details for client authentication using SASL. See below.
     * 
     */
    public Output sasl() {
        return this.sasl;
    }

    private ServerlessClusterClientAuthenticationArgs() {}

    private ServerlessClusterClientAuthenticationArgs(ServerlessClusterClientAuthenticationArgs $) {
        this.sasl = $.sasl;
    }

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

    public static final class Builder {
        private ServerlessClusterClientAuthenticationArgs $;

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

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

        /**
         * @param sasl Details for client authentication using SASL. See below.
         * 
         * @return builder
         * 
         */
        public Builder sasl(Output sasl) {
            $.sasl = sasl;
            return this;
        }

        /**
         * @param sasl Details for client authentication using SASL. See below.
         * 
         * @return builder
         * 
         */
        public Builder sasl(ServerlessClusterClientAuthenticationSaslArgs sasl) {
            return sasl(Output.of(sasl));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy