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

com.pulumi.aws.sesv2.inputs.EmailIdentityState Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The 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.inputs;

import com.pulumi.aws.sesv2.inputs.EmailIdentityDkimSigningAttributesArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final EmailIdentityState Empty = new EmailIdentityState();

    /**
     * ARN of the Email Identity.
     * 
     */
    @Import(name="arn")
    private @Nullable Output arn;

    /**
     * @return ARN of the Email Identity.
     * 
     */
    public Optional> arn() {
        return Optional.ofNullable(this.arn);
    }

    /**
     * The configuration set to use by default when sending from this identity. Note that any configuration set defined in the email sending request takes precedence.
     * 
     */
    @Import(name="configurationSetName")
    private @Nullable Output configurationSetName;

    /**
     * @return The configuration set to use by default when sending from this identity. Note that any configuration set defined in the email sending request takes precedence.
     * 
     */
    public Optional> configurationSetName() {
        return Optional.ofNullable(this.configurationSetName);
    }

    /**
     * The configuration of the DKIM authentication settings for an email domain identity.
     * 
     */
    @Import(name="dkimSigningAttributes")
    private @Nullable Output dkimSigningAttributes;

    /**
     * @return The configuration of the DKIM authentication settings for an email domain identity.
     * 
     */
    public Optional> dkimSigningAttributes() {
        return Optional.ofNullable(this.dkimSigningAttributes);
    }

    /**
     * The email address or domain to verify.
     * 
     * The following arguments are optional:
     * 
     */
    @Import(name="emailIdentity")
    private @Nullable Output emailIdentity;

    /**
     * @return The email address or domain to verify.
     * 
     * The following arguments are optional:
     * 
     */
    public Optional> emailIdentity() {
        return Optional.ofNullable(this.emailIdentity);
    }

    /**
     * The email identity type. Valid values: `EMAIL_ADDRESS`, `DOMAIN`.
     * 
     */
    @Import(name="identityType")
    private @Nullable Output identityType;

    /**
     * @return The email identity type. Valid values: `EMAIL_ADDRESS`, `DOMAIN`.
     * 
     */
    public Optional> identityType() {
        return Optional.ofNullable(this.identityType);
    }

    /**
     * Key-value mapping of resource tags. 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 Key-value mapping of resource tags. 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);
    }

    /**
     * Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
     * 
     * @deprecated
     * Please use `tags` instead.
     * 
     */
    @Deprecated /* Please use `tags` instead. */
    @Import(name="tagsAll")
    private @Nullable Output> tagsAll;

    /**
     * @return Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
     * 
     * @deprecated
     * Please use `tags` instead.
     * 
     */
    @Deprecated /* Please use `tags` instead. */
    public Optional>> tagsAll() {
        return Optional.ofNullable(this.tagsAll);
    }

    /**
     * Specifies whether or not the identity is verified.
     * 
     */
    @Import(name="verifiedForSendingStatus")
    private @Nullable Output verifiedForSendingStatus;

    /**
     * @return Specifies whether or not the identity is verified.
     * 
     */
    public Optional> verifiedForSendingStatus() {
        return Optional.ofNullable(this.verifiedForSendingStatus);
    }

    private EmailIdentityState() {}

    private EmailIdentityState(EmailIdentityState $) {
        this.arn = $.arn;
        this.configurationSetName = $.configurationSetName;
        this.dkimSigningAttributes = $.dkimSigningAttributes;
        this.emailIdentity = $.emailIdentity;
        this.identityType = $.identityType;
        this.tags = $.tags;
        this.tagsAll = $.tagsAll;
        this.verifiedForSendingStatus = $.verifiedForSendingStatus;
    }

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

    public static final class Builder {
        private EmailIdentityState $;

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

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

        /**
         * @param arn ARN of the Email Identity.
         * 
         * @return builder
         * 
         */
        public Builder arn(@Nullable Output arn) {
            $.arn = arn;
            return this;
        }

        /**
         * @param arn ARN of the Email Identity.
         * 
         * @return builder
         * 
         */
        public Builder arn(String arn) {
            return arn(Output.of(arn));
        }

        /**
         * @param configurationSetName The configuration set to use by default when sending from this identity. Note that any configuration set defined in the email sending request takes precedence.
         * 
         * @return builder
         * 
         */
        public Builder configurationSetName(@Nullable Output configurationSetName) {
            $.configurationSetName = configurationSetName;
            return this;
        }

        /**
         * @param configurationSetName The configuration set to use by default when sending from this identity. Note that any configuration set defined in the email sending request takes precedence.
         * 
         * @return builder
         * 
         */
        public Builder configurationSetName(String configurationSetName) {
            return configurationSetName(Output.of(configurationSetName));
        }

        /**
         * @param dkimSigningAttributes The configuration of the DKIM authentication settings for an email domain identity.
         * 
         * @return builder
         * 
         */
        public Builder dkimSigningAttributes(@Nullable Output dkimSigningAttributes) {
            $.dkimSigningAttributes = dkimSigningAttributes;
            return this;
        }

        /**
         * @param dkimSigningAttributes The configuration of the DKIM authentication settings for an email domain identity.
         * 
         * @return builder
         * 
         */
        public Builder dkimSigningAttributes(EmailIdentityDkimSigningAttributesArgs dkimSigningAttributes) {
            return dkimSigningAttributes(Output.of(dkimSigningAttributes));
        }

        /**
         * @param emailIdentity The email address or domain to verify.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder emailIdentity(@Nullable Output emailIdentity) {
            $.emailIdentity = emailIdentity;
            return this;
        }

        /**
         * @param emailIdentity The email address or domain to verify.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder emailIdentity(String emailIdentity) {
            return emailIdentity(Output.of(emailIdentity));
        }

        /**
         * @param identityType The email identity type. Valid values: `EMAIL_ADDRESS`, `DOMAIN`.
         * 
         * @return builder
         * 
         */
        public Builder identityType(@Nullable Output identityType) {
            $.identityType = identityType;
            return this;
        }

        /**
         * @param identityType The email identity type. Valid values: `EMAIL_ADDRESS`, `DOMAIN`.
         * 
         * @return builder
         * 
         */
        public Builder identityType(String identityType) {
            return identityType(Output.of(identityType));
        }

        /**
         * @param tags Key-value mapping of resource tags. 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 Key-value mapping of resource tags. 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 tagsAll Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
         * 
         * @return builder
         * 
         * @deprecated
         * Please use `tags` instead.
         * 
         */
        @Deprecated /* Please use `tags` instead. */
        public Builder tagsAll(@Nullable Output> tagsAll) {
            $.tagsAll = tagsAll;
            return this;
        }

        /**
         * @param tagsAll Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
         * 
         * @return builder
         * 
         * @deprecated
         * Please use `tags` instead.
         * 
         */
        @Deprecated /* Please use `tags` instead. */
        public Builder tagsAll(Map tagsAll) {
            return tagsAll(Output.of(tagsAll));
        }

        /**
         * @param verifiedForSendingStatus Specifies whether or not the identity is verified.
         * 
         * @return builder
         * 
         */
        public Builder verifiedForSendingStatus(@Nullable Output verifiedForSendingStatus) {
            $.verifiedForSendingStatus = verifiedForSendingStatus;
            return this;
        }

        /**
         * @param verifiedForSendingStatus Specifies whether or not the identity is verified.
         * 
         * @return builder
         * 
         */
        public Builder verifiedForSendingStatus(Boolean verifiedForSendingStatus) {
            return verifiedForSendingStatus(Output.of(verifiedForSendingStatus));
        }

        public EmailIdentityState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy