Class SetUserPoolMfaConfigResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderResponse
-
- software.amazon.awssdk.services.cognitoidentityprovider.model.SetUserPoolMfaConfigResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<SetUserPoolMfaConfigResponse.Builder,SetUserPoolMfaConfigResponse>
@Generated("software.amazon.awssdk:codegen") public final class SetUserPoolMfaConfigResponse extends CognitoIdentityProviderResponse implements ToCopyableBuilder<SetUserPoolMfaConfigResponse.Builder,SetUserPoolMfaConfigResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSetUserPoolMfaConfigResponse.Builder
-
Method Summary
-
Methods inherited from class software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
smsMfaConfiguration
public final SmsMfaConfigType smsMfaConfiguration()
Shows user pool SMS message configuration for MFA. Includes the message template and the SMS message sending configuration for Amazon SNS.
- Returns:
- Shows user pool SMS message configuration for MFA. Includes the message template and the SMS message sending configuration for Amazon SNS.
-
softwareTokenMfaConfiguration
public final SoftwareTokenMfaConfigType softwareTokenMfaConfiguration()
Shows user pool configuration for time-based one-time password (TOTP) MFA. Includes TOTP enabled or disabled state.
- Returns:
- Shows user pool configuration for time-based one-time password (TOTP) MFA. Includes TOTP enabled or disabled state.
-
emailMfaConfiguration
public final EmailMfaConfigType emailMfaConfiguration()
Shows user pool email message configuration for MFA. Includes the subject and body of the email message template for MFA messages. To activate this setting, advanced security features must be active in your user pool.
- Returns:
- Shows user pool email message configuration for MFA. Includes the subject and body of the email message template for MFA messages. To activate this setting, advanced security features must be active in your user pool.
-
mfaConfiguration
public final UserPoolMfaType mfaConfiguration()
The MFA configuration. Valid values include:
-
OFFMFA won't be used for any users. -
ONMFA is required for all users to sign in. -
OPTIONALMFA 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,
mfaConfigurationwill returnUserPoolMfaType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommfaConfigurationAsString().- Returns:
- The MFA configuration. Valid values include:
-
OFFMFA won't be used for any users. -
ONMFA is required for all users to sign in. -
OPTIONALMFA will be required only for individual users who have an MFA factor enabled.
-
- See Also:
UserPoolMfaType
-
-
mfaConfigurationAsString
public final String mfaConfigurationAsString()
The MFA configuration. Valid values include:
-
OFFMFA won't be used for any users. -
ONMFA is required for all users to sign in. -
OPTIONALMFA 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,
mfaConfigurationwill returnUserPoolMfaType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommfaConfigurationAsString().- Returns:
- The MFA configuration. Valid values include:
-
OFFMFA won't be used for any users. -
ONMFA is required for all users to sign in. -
OPTIONALMFA will be required only for individual users who have an MFA factor enabled.
-
- See Also:
UserPoolMfaType
-
-
webAuthnConfiguration
public final WebAuthnConfigurationType webAuthnConfiguration()
The configuration of your user pool for passkey, or webauthN, biometric and security-key devices.
- Returns:
- The configuration of your user pool for passkey, or webauthN, biometric and security-key devices.
-
toBuilder
public SetUserPoolMfaConfigResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SetUserPoolMfaConfigResponse.Builder,SetUserPoolMfaConfigResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static SetUserPoolMfaConfigResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends SetUserPoolMfaConfigResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-