Interface ListUsersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListUsersResponse.Builder,
,ListUsersResponse> SdkBuilder<ListUsersResponse.Builder,
,ListUsersResponse> SdkPojo
,SdkResponse.Builder
,TransferResponse.Builder
- Enclosing class:
ListUsersResponse
@Mutable
@NotThreadSafe
public static interface ListUsersResponse.Builder
extends TransferResponse.Builder, SdkPojo, CopyableBuilder<ListUsersResponse.Builder,ListUsersResponse>
-
Method Summary
Modifier and TypeMethodDescriptionWhen you can get additional results from theListUsers
call, aNextToken
parameter is returned in the output.A system-assigned unique identifier for a server that the users are assigned to.users
(Collection<ListedUser> users) Returns the Transfer Family users and their properties for theServerId
value that you specify.users
(Consumer<ListedUser.Builder>... users) Returns the Transfer Family users and their properties for theServerId
value that you specify.users
(ListedUser... users) Returns the Transfer Family users and their properties for theServerId
value that you specify.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
Methods inherited from interface software.amazon.awssdk.services.transfer.model.TransferResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
nextToken
When you can get additional results from the
ListUsers
call, aNextToken
parameter is returned in the output. You can then pass in a subsequent command to theNextToken
parameter to continue listing additional users.- Parameters:
nextToken
- When you can get additional results from theListUsers
call, aNextToken
parameter is returned in the output. You can then pass in a subsequent command to theNextToken
parameter to continue listing additional users.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverId
A system-assigned unique identifier for a server that the users are assigned to.
- Parameters:
serverId
- A system-assigned unique identifier for a server that the users are assigned to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
Returns the Transfer Family users and their properties for the
ServerId
value that you specify.- Parameters:
users
- Returns the Transfer Family users and their properties for theServerId
value that you specify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
Returns the Transfer Family users and their properties for the
ServerId
value that you specify.- Parameters:
users
- Returns the Transfer Family users and their properties for theServerId
value that you specify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
Returns the Transfer Family users and their properties for the
This is a convenience method that creates an instance of theServerId
value that you specify.ListedUser.Builder
avoiding the need to create one manually viaListedUser.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tousers(List<ListedUser>)
.- Parameters:
users
- a consumer that will call methods onListedUser.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-