@Generated(value="software.amazon.awssdk:codegen") public final class GetUserPoolMfaConfigResponse extends CognitoIdentityProviderResponse implements ToCopyableBuilder<GetUserPoolMfaConfigResponse.Builder,GetUserPoolMfaConfigResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetUserPoolMfaConfigResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetUserPoolMfaConfigResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
UserPoolMfaType |
mfaConfiguration()
The multi-factor authentication (MFA) configuration.
|
String |
mfaConfigurationAsString()
The multi-factor authentication (MFA) configuration.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetUserPoolMfaConfigResponse.Builder> |
serializableBuilderClass() |
SmsMfaConfigType |
smsMfaConfiguration()
The SMS text message multi-factor authentication (MFA) configuration.
|
SoftwareTokenMfaConfigType |
softwareTokenMfaConfiguration()
The software token multi-factor authentication (MFA) configuration.
|
GetUserPoolMfaConfigResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final SmsMfaConfigType smsMfaConfiguration()
The SMS text message multi-factor authentication (MFA) configuration.
public final SoftwareTokenMfaConfigType softwareTokenMfaConfiguration()
The software token multi-factor authentication (MFA) configuration.
public final UserPoolMfaType mfaConfiguration()
The multi-factor authentication (MFA) configuration. Valid values include:
OFF MFA won't be used for any users.
ON MFA is required for all users to sign in.
OPTIONAL MFA will be required only for individual users who have an MFA factor activated.
If the service returns an enum value that is not available in the current SDK version, mfaConfiguration
will return UserPoolMfaType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from mfaConfigurationAsString().
OFF MFA won't be used for any users.
ON MFA is required for all users to sign in.
OPTIONAL MFA will be required only for individual users who have an MFA factor activated.
UserPoolMfaTypepublic final String mfaConfigurationAsString()
The multi-factor authentication (MFA) configuration. Valid values include:
OFF MFA won't be used for any users.
ON MFA is required for all users to sign in.
OPTIONAL MFA will be required only for individual users who have an MFA factor activated.
If the service returns an enum value that is not available in the current SDK version, mfaConfiguration
will return UserPoolMfaType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from mfaConfigurationAsString().
OFF MFA won't be used for any users.
ON MFA is required for all users to sign in.
OPTIONAL MFA will be required only for individual users who have an MFA factor activated.
UserPoolMfaTypepublic GetUserPoolMfaConfigResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetUserPoolMfaConfigResponse.Builder,GetUserPoolMfaConfigResponse>toBuilder in class AwsResponsepublic static GetUserPoolMfaConfigResponse.Builder builder()
public static Class<? extends GetUserPoolMfaConfigResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2022. All rights reserved.