// *** 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.lambda.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 EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs extends com.pulumi.resources.ResourceArgs {

    public static final EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs Empty = new EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs();

    /**
     * A Kafka consumer group ID between 1 and 200 characters for use when creating this event source mapping. If one is not specified, this value will be automatically generated. See [AmazonManagedKafkaEventSourceConfig Syntax](https://docs.aws.amazon.com/lambda/latest/dg/API_AmazonManagedKafkaEventSourceConfig.html).
     * 
     */
    @Import(name="consumerGroupId")
    private @Nullable Output<String> consumerGroupId;

    /**
     * @return A Kafka consumer group ID between 1 and 200 characters for use when creating this event source mapping. If one is not specified, this value will be automatically generated. See [AmazonManagedKafkaEventSourceConfig Syntax](https://docs.aws.amazon.com/lambda/latest/dg/API_AmazonManagedKafkaEventSourceConfig.html).
     * 
     */
    public Optional<Output<String>> consumerGroupId() {
        return Optional.ofNullable(this.consumerGroupId);
    }

    private EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs() {}

    private EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs(EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs $) {
        this.consumerGroupId = $.consumerGroupId;
    }

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

    public static final class Builder {
        private EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs $;

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

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

        /**
         * @param consumerGroupId A Kafka consumer group ID between 1 and 200 characters for use when creating this event source mapping. If one is not specified, this value will be automatically generated. See [AmazonManagedKafkaEventSourceConfig Syntax](https://docs.aws.amazon.com/lambda/latest/dg/API_AmazonManagedKafkaEventSourceConfig.html).
         * 
         * @return builder
         * 
         */
        public Builder consumerGroupId(@Nullable Output<String> consumerGroupId) {
            $.consumerGroupId = consumerGroupId;
            return this;
        }

        /**
         * @param consumerGroupId A Kafka consumer group ID between 1 and 200 characters for use when creating this event source mapping. If one is not specified, this value will be automatically generated. See [AmazonManagedKafkaEventSourceConfig Syntax](https://docs.aws.amazon.com/lambda/latest/dg/API_AmazonManagedKafkaEventSourceConfig.html).
         * 
         * @return builder
         * 
         */
        public Builder consumerGroupId(String consumerGroupId) {
            return consumerGroupId(Output.of(consumerGroupId));
        }

        public EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs build() {
            return $;
        }
    }

}
