Interface KeepOriginalAttrs
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
KeepOriginalAttrs.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2025-01-10T21:56:48.918Z")
@Stability(Stable)
public interface KeepOriginalAttrs
extends software.amazon.jsii.JsiiSerializable
Attributes that will be kept until the user verifies the changed attribute.
Example:
UserPool.Builder.create(this, "myuserpool") // ... .signInAliases(SignInAliases.builder().username(true).build()) .autoVerify(AutoVerifiedAttrs.builder().email(true).phone(true).build()) .keepOriginal(KeepOriginalAttrs.builder() .email(true) .phone(true) .build()) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forKeepOriginalAttrs
static final class
An implementation forKeepOriginalAttrs
-
Method Summary
Modifier and TypeMethodDescriptionstatic KeepOriginalAttrs.Builder
builder()
default Boolean
getEmail()
Whether the email address of the user should remain the original value until the new email address is verified.default Boolean
getPhone()
Whether the phone number of the user should remain the original value until the new phone number is verified.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEmail
Whether the email address of the user should remain the original value until the new email address is verified.Default: - false
-
getPhone
Whether the phone number of the user should remain the original value until the new phone number is verified.Default: - false
-
builder
- Returns:
- a
KeepOriginalAttrs.Builder
ofKeepOriginalAttrs
-