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

com.pulumi.aws.cognito.outputs.GetUserPoolEmailConfiguration 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.cognito.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class GetUserPoolEmailConfiguration {
    /**
     * @return - Configuration set used for sending emails.
     * 
     */
    private String configurationSet;
    /**
     * @return - Email sending account.
     * 
     */
    private String emailSendingAccount;
    /**
     * @return - Email sender address.
     * 
     */
    private String from;
    /**
     * @return - Reply-to email address.
     * 
     */
    private String replyToEmailAddress;
    /**
     * @return - Source Amazon Resource Name (ARN) for emails.
     * 
     */
    private String sourceArn;

    private GetUserPoolEmailConfiguration() {}
    /**
     * @return - Configuration set used for sending emails.
     * 
     */
    public String configurationSet() {
        return this.configurationSet;
    }
    /**
     * @return - Email sending account.
     * 
     */
    public String emailSendingAccount() {
        return this.emailSendingAccount;
    }
    /**
     * @return - Email sender address.
     * 
     */
    public String from() {
        return this.from;
    }
    /**
     * @return - Reply-to email address.
     * 
     */
    public String replyToEmailAddress() {
        return this.replyToEmailAddress;
    }
    /**
     * @return - Source Amazon Resource Name (ARN) for emails.
     * 
     */
    public String sourceArn() {
        return this.sourceArn;
    }

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

    public static Builder builder(GetUserPoolEmailConfiguration defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String configurationSet;
        private String emailSendingAccount;
        private String from;
        private String replyToEmailAddress;
        private String sourceArn;
        public Builder() {}
        public Builder(GetUserPoolEmailConfiguration defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.configurationSet = defaults.configurationSet;
    	      this.emailSendingAccount = defaults.emailSendingAccount;
    	      this.from = defaults.from;
    	      this.replyToEmailAddress = defaults.replyToEmailAddress;
    	      this.sourceArn = defaults.sourceArn;
        }

        @CustomType.Setter
        public Builder configurationSet(String configurationSet) {
            if (configurationSet == null) {
              throw new MissingRequiredPropertyException("GetUserPoolEmailConfiguration", "configurationSet");
            }
            this.configurationSet = configurationSet;
            return this;
        }
        @CustomType.Setter
        public Builder emailSendingAccount(String emailSendingAccount) {
            if (emailSendingAccount == null) {
              throw new MissingRequiredPropertyException("GetUserPoolEmailConfiguration", "emailSendingAccount");
            }
            this.emailSendingAccount = emailSendingAccount;
            return this;
        }
        @CustomType.Setter
        public Builder from(String from) {
            if (from == null) {
              throw new MissingRequiredPropertyException("GetUserPoolEmailConfiguration", "from");
            }
            this.from = from;
            return this;
        }
        @CustomType.Setter
        public Builder replyToEmailAddress(String replyToEmailAddress) {
            if (replyToEmailAddress == null) {
              throw new MissingRequiredPropertyException("GetUserPoolEmailConfiguration", "replyToEmailAddress");
            }
            this.replyToEmailAddress = replyToEmailAddress;
            return this;
        }
        @CustomType.Setter
        public Builder sourceArn(String sourceArn) {
            if (sourceArn == null) {
              throw new MissingRequiredPropertyException("GetUserPoolEmailConfiguration", "sourceArn");
            }
            this.sourceArn = sourceArn;
            return this;
        }
        public GetUserPoolEmailConfiguration build() {
            final var _resultValue = new GetUserPoolEmailConfiguration();
            _resultValue.configurationSet = configurationSet;
            _resultValue.emailSendingAccount = emailSendingAccount;
            _resultValue.from = from;
            _resultValue.replyToEmailAddress = replyToEmailAddress;
            _resultValue.sourceArn = sourceArn;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy