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

com.pulumi.aws.sesv2.inputs.ConfigurationSetEventDestinationEventDestinationEventBridgeDestinationArgs 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.sesv2.inputs;

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


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

    public static final ConfigurationSetEventDestinationEventDestinationEventBridgeDestinationArgs Empty = new ConfigurationSetEventDestinationEventDestinationEventBridgeDestinationArgs();

    /**
     * The Amazon Resource Name (ARN) of the Amazon EventBridge bus to publish email events to. Only the default bus is supported.
     * 
     */
    @Import(name="eventBusArn", required=true)
    private Output eventBusArn;

    /**
     * @return The Amazon Resource Name (ARN) of the Amazon EventBridge bus to publish email events to. Only the default bus is supported.
     * 
     */
    public Output eventBusArn() {
        return this.eventBusArn;
    }

    private ConfigurationSetEventDestinationEventDestinationEventBridgeDestinationArgs() {}

    private ConfigurationSetEventDestinationEventDestinationEventBridgeDestinationArgs(ConfigurationSetEventDestinationEventDestinationEventBridgeDestinationArgs $) {
        this.eventBusArn = $.eventBusArn;
    }

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

    public static final class Builder {
        private ConfigurationSetEventDestinationEventDestinationEventBridgeDestinationArgs $;

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

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

        /**
         * @param eventBusArn The Amazon Resource Name (ARN) of the Amazon EventBridge bus to publish email events to. Only the default bus is supported.
         * 
         * @return builder
         * 
         */
        public Builder eventBusArn(Output eventBusArn) {
            $.eventBusArn = eventBusArn;
            return this;
        }

        /**
         * @param eventBusArn The Amazon Resource Name (ARN) of the Amazon EventBridge bus to publish email events to. Only the default bus is supported.
         * 
         * @return builder
         * 
         */
        public Builder eventBusArn(String eventBusArn) {
            return eventBusArn(Output.of(eventBusArn));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy