Interface ListUsersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListUsersResponse.Builder,
,ListUsersResponse> FinspaceDataResponse.Builder
,SdkBuilder<ListUsersResponse.Builder,
,ListUsersResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListUsersResponse
@Mutable
@NotThreadSafe
public static interface ListUsersResponse.Builder
extends FinspaceDataResponse.Builder, SdkPojo, CopyableBuilder<ListUsersResponse.Builder,ListUsersResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA token that indicates where a results page should begin.users
(Collection<User> users) A list of all the users.users
(Consumer<User.Builder>... users) A list of all the users.A list of all the users.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.finspacedata.model.FinspaceDataResponse.Builder
build, responseMetadata, responseMetadata
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 Details
-
users
A list of all the users.
- Parameters:
users
- A list of all the users.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
A list of all the users.
- Parameters:
users
- A list of all the users.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
A list of all the users.
This is a convenience method that creates an instance of theUser.Builder
avoiding the need to create one manually viaUser.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tousers(List<User>)
.- Parameters:
users
- a consumer that will call methods onUser.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token that indicates where a results page should begin.
- Parameters:
nextToken
- A token that indicates where a results page should begin.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-