// *** 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.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ConfigurationSetSuppressionOptionsArgs Empty = new ConfigurationSetSuppressionOptionsArgs();

    /**
     * A list that contains the reasons that email addresses are automatically added to the suppression list for your account. Valid values: `BOUNCE`, `COMPLAINT`.
     * 
     */
    @Import(name="suppressedReasons")
    private @Nullable Output<List<String>> suppressedReasons;

    /**
     * @return A list that contains the reasons that email addresses are automatically added to the suppression list for your account. Valid values: `BOUNCE`, `COMPLAINT`.
     * 
     */
    public Optional<Output<List<String>>> suppressedReasons() {
        return Optional.ofNullable(this.suppressedReasons);
    }

    private ConfigurationSetSuppressionOptionsArgs() {}

    private ConfigurationSetSuppressionOptionsArgs(ConfigurationSetSuppressionOptionsArgs $) {
        this.suppressedReasons = $.suppressedReasons;
    }

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

    public static final class Builder {
        private ConfigurationSetSuppressionOptionsArgs $;

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

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

        /**
         * @param suppressedReasons A list that contains the reasons that email addresses are automatically added to the suppression list for your account. Valid values: `BOUNCE`, `COMPLAINT`.
         * 
         * @return builder
         * 
         */
        public Builder suppressedReasons(@Nullable Output<List<String>> suppressedReasons) {
            $.suppressedReasons = suppressedReasons;
            return this;
        }

        /**
         * @param suppressedReasons A list that contains the reasons that email addresses are automatically added to the suppression list for your account. Valid values: `BOUNCE`, `COMPLAINT`.
         * 
         * @return builder
         * 
         */
        public Builder suppressedReasons(List<String> suppressedReasons) {
            return suppressedReasons(Output.of(suppressedReasons));
        }

        /**
         * @param suppressedReasons A list that contains the reasons that email addresses are automatically added to the suppression list for your account. Valid values: `BOUNCE`, `COMPLAINT`.
         * 
         * @return builder
         * 
         */
        public Builder suppressedReasons(String... suppressedReasons) {
            return suppressedReasons(List.of(suppressedReasons));
        }

        public ConfigurationSetSuppressionOptionsArgs build() {
            return $;
        }
    }

}
