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

com.pulumi.aws.sesv2.inputs.GetEmailIdentityArgs 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.66.3
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.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 GetEmailIdentityArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetEmailIdentityArgs Empty = new GetEmailIdentityArgs();

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

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

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

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

    private GetEmailIdentityArgs() {}

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

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

    public static final class Builder {
        private GetEmailIdentityArgs $;

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

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

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

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

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

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy