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

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

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
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();

    /**
     * The ARN of the email identity.
     * 
     */
    @Import(name="arn")
    private @Nullable Output arn;

    /**
     * @return The ARN of the email identity.
     * 
     */
    public Optional> arn() {
        return Optional.ofNullable(this.arn);
    }

    /**
     * The email address to assign to SES.
     * 
     */
    @Import(name="email")
    private @Nullable Output email;

    /**
     * @return The email address to assign to SES.
     * 
     */
    public Optional> email() {
        return Optional.ofNullable(this.email);
    }

    private EmailIdentityState() {}

    private EmailIdentityState(EmailIdentityState $) {
        this.arn = $.arn;
        this.email = $.email;
    }

    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 The ARN of the email identity.
         * 
         * @return builder
         * 
         */
        public Builder arn(@Nullable Output arn) {
            $.arn = arn;
            return this;
        }

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

        /**
         * @param email The email address to assign to SES.
         * 
         * @return builder
         * 
         */
        public Builder email(@Nullable Output email) {
            $.email = email;
            return this;
        }

        /**
         * @param email The email address to assign to SES.
         * 
         * @return builder
         * 
         */
        public Builder email(String email) {
            return email(Output.of(email));
        }

        public EmailIdentityState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy