Interface UpdateUserRequest.Builder

    • Method Detail

      • applicationId

        UpdateUserRequest.Builder applicationId​(String applicationId)

        The identifier of the application the user is attached to.

        Parameters:
        applicationId - The identifier of the application the user is attached to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userId

        UpdateUserRequest.Builder userId​(String userId)

        The email id attached to the user.

        Parameters:
        userId - The email id attached to the user.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userAliasesToUpdate

        UpdateUserRequest.Builder userAliasesToUpdate​(Collection<UserAlias> userAliasesToUpdate)

        The user aliases attached to the user id that are to be updated.

        Parameters:
        userAliasesToUpdate - The user aliases attached to the user id that are to be updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userAliasesToUpdate

        UpdateUserRequest.Builder userAliasesToUpdate​(UserAlias... userAliasesToUpdate)

        The user aliases attached to the user id that are to be updated.

        Parameters:
        userAliasesToUpdate - The user aliases attached to the user id that are to be updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userAliasesToUpdate

        UpdateUserRequest.Builder userAliasesToUpdate​(Consumer<UserAlias.Builder>... userAliasesToUpdate)

        The user aliases attached to the user id that are to be updated.

        This is a convenience method that creates an instance of the UserAlias.Builder avoiding the need to create one manually via UserAlias.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #userAliasesToUpdate(List).

        Parameters:
        userAliasesToUpdate - a consumer that will call methods on UserAlias.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #userAliasesToUpdate(java.util.Collection)
      • userAliasesToDelete

        UpdateUserRequest.Builder userAliasesToDelete​(Collection<UserAlias> userAliasesToDelete)

        The user aliases attached to the user id that are to be deleted.

        Parameters:
        userAliasesToDelete - The user aliases attached to the user id that are to be deleted.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userAliasesToDelete

        UpdateUserRequest.Builder userAliasesToDelete​(UserAlias... userAliasesToDelete)

        The user aliases attached to the user id that are to be deleted.

        Parameters:
        userAliasesToDelete - The user aliases attached to the user id that are to be deleted.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userAliasesToDelete

        UpdateUserRequest.Builder userAliasesToDelete​(Consumer<UserAlias.Builder>... userAliasesToDelete)

        The user aliases attached to the user id that are to be deleted.

        This is a convenience method that creates an instance of the UserAlias.Builder avoiding the need to create one manually via UserAlias.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #userAliasesToDelete(List).

        Parameters:
        userAliasesToDelete - a consumer that will call methods on UserAlias.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #userAliasesToDelete(java.util.Collection)