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

com.pulumi.aws.sesv2.ConfigurationSetArgs 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.60.0-alpha.1731982519
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.sesv2;

import com.pulumi.aws.sesv2.inputs.ConfigurationSetDeliveryOptionsArgs;
import com.pulumi.aws.sesv2.inputs.ConfigurationSetReputationOptionsArgs;
import com.pulumi.aws.sesv2.inputs.ConfigurationSetSendingOptionsArgs;
import com.pulumi.aws.sesv2.inputs.ConfigurationSetSuppressionOptionsArgs;
import com.pulumi.aws.sesv2.inputs.ConfigurationSetTrackingOptionsArgs;
import com.pulumi.aws.sesv2.inputs.ConfigurationSetVdmOptionsArgs;
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 ConfigurationSetArgs extends com.pulumi.resources.ResourceArgs {

    public static final ConfigurationSetArgs Empty = new ConfigurationSetArgs();

    /**
     * The name of the configuration set.
     * 
     */
    @Import(name="configurationSetName", required=true)
    private Output configurationSetName;

    /**
     * @return The name of the configuration set.
     * 
     */
    public Output configurationSetName() {
        return this.configurationSetName;
    }

    /**
     * An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set.
     * 
     */
    @Import(name="deliveryOptions")
    private @Nullable Output deliveryOptions;

    /**
     * @return An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set.
     * 
     */
    public Optional> deliveryOptions() {
        return Optional.ofNullable(this.deliveryOptions);
    }

    /**
     * An object that defines whether or not Amazon SES collects reputation metrics for the emails that you send that use the configuration set.
     * 
     */
    @Import(name="reputationOptions")
    private @Nullable Output reputationOptions;

    /**
     * @return An object that defines whether or not Amazon SES collects reputation metrics for the emails that you send that use the configuration set.
     * 
     */
    public Optional> reputationOptions() {
        return Optional.ofNullable(this.reputationOptions);
    }

    /**
     * An object that defines whether or not Amazon SES can send email that you send using the configuration set.
     * 
     */
    @Import(name="sendingOptions")
    private @Nullable Output sendingOptions;

    /**
     * @return An object that defines whether or not Amazon SES can send email that you send using the configuration set.
     * 
     */
    public Optional> sendingOptions() {
        return Optional.ofNullable(this.sendingOptions);
    }

    /**
     * An object that contains information about the suppression list preferences for your account.
     * 
     */
    @Import(name="suppressionOptions")
    private @Nullable Output suppressionOptions;

    /**
     * @return An object that contains information about the suppression list preferences for your account.
     * 
     */
    public Optional> suppressionOptions() {
        return Optional.ofNullable(this.suppressionOptions);
    }

    /**
     * A map of tags to assign to the service. 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 A map of tags to assign to the service. 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);
    }

    /**
     * An object that defines the open and click tracking options for emails that you send using the configuration set.
     * 
     */
    @Import(name="trackingOptions")
    private @Nullable Output trackingOptions;

    /**
     * @return An object that defines the open and click tracking options for emails that you send using the configuration set.
     * 
     */
    public Optional> trackingOptions() {
        return Optional.ofNullable(this.trackingOptions);
    }

    /**
     * An object that defines the VDM settings that apply to emails that you send using the configuration set.
     * 
     */
    @Import(name="vdmOptions")
    private @Nullable Output vdmOptions;

    /**
     * @return An object that defines the VDM settings that apply to emails that you send using the configuration set.
     * 
     */
    public Optional> vdmOptions() {
        return Optional.ofNullable(this.vdmOptions);
    }

    private ConfigurationSetArgs() {}

    private ConfigurationSetArgs(ConfigurationSetArgs $) {
        this.configurationSetName = $.configurationSetName;
        this.deliveryOptions = $.deliveryOptions;
        this.reputationOptions = $.reputationOptions;
        this.sendingOptions = $.sendingOptions;
        this.suppressionOptions = $.suppressionOptions;
        this.tags = $.tags;
        this.trackingOptions = $.trackingOptions;
        this.vdmOptions = $.vdmOptions;
    }

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

    public static final class Builder {
        private ConfigurationSetArgs $;

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

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

        /**
         * @param configurationSetName The name of the configuration set.
         * 
         * @return builder
         * 
         */
        public Builder configurationSetName(Output configurationSetName) {
            $.configurationSetName = configurationSetName;
            return this;
        }

        /**
         * @param configurationSetName The name of the configuration set.
         * 
         * @return builder
         * 
         */
        public Builder configurationSetName(String configurationSetName) {
            return configurationSetName(Output.of(configurationSetName));
        }

        /**
         * @param deliveryOptions An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set.
         * 
         * @return builder
         * 
         */
        public Builder deliveryOptions(@Nullable Output deliveryOptions) {
            $.deliveryOptions = deliveryOptions;
            return this;
        }

        /**
         * @param deliveryOptions An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set.
         * 
         * @return builder
         * 
         */
        public Builder deliveryOptions(ConfigurationSetDeliveryOptionsArgs deliveryOptions) {
            return deliveryOptions(Output.of(deliveryOptions));
        }

        /**
         * @param reputationOptions An object that defines whether or not Amazon SES collects reputation metrics for the emails that you send that use the configuration set.
         * 
         * @return builder
         * 
         */
        public Builder reputationOptions(@Nullable Output reputationOptions) {
            $.reputationOptions = reputationOptions;
            return this;
        }

        /**
         * @param reputationOptions An object that defines whether or not Amazon SES collects reputation metrics for the emails that you send that use the configuration set.
         * 
         * @return builder
         * 
         */
        public Builder reputationOptions(ConfigurationSetReputationOptionsArgs reputationOptions) {
            return reputationOptions(Output.of(reputationOptions));
        }

        /**
         * @param sendingOptions An object that defines whether or not Amazon SES can send email that you send using the configuration set.
         * 
         * @return builder
         * 
         */
        public Builder sendingOptions(@Nullable Output sendingOptions) {
            $.sendingOptions = sendingOptions;
            return this;
        }

        /**
         * @param sendingOptions An object that defines whether or not Amazon SES can send email that you send using the configuration set.
         * 
         * @return builder
         * 
         */
        public Builder sendingOptions(ConfigurationSetSendingOptionsArgs sendingOptions) {
            return sendingOptions(Output.of(sendingOptions));
        }

        /**
         * @param suppressionOptions An object that contains information about the suppression list preferences for your account.
         * 
         * @return builder
         * 
         */
        public Builder suppressionOptions(@Nullable Output suppressionOptions) {
            $.suppressionOptions = suppressionOptions;
            return this;
        }

        /**
         * @param suppressionOptions An object that contains information about the suppression list preferences for your account.
         * 
         * @return builder
         * 
         */
        public Builder suppressionOptions(ConfigurationSetSuppressionOptionsArgs suppressionOptions) {
            return suppressionOptions(Output.of(suppressionOptions));
        }

        /**
         * @param tags A map of tags to assign to the service. 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 A map of tags to assign to the service. 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));
        }

        /**
         * @param trackingOptions An object that defines the open and click tracking options for emails that you send using the configuration set.
         * 
         * @return builder
         * 
         */
        public Builder trackingOptions(@Nullable Output trackingOptions) {
            $.trackingOptions = trackingOptions;
            return this;
        }

        /**
         * @param trackingOptions An object that defines the open and click tracking options for emails that you send using the configuration set.
         * 
         * @return builder
         * 
         */
        public Builder trackingOptions(ConfigurationSetTrackingOptionsArgs trackingOptions) {
            return trackingOptions(Output.of(trackingOptions));
        }

        /**
         * @param vdmOptions An object that defines the VDM settings that apply to emails that you send using the configuration set.
         * 
         * @return builder
         * 
         */
        public Builder vdmOptions(@Nullable Output vdmOptions) {
            $.vdmOptions = vdmOptions;
            return this;
        }

        /**
         * @param vdmOptions An object that defines the VDM settings that apply to emails that you send using the configuration set.
         * 
         * @return builder
         * 
         */
        public Builder vdmOptions(ConfigurationSetVdmOptionsArgs vdmOptions) {
            return vdmOptions(Output.of(vdmOptions));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy