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

com.pulumi.aws.lambda.inputs.EventSourceMappingSelfManagedEventSourceArgs 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.lambda.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;


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

    public static final EventSourceMappingSelfManagedEventSourceArgs Empty = new EventSourceMappingSelfManagedEventSourceArgs();

    /**
     * A map of endpoints for the self managed source.  For Kafka self-managed sources, the key should be `KAFKA_BOOTSTRAP_SERVERS` and the value should be a string with a comma separated list of broker endpoints.
     * 
     */
    @Import(name="endpoints", required=true)
    private Output> endpoints;

    /**
     * @return A map of endpoints for the self managed source.  For Kafka self-managed sources, the key should be `KAFKA_BOOTSTRAP_SERVERS` and the value should be a string with a comma separated list of broker endpoints.
     * 
     */
    public Output> endpoints() {
        return this.endpoints;
    }

    private EventSourceMappingSelfManagedEventSourceArgs() {}

    private EventSourceMappingSelfManagedEventSourceArgs(EventSourceMappingSelfManagedEventSourceArgs $) {
        this.endpoints = $.endpoints;
    }

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

    public static final class Builder {
        private EventSourceMappingSelfManagedEventSourceArgs $;

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

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

        /**
         * @param endpoints A map of endpoints for the self managed source.  For Kafka self-managed sources, the key should be `KAFKA_BOOTSTRAP_SERVERS` and the value should be a string with a comma separated list of broker endpoints.
         * 
         * @return builder
         * 
         */
        public Builder endpoints(Output> endpoints) {
            $.endpoints = endpoints;
            return this;
        }

        /**
         * @param endpoints A map of endpoints for the self managed source.  For Kafka self-managed sources, the key should be `KAFKA_BOOTSTRAP_SERVERS` and the value should be a string with a comma separated list of broker endpoints.
         * 
         * @return builder
         * 
         */
        public Builder endpoints(Map endpoints) {
            return endpoints(Output.of(endpoints));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy