Interface SearchUsersResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<SearchUsersResponse.Builder,SearchUsersResponse>,DirectoryServiceDataResponse.Builder,SdkBuilder<SearchUsersResponse.Builder,SearchUsersResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- SearchUsersResponse
public static interface SearchUsersResponse.Builder extends DirectoryServiceDataResponse.Builder, SdkPojo, CopyableBuilder<SearchUsersResponse.Builder,SearchUsersResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchUsersResponse.BuilderdirectoryId(String directoryId)The identifier (ID) of the directory where the address block is added.SearchUsersResponse.BuildernextToken(String nextToken)An encoded paging token for paginated calls that can be passed back to retrieve the next page.SearchUsersResponse.Builderrealm(String realm)The domain that's associated with the user.SearchUsersResponse.Builderusers(Collection<User> users)The user information that the request returns.SearchUsersResponse.Builderusers(Consumer<User.Builder>... users)The user information that the request returns.SearchUsersResponse.Builderusers(User... 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
SearchUsersResponse.Builder directoryId(String directoryId)
The identifier (ID) of the directory where the address block is added.
- Parameters:
directoryId- The identifier (ID) of the directory where the address block is added.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
SearchUsersResponse.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
SearchUsersResponse.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
SearchUsersResponse.Builder users(Collection<User> 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
SearchUsersResponse.Builder users(User... 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
SearchUsersResponse.Builder users(Consumer<User.Builder>... users)
The user information that the request returns.
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 to#users(List.) - 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:
#users(java.util.Collection)
-
-