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

com.pulumi.aws.ses.inputs.ConfigurationSetState 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.ses.inputs;

import com.pulumi.aws.ses.inputs.ConfigurationSetDeliveryOptionsArgs;
import com.pulumi.aws.ses.inputs.ConfigurationSetTrackingOptionsArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ConfigurationSetState Empty = new ConfigurationSetState();

    /**
     * SES configuration set ARN.
     * 
     */
    @Import(name="arn")
    private @Nullable Output arn;

    /**
     * @return SES configuration set ARN.
     * 
     */
    public Optional> arn() {
        return Optional.ofNullable(this.arn);
    }

    /**
     * Whether messages that use the configuration set are required to use TLS. See below.
     * 
     */
    @Import(name="deliveryOptions")
    private @Nullable Output deliveryOptions;

    /**
     * @return Whether messages that use the configuration set are required to use TLS. See below.
     * 
     */
    public Optional> deliveryOptions() {
        return Optional.ofNullable(this.deliveryOptions);
    }

    /**
     * Date and time at which the reputation metrics for the configuration set were last reset. Resetting these metrics is known as a fresh start.
     * 
     */
    @Import(name="lastFreshStart")
    private @Nullable Output lastFreshStart;

    /**
     * @return Date and time at which the reputation metrics for the configuration set were last reset. Resetting these metrics is known as a fresh start.
     * 
     */
    public Optional> lastFreshStart() {
        return Optional.ofNullable(this.lastFreshStart);
    }

    /**
     * Name of the configuration set.
     * 
     * The following argument is optional:
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Name of the configuration set.
     * 
     * The following argument is optional:
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Whether or not Amazon SES publishes reputation metrics for the configuration set, such as bounce and complaint rates, to Amazon CloudWatch. The default value is `false`.
     * 
     */
    @Import(name="reputationMetricsEnabled")
    private @Nullable Output reputationMetricsEnabled;

    /**
     * @return Whether or not Amazon SES publishes reputation metrics for the configuration set, such as bounce and complaint rates, to Amazon CloudWatch. The default value is `false`.
     * 
     */
    public Optional> reputationMetricsEnabled() {
        return Optional.ofNullable(this.reputationMetricsEnabled);
    }

    /**
     * Whether email sending is enabled or disabled for the configuration set. The default value is `true`.
     * 
     */
    @Import(name="sendingEnabled")
    private @Nullable Output sendingEnabled;

    /**
     * @return Whether email sending is enabled or disabled for the configuration set. The default value is `true`.
     * 
     */
    public Optional> sendingEnabled() {
        return Optional.ofNullable(this.sendingEnabled);
    }

    /**
     * Domain that is used to redirect email recipients to an Amazon SES-operated domain. See below. **NOTE:** This functionality is best effort.
     * 
     */
    @Import(name="trackingOptions")
    private @Nullable Output trackingOptions;

    /**
     * @return Domain that is used to redirect email recipients to an Amazon SES-operated domain. See below. **NOTE:** This functionality is best effort.
     * 
     */
    public Optional> trackingOptions() {
        return Optional.ofNullable(this.trackingOptions);
    }

    private ConfigurationSetState() {}

    private ConfigurationSetState(ConfigurationSetState $) {
        this.arn = $.arn;
        this.deliveryOptions = $.deliveryOptions;
        this.lastFreshStart = $.lastFreshStart;
        this.name = $.name;
        this.reputationMetricsEnabled = $.reputationMetricsEnabled;
        this.sendingEnabled = $.sendingEnabled;
        this.trackingOptions = $.trackingOptions;
    }

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

    public static final class Builder {
        private ConfigurationSetState $;

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

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

        /**
         * @param arn SES configuration set ARN.
         * 
         * @return builder
         * 
         */
        public Builder arn(@Nullable Output arn) {
            $.arn = arn;
            return this;
        }

        /**
         * @param arn SES configuration set ARN.
         * 
         * @return builder
         * 
         */
        public Builder arn(String arn) {
            return arn(Output.of(arn));
        }

        /**
         * @param deliveryOptions Whether messages that use the configuration set are required to use TLS. See below.
         * 
         * @return builder
         * 
         */
        public Builder deliveryOptions(@Nullable Output deliveryOptions) {
            $.deliveryOptions = deliveryOptions;
            return this;
        }

        /**
         * @param deliveryOptions Whether messages that use the configuration set are required to use TLS. See below.
         * 
         * @return builder
         * 
         */
        public Builder deliveryOptions(ConfigurationSetDeliveryOptionsArgs deliveryOptions) {
            return deliveryOptions(Output.of(deliveryOptions));
        }

        /**
         * @param lastFreshStart Date and time at which the reputation metrics for the configuration set were last reset. Resetting these metrics is known as a fresh start.
         * 
         * @return builder
         * 
         */
        public Builder lastFreshStart(@Nullable Output lastFreshStart) {
            $.lastFreshStart = lastFreshStart;
            return this;
        }

        /**
         * @param lastFreshStart Date and time at which the reputation metrics for the configuration set were last reset. Resetting these metrics is known as a fresh start.
         * 
         * @return builder
         * 
         */
        public Builder lastFreshStart(String lastFreshStart) {
            return lastFreshStart(Output.of(lastFreshStart));
        }

        /**
         * @param name Name of the configuration set.
         * 
         * The following argument is optional:
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Name of the configuration set.
         * 
         * The following argument is optional:
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param reputationMetricsEnabled Whether or not Amazon SES publishes reputation metrics for the configuration set, such as bounce and complaint rates, to Amazon CloudWatch. The default value is `false`.
         * 
         * @return builder
         * 
         */
        public Builder reputationMetricsEnabled(@Nullable Output reputationMetricsEnabled) {
            $.reputationMetricsEnabled = reputationMetricsEnabled;
            return this;
        }

        /**
         * @param reputationMetricsEnabled Whether or not Amazon SES publishes reputation metrics for the configuration set, such as bounce and complaint rates, to Amazon CloudWatch. The default value is `false`.
         * 
         * @return builder
         * 
         */
        public Builder reputationMetricsEnabled(Boolean reputationMetricsEnabled) {
            return reputationMetricsEnabled(Output.of(reputationMetricsEnabled));
        }

        /**
         * @param sendingEnabled Whether email sending is enabled or disabled for the configuration set. The default value is `true`.
         * 
         * @return builder
         * 
         */
        public Builder sendingEnabled(@Nullable Output sendingEnabled) {
            $.sendingEnabled = sendingEnabled;
            return this;
        }

        /**
         * @param sendingEnabled Whether email sending is enabled or disabled for the configuration set. The default value is `true`.
         * 
         * @return builder
         * 
         */
        public Builder sendingEnabled(Boolean sendingEnabled) {
            return sendingEnabled(Output.of(sendingEnabled));
        }

        /**
         * @param trackingOptions Domain that is used to redirect email recipients to an Amazon SES-operated domain. See below. **NOTE:** This functionality is best effort.
         * 
         * @return builder
         * 
         */
        public Builder trackingOptions(@Nullable Output trackingOptions) {
            $.trackingOptions = trackingOptions;
            return this;
        }

        /**
         * @param trackingOptions Domain that is used to redirect email recipients to an Amazon SES-operated domain. See below. **NOTE:** This functionality is best effort.
         * 
         * @return builder
         * 
         */
        public Builder trackingOptions(ConfigurationSetTrackingOptionsArgs trackingOptions) {
            return trackingOptions(Output.of(trackingOptions));
        }

        public ConfigurationSetState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy