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

com.pulumi.aws.appconfig.EventIntegrationArgs 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.66.3
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.appconfig;

import com.pulumi.aws.appconfig.inputs.EventIntegrationEventFilterArgs;
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;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final EventIntegrationArgs Empty = new EventIntegrationArgs();

    /**
     * Description of the Event Integration.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return Description of the Event Integration.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * Block that defines the configuration information for the event filter. The Event Filter block is documented below.
     * 
     */
    @Import(name="eventFilter", required=true)
    private Output eventFilter;

    /**
     * @return Block that defines the configuration information for the event filter. The Event Filter block is documented below.
     * 
     */
    public Output eventFilter() {
        return this.eventFilter;
    }

    /**
     * EventBridge bus.
     * 
     */
    @Import(name="eventbridgeBus", required=true)
    private Output eventbridgeBus;

    /**
     * @return EventBridge bus.
     * 
     */
    public Output eventbridgeBus() {
        return this.eventbridgeBus;
    }

    /**
     * Name of the Event Integration.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Name of the Event Integration.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Tags to apply to the Event Integration. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Tags to apply to the Event Integration. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private EventIntegrationArgs() {}

    private EventIntegrationArgs(EventIntegrationArgs $) {
        this.description = $.description;
        this.eventFilter = $.eventFilter;
        this.eventbridgeBus = $.eventbridgeBus;
        this.name = $.name;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private EventIntegrationArgs $;

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

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

        /**
         * @param description Description of the Event Integration.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description Description of the Event Integration.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param eventFilter Block that defines the configuration information for the event filter. The Event Filter block is documented below.
         * 
         * @return builder
         * 
         */
        public Builder eventFilter(Output eventFilter) {
            $.eventFilter = eventFilter;
            return this;
        }

        /**
         * @param eventFilter Block that defines the configuration information for the event filter. The Event Filter block is documented below.
         * 
         * @return builder
         * 
         */
        public Builder eventFilter(EventIntegrationEventFilterArgs eventFilter) {
            return eventFilter(Output.of(eventFilter));
        }

        /**
         * @param eventbridgeBus EventBridge bus.
         * 
         * @return builder
         * 
         */
        public Builder eventbridgeBus(Output eventbridgeBus) {
            $.eventbridgeBus = eventbridgeBus;
            return this;
        }

        /**
         * @param eventbridgeBus EventBridge bus.
         * 
         * @return builder
         * 
         */
        public Builder eventbridgeBus(String eventbridgeBus) {
            return eventbridgeBus(Output.of(eventbridgeBus));
        }

        /**
         * @param name Name of the Event Integration.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Name of the Event Integration.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param tags Tags to apply to the Event Integration. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Tags to apply to the Event Integration. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        public EventIntegrationArgs build() {
            if ($.eventFilter == null) {
                throw new MissingRequiredPropertyException("EventIntegrationArgs", "eventFilter");
            }
            if ($.eventbridgeBus == null) {
                throw new MissingRequiredPropertyException("EventIntegrationArgs", "eventbridgeBus");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy