// *** 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 java.lang.String;
import java.util.Objects;


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

    public static final ConfigurationSetEventDestinationEventDestinationSnsDestinationArgs Empty = new ConfigurationSetEventDestinationEventDestinationSnsDestinationArgs();

    /**
     * The Amazon Resource Name (ARN) of the Amazon SNS topic to publish email events to.
     * 
     */
    @Import(name="topicArn", required=true)
    private Output<String> topicArn;

    /**
     * @return The Amazon Resource Name (ARN) of the Amazon SNS topic to publish email events to.
     * 
     */
    public Output<String> topicArn() {
        return this.topicArn;
    }

    private ConfigurationSetEventDestinationEventDestinationSnsDestinationArgs() {}

    private ConfigurationSetEventDestinationEventDestinationSnsDestinationArgs(ConfigurationSetEventDestinationEventDestinationSnsDestinationArgs $) {
        this.topicArn = $.topicArn;
    }

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

    public static final class Builder {
        private ConfigurationSetEventDestinationEventDestinationSnsDestinationArgs $;

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

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

        /**
         * @param topicArn The Amazon Resource Name (ARN) of the Amazon SNS topic to publish email events to.
         * 
         * @return builder
         * 
         */
        public Builder topicArn(Output<String> topicArn) {
            $.topicArn = topicArn;
            return this;
        }

        /**
         * @param topicArn The Amazon Resource Name (ARN) of the Amazon SNS topic to publish email events to.
         * 
         * @return builder
         * 
         */
        public Builder topicArn(String topicArn) {
            return topicArn(Output.of(topicArn));
        }

        public ConfigurationSetEventDestinationEventDestinationSnsDestinationArgs build() {
            $.topicArn = Objects.requireNonNull($.topicArn, "expected parameter 'topicArn' to be non-null");
            return $;
        }
    }

}
