Interface AdminGetUserResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CognitoIdentityProviderResponse.Builder,- CopyableBuilder<AdminGetUserResponse.Builder,,- AdminGetUserResponse> - SdkBuilder<AdminGetUserResponse.Builder,,- AdminGetUserResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- AdminGetUserResponse
- 
Method SummaryModifier and TypeMethodDescriptionIndicates whether the user is activated for sign-in.mfaOptions(Collection<MFAOptionType> mfaOptions) This response parameter is no longer supported. It provides information only about SMS MFA configurations.mfaOptions(Consumer<MFAOptionType.Builder>... mfaOptions) This response parameter is no longer supported. It provides information only about SMS MFA configurations.mfaOptions(MFAOptionType... mfaOptions) This response parameter is no longer supported. It provides information only about SMS MFA configurations.preferredMfaSetting(String preferredMfaSetting) The user's preferred MFA.userAttributes(Collection<AttributeType> userAttributes) An array of name-value pairs of user attributes and their values, for example"email": "testuser@example.com".userAttributes(Consumer<AttributeType.Builder>... userAttributes) An array of name-value pairs of user attributes and their values, for example"email": "testuser@example.com".userAttributes(AttributeType... userAttributes) An array of name-value pairs of user attributes and their values, for example"email": "testuser@example.com".userCreateDate(Instant userCreateDate) The date and time when the item was created.userLastModifiedDate(Instant userLastModifiedDate) The date and time when the item was modified.userMFASettingList(String... userMFASettingList) The MFA options that are activated for the user.userMFASettingList(Collection<String> userMFASettingList) The MFA options that are activated for the user.The username of the user that you requested.userStatus(String userStatus) The user's status.userStatus(UserStatusType userStatus) The user's status.Methods inherited from interface software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
usernameThe username of the user that you requested. - Parameters:
- username- The username of the user that you requested.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
userAttributesAn array of name-value pairs of user attributes and their values, for example "email": "testuser@example.com".- Parameters:
- userAttributes- An array of name-value pairs of user attributes and their values, for example- "email": "testuser@example.com".
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
userAttributesAn array of name-value pairs of user attributes and their values, for example "email": "testuser@example.com".- Parameters:
- userAttributes- An array of name-value pairs of user attributes and their values, for example- "email": "testuser@example.com".
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
userAttributesAn array of name-value pairs of user attributes and their values, for example This is a convenience method that creates an instance of the"email": "testuser@example.com".AttributeType.Builderavoiding the need to create one manually viaAttributeType.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touserAttributes(List<AttributeType>).- Parameters:
- userAttributes- a consumer that will call methods on- AttributeType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
userCreateDateThe date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java Dateobject.- Parameters:
- userCreateDate- The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java- Dateobject.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
userLastModifiedDateThe date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java Dateobject.- Parameters:
- userLastModifiedDate- The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java- Dateobject.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
enabledIndicates whether the user is activated for sign-in. - Parameters:
- enabled- Indicates whether the user is activated for sign-in.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
userStatusThe user's status. Can be one of the following: - 
 UNCONFIRMED - User has been created but not confirmed. 
- 
 CONFIRMED - User has been confirmed. 
- 
 UNKNOWN - User status isn't known. 
- 
 RESET_REQUIRED - User is confirmed, but the user must request a code and reset their password before they can sign in. 
- 
 FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in using a temporary password, but on first sign-in, the user must change their password to a new value before doing anything else. 
- 
 EXTERNAL_PROVIDER - The user signed in with a third-party identity provider. 
 - Parameters:
- userStatus- The user's status. Can be one of the following:- 
        UNCONFIRMED - User has been created but not confirmed. 
- 
        CONFIRMED - User has been confirmed. 
- 
        UNKNOWN - User status isn't known. 
- 
        RESET_REQUIRED - User is confirmed, but the user must request a code and reset their password before they can sign in. 
- 
        FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in using a temporary password, but on first sign-in, the user must change their password to a new value before doing anything else. 
- 
        EXTERNAL_PROVIDER - The user signed in with a third-party identity provider. 
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
- 
userStatusThe user's status. Can be one of the following: - 
 UNCONFIRMED - User has been created but not confirmed. 
- 
 CONFIRMED - User has been confirmed. 
- 
 UNKNOWN - User status isn't known. 
- 
 RESET_REQUIRED - User is confirmed, but the user must request a code and reset their password before they can sign in. 
- 
 FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in using a temporary password, but on first sign-in, the user must change their password to a new value before doing anything else. 
- 
 EXTERNAL_PROVIDER - The user signed in with a third-party identity provider. 
 - Parameters:
- userStatus- The user's status. Can be one of the following:- 
        UNCONFIRMED - User has been created but not confirmed. 
- 
        CONFIRMED - User has been confirmed. 
- 
        UNKNOWN - User status isn't known. 
- 
        RESET_REQUIRED - User is confirmed, but the user must request a code and reset their password before they can sign in. 
- 
        FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in using a temporary password, but on first sign-in, the user must change their password to a new value before doing anything else. 
- 
        EXTERNAL_PROVIDER - The user signed in with a third-party identity provider. 
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
- 
mfaOptionsThis response parameter is no longer supported. It provides information only about SMS MFA configurations. It doesn't provide information about time-based one-time password (TOTP) software token MFA configurations. To look up information about either type of MFA configuration, use UserMFASettingList instead. - Parameters:
- mfaOptions- This response parameter is no longer supported. It provides information only about SMS MFA configurations. It doesn't provide information about time-based one-time password (TOTP) software token MFA configurations. To look up information about either type of MFA configuration, use UserMFASettingList instead.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
mfaOptionsThis response parameter is no longer supported. It provides information only about SMS MFA configurations. It doesn't provide information about time-based one-time password (TOTP) software token MFA configurations. To look up information about either type of MFA configuration, use UserMFASettingList instead. - Parameters:
- mfaOptions- This response parameter is no longer supported. It provides information only about SMS MFA configurations. It doesn't provide information about time-based one-time password (TOTP) software token MFA configurations. To look up information about either type of MFA configuration, use UserMFASettingList instead.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
mfaOptionsThis response parameter is no longer supported. It provides information only about SMS MFA configurations. It doesn't provide information about time-based one-time password (TOTP) software token MFA configurations. To look up information about either type of MFA configuration, use UserMFASettingList instead. This is a convenience method that creates an instance of theMFAOptionType.Builderavoiding the need to create one manually viaMFAOptionType.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomfaOptions(List<MFAOptionType>).- Parameters:
- mfaOptions- a consumer that will call methods on- MFAOptionType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
preferredMfaSettingThe user's preferred MFA. Users can prefer SMS message, email message, or TOTP MFA. - Parameters:
- preferredMfaSetting- The user's preferred MFA. Users can prefer SMS message, email message, or TOTP MFA.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
userMFASettingListThe 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 are- SMS_MFA,- EMAIL_OTP, and- SOFTWARE_TOKEN_MFA.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
userMFASettingListThe 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 are- SMS_MFA,- EMAIL_OTP, and- SOFTWARE_TOKEN_MFA.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-