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

com.pulumi.aws.devopsguru.EventSourcesConfigArgs 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.devopsguru;

import com.pulumi.aws.devopsguru.inputs.EventSourcesConfigEventSourceArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final EventSourcesConfigArgs Empty = new EventSourcesConfigArgs();

    /**
     * Configuration information about the integration of DevOps Guru as the Consumer via EventBridge with another AWS Service. See `event_sources` below.
     * 
     */
    @Import(name="eventSources")
    private @Nullable Output> eventSources;

    /**
     * @return Configuration information about the integration of DevOps Guru as the Consumer via EventBridge with another AWS Service. See `event_sources` below.
     * 
     */
    public Optional>> eventSources() {
        return Optional.ofNullable(this.eventSources);
    }

    private EventSourcesConfigArgs() {}

    private EventSourcesConfigArgs(EventSourcesConfigArgs $) {
        this.eventSources = $.eventSources;
    }

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

    public static final class Builder {
        private EventSourcesConfigArgs $;

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

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

        /**
         * @param eventSources Configuration information about the integration of DevOps Guru as the Consumer via EventBridge with another AWS Service. See `event_sources` below.
         * 
         * @return builder
         * 
         */
        public Builder eventSources(@Nullable Output> eventSources) {
            $.eventSources = eventSources;
            return this;
        }

        /**
         * @param eventSources Configuration information about the integration of DevOps Guru as the Consumer via EventBridge with another AWS Service. See `event_sources` below.
         * 
         * @return builder
         * 
         */
        public Builder eventSources(List eventSources) {
            return eventSources(Output.of(eventSources));
        }

        /**
         * @param eventSources Configuration information about the integration of DevOps Guru as the Consumer via EventBridge with another AWS Service. See `event_sources` below.
         * 
         * @return builder
         * 
         */
        public Builder eventSources(EventSourcesConfigEventSourceArgs... eventSources) {
            return eventSources(List.of(eventSources));
        }

        public EventSourcesConfigArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy