// *** 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.mskconnect.inputs;

import com.pulumi.aws.mskconnect.inputs.ConnectorKafkaClusterApacheKafkaClusterVpcArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;


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

    public static final ConnectorKafkaClusterApacheKafkaClusterArgs Empty = new ConnectorKafkaClusterApacheKafkaClusterArgs();

    /**
     * The bootstrap servers of the cluster.
     * 
     */
    @Import(name="bootstrapServers", required=true)
    private Output<String> bootstrapServers;

    /**
     * @return The bootstrap servers of the cluster.
     * 
     */
    public Output<String> bootstrapServers() {
        return this.bootstrapServers;
    }

    /**
     * Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.
     * 
     */
    @Import(name="vpc", required=true)
    private Output<ConnectorKafkaClusterApacheKafkaClusterVpcArgs> vpc;

    /**
     * @return Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.
     * 
     */
    public Output<ConnectorKafkaClusterApacheKafkaClusterVpcArgs> vpc() {
        return this.vpc;
    }

    private ConnectorKafkaClusterApacheKafkaClusterArgs() {}

    private ConnectorKafkaClusterApacheKafkaClusterArgs(ConnectorKafkaClusterApacheKafkaClusterArgs $) {
        this.bootstrapServers = $.bootstrapServers;
        this.vpc = $.vpc;
    }

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

    public static final class Builder {
        private ConnectorKafkaClusterApacheKafkaClusterArgs $;

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

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

        /**
         * @param bootstrapServers The bootstrap servers of the cluster.
         * 
         * @return builder
         * 
         */
        public Builder bootstrapServers(Output<String> bootstrapServers) {
            $.bootstrapServers = bootstrapServers;
            return this;
        }

        /**
         * @param bootstrapServers The bootstrap servers of the cluster.
         * 
         * @return builder
         * 
         */
        public Builder bootstrapServers(String bootstrapServers) {
            return bootstrapServers(Output.of(bootstrapServers));
        }

        /**
         * @param vpc Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.
         * 
         * @return builder
         * 
         */
        public Builder vpc(Output<ConnectorKafkaClusterApacheKafkaClusterVpcArgs> vpc) {
            $.vpc = vpc;
            return this;
        }

        /**
         * @param vpc Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.
         * 
         * @return builder
         * 
         */
        public Builder vpc(ConnectorKafkaClusterApacheKafkaClusterVpcArgs vpc) {
            return vpc(Output.of(vpc));
        }

        public ConnectorKafkaClusterApacheKafkaClusterArgs build() {
            $.bootstrapServers = Objects.requireNonNull($.bootstrapServers, "expected parameter 'bootstrapServers' to be non-null");
            $.vpc = Objects.requireNonNull($.vpc, "expected parameter 'vpc' to be non-null");
            return $;
        }
    }

}
