Interface KeepOriginalAttrs
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
KeepOriginalAttrs.Jsii$Proxy
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-10-14T12:28:07.855Z")
@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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forKeepOriginalAttrsstatic final classAn implementation forKeepOriginalAttrs -
Method Summary
Modifier and TypeMethodDescriptionstatic KeepOriginalAttrs.Builderbuilder()default BooleangetEmail()Whether the email address of the user should remain the original value until the new email address is verified.default BooleangetPhone()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.BuilderofKeepOriginalAttrs
-