Interface ListUsersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ConnectResponse.Builder
,CopyableBuilder<ListUsersResponse.Builder,
,ListUsersResponse> SdkBuilder<ListUsersResponse.Builder,
,ListUsersResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListUsersResponse
@Mutable
@NotThreadSafe
public static interface ListUsersResponse.Builder
extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<ListUsersResponse.Builder,ListUsersResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf there are additional results, this is the token for the next set of results.userSummaryList
(Collection<UserSummary> userSummaryList) Information about the users.userSummaryList
(Consumer<UserSummary.Builder>... userSummaryList) Information about the users.userSummaryList
(UserSummary... userSummaryList) Information about the users.Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectResponse.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 Details
-
userSummaryList
Information about the users.
- Parameters:
userSummaryList
- Information about the users.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userSummaryList
Information about the users.
- Parameters:
userSummaryList
- Information about the users.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userSummaryList
Information about the users.
This is a convenience method that creates an instance of theUserSummary.Builder
avoiding the need to create one manually viaUserSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed touserSummaryList(List<UserSummary>)
.- Parameters:
userSummaryList
- a consumer that will call methods onUserSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If there are additional results, this is the token for the next set of results.
- Parameters:
nextToken
- If there are additional results, this is the token for the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-