@Generated(value="software.amazon.awssdk:codegen") public final class SetUserPoolMfaConfigResponse extends CognitoIdentityProviderResponse implements ToCopyableBuilder<SetUserPoolMfaConfigResponse.Builder,SetUserPoolMfaConfigResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
SetUserPoolMfaConfigResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SetUserPoolMfaConfigResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
UserPoolMfaType |
mfaConfiguration()
The MFA configuration.
|
String |
mfaConfigurationAsString()
The MFA configuration.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SetUserPoolMfaConfigResponse.Builder> |
serializableBuilderClass() |
SmsMfaConfigType |
smsMfaConfiguration()
The SMS text message MFA configuration.
|
SoftwareTokenMfaConfigType |
softwareTokenMfaConfiguration()
The software token MFA configuration.
|
SetUserPoolMfaConfigResponse.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 MFA configuration.
public final SoftwareTokenMfaConfigType softwareTokenMfaConfiguration()
The software token MFA configuration.
public final UserPoolMfaType mfaConfiguration()
The 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 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 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 enabled.
UserPoolMfaTypepublic final String mfaConfigurationAsString()
The 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 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 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 enabled.
UserPoolMfaTypepublic SetUserPoolMfaConfigResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SetUserPoolMfaConfigResponse.Builder,SetUserPoolMfaConfigResponse>toBuilder in class AwsResponsepublic static SetUserPoolMfaConfigResponse.Builder builder()
public static Class<? extends SetUserPoolMfaConfigResponse.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.