Interface ListAccessesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListAccessesResponse.Builder,
,ListAccessesResponse> SdkBuilder<ListAccessesResponse.Builder,
,ListAccessesResponse> SdkPojo
,SdkResponse.Builder
,TransferResponse.Builder
- Enclosing class:
ListAccessesResponse
public static interface ListAccessesResponse.Builder
extends TransferResponse.Builder, SdkPojo, CopyableBuilder<ListAccessesResponse.Builder,ListAccessesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionaccesses
(Collection<ListedAccess> accesses) Returns the accesses and their properties for theServerId
value that you specify.accesses
(Consumer<ListedAccess.Builder>... accesses) Returns the accesses and their properties for theServerId
value that you specify.accesses
(ListedAccess... accesses) Returns the accesses and their properties for theServerId
value that you specify.When you can get additional results from theListAccesses
call, aNextToken
parameter is returned in the output.A system-assigned unique identifier for a server that has users assigned to it.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, 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
ListAccesses
call, aNextToken
parameter is returned in the output. You can then pass in a subsequent command to theNextToken
parameter to continue listing additional accesses.- Parameters:
nextToken
- When you can get additional results from theListAccesses
call, aNextToken
parameter is returned in the output. You can then pass in a subsequent command to theNextToken
parameter to continue listing additional accesses.- 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 has users assigned to it.
- Parameters:
serverId
- A system-assigned unique identifier for a server that has users assigned to it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accesses
Returns the accesses and their properties for the
ServerId
value that you specify.- Parameters:
accesses
- Returns the accesses and their properties for theServerId
value that you specify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accesses
Returns the accesses and their properties for the
ServerId
value that you specify.- Parameters:
accesses
- Returns the accesses and their properties for theServerId
value that you specify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accesses
Returns the accesses and their properties for the
This is a convenience method that creates an instance of theServerId
value that you specify.ListedAccess.Builder
avoiding the need to create one manually viaListedAccess.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccesses(List<ListedAccess>)
.- Parameters:
accesses
- a consumer that will call methods onListedAccess.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-