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

com.pulumi.aws.sesv2.inputs.GetEmailIdentityPlainArgs 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.inputs;

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 GetEmailIdentityPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetEmailIdentityPlainArgs Empty = new GetEmailIdentityPlainArgs();

    /**
     * The name of the email identity.
     * 
     */
    @Import(name="emailIdentity", required=true)
    private String emailIdentity;

    /**
     * @return The name of the email identity.
     * 
     */
    public String emailIdentity() {
        return this.emailIdentity;
    }

    /**
     * Key-value mapping of resource tags.
     * 
     */
    @Import(name="tags")
    private @Nullable Map tags;

    /**
     * @return Key-value mapping of resource tags.
     * 
     */
    public Optional> tags() {
        return Optional.ofNullable(this.tags);
    }

    private GetEmailIdentityPlainArgs() {}

    private GetEmailIdentityPlainArgs(GetEmailIdentityPlainArgs $) {
        this.emailIdentity = $.emailIdentity;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private GetEmailIdentityPlainArgs $;

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

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

        /**
         * @param emailIdentity The name of the email identity.
         * 
         * @return builder
         * 
         */
        public Builder emailIdentity(String emailIdentity) {
            $.emailIdentity = emailIdentity;
            return this;
        }

        /**
         * @param tags Key-value mapping of resource tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Map tags) {
            $.tags = tags;
            return this;
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy