@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 (MFA) configuration.
|
String |
mfaConfigurationAsString()
The multi-factor (MFA) configuration.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetUserPoolMfaConfigResponse.Builder> |
serializableBuilderClass() |
SmsMfaConfigType |
smsMfaConfiguration()
The SMS text message multi-factor (MFA) configuration.
|
SoftwareTokenMfaConfigType |
softwareTokenMfaConfiguration()
The software token multi-factor (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 (MFA) configuration.
public final SoftwareTokenMfaConfigType softwareTokenMfaConfiguration()
The software token multi-factor (MFA) configuration.
public final UserPoolMfaType mfaConfiguration()
The multi-factor (MFA) configuration. Valid values include:
OFF MFA will not 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 enabled.
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 will not 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 enabled.
UserPoolMfaTypepublic final String mfaConfigurationAsString()
The multi-factor (MFA) configuration. Valid values include:
OFF MFA will not 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 enabled.
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 will not 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 enabled.
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 © 2021. All rights reserved.