com.pulumi.aws.cognito.inputs.RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationBlockEmailArgs Maven / Gradle / Ivy
// *** 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.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationBlockEmailArgs extends com.pulumi.resources.ResourceArgs {
public static final RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationBlockEmailArgs Empty = new RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationBlockEmailArgs();
/**
* The email HTML body.
*
*/
@Import(name="htmlBody", required=true)
private Output htmlBody;
/**
* @return The email HTML body.
*
*/
public Output htmlBody() {
return this.htmlBody;
}
/**
* The email subject.
*
*/
@Import(name="subject", required=true)
private Output subject;
/**
* @return The email subject.
*
*/
public Output subject() {
return this.subject;
}
/**
* The email text body.
*
*/
@Import(name="textBody", required=true)
private Output textBody;
/**
* @return The email text body.
*
*/
public Output textBody() {
return this.textBody;
}
private RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationBlockEmailArgs() {}
private RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationBlockEmailArgs(RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationBlockEmailArgs $) {
this.htmlBody = $.htmlBody;
this.subject = $.subject;
this.textBody = $.textBody;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationBlockEmailArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationBlockEmailArgs $;
public Builder() {
$ = new RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationBlockEmailArgs();
}
public Builder(RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationBlockEmailArgs defaults) {
$ = new RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationBlockEmailArgs(Objects.requireNonNull(defaults));
}
/**
* @param htmlBody The email HTML body.
*
* @return builder
*
*/
public Builder htmlBody(Output htmlBody) {
$.htmlBody = htmlBody;
return this;
}
/**
* @param htmlBody The email HTML body.
*
* @return builder
*
*/
public Builder htmlBody(String htmlBody) {
return htmlBody(Output.of(htmlBody));
}
/**
* @param subject The email subject.
*
* @return builder
*
*/
public Builder subject(Output subject) {
$.subject = subject;
return this;
}
/**
* @param subject The email subject.
*
* @return builder
*
*/
public Builder subject(String subject) {
return subject(Output.of(subject));
}
/**
* @param textBody The email text body.
*
* @return builder
*
*/
public Builder textBody(Output textBody) {
$.textBody = textBody;
return this;
}
/**
* @param textBody The email text body.
*
* @return builder
*
*/
public Builder textBody(String textBody) {
return textBody(Output.of(textBody));
}
public RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationBlockEmailArgs build() {
if ($.htmlBody == null) {
throw new MissingRequiredPropertyException("RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationBlockEmailArgs", "htmlBody");
}
if ($.subject == null) {
throw new MissingRequiredPropertyException("RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationBlockEmailArgs", "subject");
}
if ($.textBody == null) {
throw new MissingRequiredPropertyException("RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationBlockEmailArgs", "textBody");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy