@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.672Z") @Stability(value=Stable) public interface KeepOriginalAttrs extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
KeepOriginalAttrs.Builder
A builder for
KeepOriginalAttrs |
static class |
KeepOriginalAttrs.Jsii$Proxy
An implementation for
KeepOriginalAttrs |
| Modifier and Type | Method and Description |
|---|---|
static 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.
|
@Stability(value=Stable) @Nullable default Boolean getEmail()
Default: - false
@Stability(value=Stable) @Nullable default Boolean getPhone()
Default: - false
@Stability(value=Stable) static KeepOriginalAttrs.Builder builder()
KeepOriginalAttrs.Builder of KeepOriginalAttrsCopyright © 2022. All rights reserved.