Interface ListUsersResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListUsersResponse.Builder,ListUsersResponse>,DirectoryServiceDataResponse.Builder,SdkBuilder<ListUsersResponse.Builder,ListUsersResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListUsersResponse
public static interface ListUsersResponse.Builder extends DirectoryServiceDataResponse.Builder, SdkPojo, CopyableBuilder<ListUsersResponse.Builder,ListUsersResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListUsersResponse.BuilderdirectoryId(String directoryId)The identifier (ID) of the directory that's associated with the user.ListUsersResponse.BuildernextToken(String nextToken)An encoded paging token for paginated calls that can be passed back to retrieve the next page.ListUsersResponse.Builderrealm(String realm)The domain that's associated with the user.ListUsersResponse.Builderusers(Collection<UserSummary> users)The user information that the request returns.ListUsersResponse.Builderusers(Consumer<UserSummary.Builder>... users)The user information that the request returns.ListUsersResponse.Builderusers(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 Detail
-
directoryId
ListUsersResponse.Builder directoryId(String 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
ListUsersResponse.Builder nextToken(String 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
ListUsersResponse.Builder realm(String 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
ListUsersResponse.Builder users(Collection<UserSummary> 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
ListUsersResponse.Builder users(UserSummary... 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
ListUsersResponse.Builder users(Consumer<UserSummary.Builder>... users)
The user information that the request returns.
This is a convenience method that creates an instance of theUserSummary.Builderavoiding the need to create one manually viaUserSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#users(List.) - 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:
#users(java.util.Collection)
-
-