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 theListUserscall, aNextTokenparameter 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 theServerIdvalue that you specify.users(Consumer<ListedUser.Builder>... users) Returns the Transfer Family users and their properties for theServerIdvalue that you specify.users(ListedUser... users) Returns the Transfer Family users and their properties for theServerIdvalue that you specify.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods 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
ListUserscall, aNextTokenparameter is returned in the output. You can then pass in a subsequent command to theNextTokenparameter to continue listing additional users.- Parameters:
nextToken- When you can get additional results from theListUserscall, aNextTokenparameter is returned in the output. You can then pass in a subsequent command to theNextTokenparameter 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
ServerIdvalue that you specify.- Parameters:
users- Returns the Transfer Family users and their properties for theServerIdvalue 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
ServerIdvalue that you specify.- Parameters:
users- Returns the Transfer Family users and their properties for theServerIdvalue 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 theServerIdvalue that you specify.ListedUser.Builderavoiding the need to create one manually viaListedUser.builder().When the
Consumercompletes,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:
-