@Stability(value=Stable) public static final class MfaSecondFactor.Builder extends Object implements software.amazon.jsii.Builder<MfaSecondFactor>
MfaSecondFactor| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
MfaSecondFactor |
build()
Builds the configured instance.
|
MfaSecondFactor.Builder |
otp(Boolean otp)
Sets the value of
MfaSecondFactor.getOtp() |
MfaSecondFactor.Builder |
sms(Boolean sms)
Sets the value of
MfaSecondFactor.getSms() |
@Stability(value=Stable) public MfaSecondFactor.Builder otp(Boolean otp)
MfaSecondFactor.getOtp()otp - The MFA token is a time-based one time password that is generated by a hardware or software token. This parameter is required.this@Stability(value=Stable) public MfaSecondFactor.Builder sms(Boolean sms)
MfaSecondFactor.getSms()sms - The MFA token is sent to the user via SMS to their verified phone numbers. This parameter is required.this@Stability(value=Stable) public MfaSecondFactor build()
build in interface software.amazon.jsii.Builder<MfaSecondFactor>MfaSecondFactorNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.