Interface GetUserAuthFactorsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CognitoIdentityProviderResponse.Builder,CopyableBuilder<GetUserAuthFactorsResponse.Builder,GetUserAuthFactorsResponse>,SdkBuilder<GetUserAuthFactorsResponse.Builder,GetUserAuthFactorsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetUserAuthFactorsResponse
public static interface GetUserAuthFactorsResponse.Builder extends CognitoIdentityProviderResponse.Builder, SdkPojo, CopyableBuilder<GetUserAuthFactorsResponse.Builder,GetUserAuthFactorsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetUserAuthFactorsResponse.BuilderconfiguredUserAuthFactors(Collection<AuthFactorType> configuredUserAuthFactors)The authentication types that are available to the user withUSER_AUTHsign-in.GetUserAuthFactorsResponse.BuilderconfiguredUserAuthFactors(AuthFactorType... configuredUserAuthFactors)The authentication types that are available to the user withUSER_AUTHsign-in.GetUserAuthFactorsResponse.BuilderconfiguredUserAuthFactorsWithStrings(String... configuredUserAuthFactors)The authentication types that are available to the user withUSER_AUTHsign-in.GetUserAuthFactorsResponse.BuilderconfiguredUserAuthFactorsWithStrings(Collection<String> configuredUserAuthFactors)The authentication types that are available to the user withUSER_AUTHsign-in.GetUserAuthFactorsResponse.BuilderpreferredMfaSetting(String preferredMfaSetting)The user's preferred MFA setting.GetUserAuthFactorsResponse.BuilderuserMFASettingList(String... userMFASettingList)The MFA options that are activated for the user.GetUserAuthFactorsResponse.BuilderuserMFASettingList(Collection<String> userMFASettingList)The MFA options that are activated for the user.GetUserAuthFactorsResponse.Builderusername(String username)The username of the currently sign-in user.-
Methods inherited from interface software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
username
GetUserAuthFactorsResponse.Builder username(String username)
The username of the currently sign-in user.
- Parameters:
username- The username of the currently sign-in user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preferredMfaSetting
GetUserAuthFactorsResponse.Builder preferredMfaSetting(String preferredMfaSetting)
The user's preferred MFA setting.
- Parameters:
preferredMfaSetting- The user's preferred MFA setting.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userMFASettingList
GetUserAuthFactorsResponse.Builder userMFASettingList(Collection<String> userMFASettingList)
The MFA options that are activated for the user. The possible values in this list are
SMS_MFA,EMAIL_OTP, andSOFTWARE_TOKEN_MFA.- Parameters:
userMFASettingList- The MFA options that are activated for the user. The possible values in this list areSMS_MFA,EMAIL_OTP, andSOFTWARE_TOKEN_MFA.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userMFASettingList
GetUserAuthFactorsResponse.Builder userMFASettingList(String... userMFASettingList)
The MFA options that are activated for the user. The possible values in this list are
SMS_MFA,EMAIL_OTP, andSOFTWARE_TOKEN_MFA.- Parameters:
userMFASettingList- The MFA options that are activated for the user. The possible values in this list areSMS_MFA,EMAIL_OTP, andSOFTWARE_TOKEN_MFA.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuredUserAuthFactorsWithStrings
GetUserAuthFactorsResponse.Builder configuredUserAuthFactorsWithStrings(Collection<String> configuredUserAuthFactors)
The authentication types that are available to the user with
USER_AUTHsign-in.- Parameters:
configuredUserAuthFactors- The authentication types that are available to the user withUSER_AUTHsign-in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuredUserAuthFactorsWithStrings
GetUserAuthFactorsResponse.Builder configuredUserAuthFactorsWithStrings(String... configuredUserAuthFactors)
The authentication types that are available to the user with
USER_AUTHsign-in.- Parameters:
configuredUserAuthFactors- The authentication types that are available to the user withUSER_AUTHsign-in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuredUserAuthFactors
GetUserAuthFactorsResponse.Builder configuredUserAuthFactors(Collection<AuthFactorType> configuredUserAuthFactors)
The authentication types that are available to the user with
USER_AUTHsign-in.- Parameters:
configuredUserAuthFactors- The authentication types that are available to the user withUSER_AUTHsign-in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuredUserAuthFactors
GetUserAuthFactorsResponse.Builder configuredUserAuthFactors(AuthFactorType... configuredUserAuthFactors)
The authentication types that are available to the user with
USER_AUTHsign-in.- Parameters:
configuredUserAuthFactors- The authentication types that are available to the user withUSER_AUTHsign-in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-