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

com.pulumi.aws.cognito.outputs.RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationMfaEmail 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.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 RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationMfaEmail {
    private String htmlBody;
    private String subject;
    private String textBody;

    private RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationMfaEmail() {}
    public String htmlBody() {
        return this.htmlBody;
    }
    public String subject() {
        return this.subject;
    }
    public String textBody() {
        return this.textBody;
    }

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

    public static Builder builder(RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationMfaEmail defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String htmlBody;
        private String subject;
        private String textBody;
        public Builder() {}
        public Builder(RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationMfaEmail defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.htmlBody = defaults.htmlBody;
    	      this.subject = defaults.subject;
    	      this.textBody = defaults.textBody;
        }

        @CustomType.Setter
        public Builder htmlBody(String htmlBody) {
            if (htmlBody == null) {
              throw new MissingRequiredPropertyException("RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationMfaEmail", "htmlBody");
            }
            this.htmlBody = htmlBody;
            return this;
        }
        @CustomType.Setter
        public Builder subject(String subject) {
            if (subject == null) {
              throw new MissingRequiredPropertyException("RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationMfaEmail", "subject");
            }
            this.subject = subject;
            return this;
        }
        @CustomType.Setter
        public Builder textBody(String textBody) {
            if (textBody == null) {
              throw new MissingRequiredPropertyException("RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationMfaEmail", "textBody");
            }
            this.textBody = textBody;
            return this;
        }
        public RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationMfaEmail build() {
            final var _resultValue = new RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationMfaEmail();
            _resultValue.htmlBody = htmlBody;
            _resultValue.subject = subject;
            _resultValue.textBody = textBody;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy