Interface ListUsersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListUsersResponse.Builder,,ListUsersResponse> SdkBuilder<ListUsersResponse.Builder,,ListUsersResponse> SdkPojo,SdkResponse.Builder,WickrResponse.Builder
- Enclosing class:
ListUsersResponse
@Mutable
@NotThreadSafe
public static interface ListUsersResponse.Builder
extends WickrResponse.Builder, SdkPojo, CopyableBuilder<ListUsersResponse.Builder,ListUsersResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to use for retrieving the next page of results.users(Collection<User> users) A list of user objects matching the specified filters and within the current page.users(Consumer<User.Builder>... users) A list of user objects matching the specified filters and within the current page.A list of user objects matching the specified filters and within the current page.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.wickr.model.WickrResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
nextToken
The token to use for retrieving the next page of results. If this is not present, there are no more results.
- Parameters:
nextToken- The token to use for retrieving the next page of results. If this is not present, there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
A list of user objects matching the specified filters and within the current page.
- Parameters:
users- A list of user objects matching the specified filters and within the current page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
A list of user objects matching the specified filters and within the current page.
- Parameters:
users- A list of user objects matching the specified filters and within the current page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
A list of user objects matching the specified filters and within the current page.
This is a convenience method that creates an instance of theUser.Builderavoiding the need to create one manually viaUser.builder().When the
Consumercompletes,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:
-