Interface ListUsersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListUsersResponse.Builder,
,ListUsersResponse> DirectoryServiceDataResponse.Builder
,SdkBuilder<ListUsersResponse.Builder,
,ListUsersResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListUsersResponse
@Mutable
@NotThreadSafe
public static interface ListUsersResponse.Builder
extends DirectoryServiceDataResponse.Builder, SdkPojo, CopyableBuilder<ListUsersResponse.Builder,ListUsersResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondirectoryId
(String directoryId) The identifier (ID) of the directory that's associated with the user.An encoded paging token for paginated calls that can be passed back to retrieve the next page.The domain that's associated with the user.users
(Collection<UserSummary> users) The user information that the request returns.users
(Consumer<UserSummary.Builder>... users) The user information that the request returns.users
(UserSummary... users) The user information that the request returns.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.directoryservicedata.model.DirectoryServiceDataResponse.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
-
directoryId
The identifier (ID) of the directory that's associated with the user.
- Parameters:
directoryId
- The identifier (ID) of the directory that's associated with the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
An encoded paging token for paginated calls that can be passed back to retrieve the next page.
- Parameters:
nextToken
- An encoded paging token for paginated calls that can be passed back to retrieve the next page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
realm
The domain that's associated with the user.
- Parameters:
realm
- The domain that's associated with the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
The user information that the request returns.
- Parameters:
users
- The user information that the request returns.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
The user information that the request returns.
- Parameters:
users
- The user information that the request returns.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
The user information that the request returns.
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 tousers(List<UserSummary>)
.- Parameters:
users
- 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:
-