@Stability(value=Experimental) @Internal public static final class MfaSecondFactor.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements MfaSecondFactor
MfaSecondFactorsoftware.amazon.jsii.JsiiObject.InitializationModeMfaSecondFactor.Builder, MfaSecondFactor.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(Boolean otp,
Boolean sms)
Constructor that initializes the object based on literal property values passed by the
MfaSecondFactor.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Boolean |
getOtp()
(experimental) The MFA token is a time-based one time password that is generated by a hardware or software token.
|
Boolean |
getSms()
(experimental) The MFA token is sent to the user via SMS to their verified phone numbers.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(Boolean otp, Boolean sms)
MfaSecondFactor.Builder.public final Boolean getOtp()
MfaSecondFactorDefault: false
getOtp in interface MfaSecondFactorhttps://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-mfa-totp.htmlpublic final Boolean getSms()
MfaSecondFactorDefault: true
getSms in interface MfaSecondFactorhttps://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-mfa-sms-text-message.html@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.