Interface ListUsersResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListUsersResponse.Builder,ListUsersResponse>,SdkBuilder<ListUsersResponse.Builder,ListUsersResponse>,SdkPojo,SdkResponse.Builder,TransferResponse.Builder
- Enclosing class:
- ListUsersResponse
public static interface ListUsersResponse.Builder extends TransferResponse.Builder, SdkPojo, CopyableBuilder<ListUsersResponse.Builder,ListUsersResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListUsersResponse.BuildernextToken(String nextToken)When you can get additional results from theListUserscall, aNextTokenparameter is returned in the output.ListUsersResponse.BuilderserverId(String serverId)A system-assigned unique identifier for a server that the users are assigned to.ListUsersResponse.Builderusers(Collection<ListedUser> users)Returns the Transfer Family users and their properties for theServerIdvalue that you specify.ListUsersResponse.Builderusers(Consumer<ListedUser.Builder>... users)Returns the Transfer Family users and their properties for theServerIdvalue that you specify.ListUsersResponse.Builderusers(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
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 Detail
-
nextToken
ListUsersResponse.Builder nextToken(String 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
ListUsersResponse.Builder serverId(String 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
ListUsersResponse.Builder users(Collection<ListedUser> 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
ListUsersResponse.Builder users(ListedUser... 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
ListUsersResponse.Builder users(Consumer<ListedUser.Builder>... 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 to#users(List.) - 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:
#users(java.util.Collection)
-
-