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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAccessesResponse.Builderaccesses(Collection<ListedAccess> accesses)Returns the accesses and their properties for theServerIdvalue that you specify.ListAccessesResponse.Builderaccesses(Consumer<ListedAccess.Builder>... accesses)Returns the accesses and their properties for theServerIdvalue that you specify.ListAccessesResponse.Builderaccesses(ListedAccess... accesses)Returns the accesses and their properties for theServerIdvalue that you specify.ListAccessesResponse.BuildernextToken(String nextToken)When you can get additional results from theListAccessescall, aNextTokenparameter is returned in the output.ListAccessesResponse.BuilderserverId(String serverId)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, 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
ListAccessesResponse.Builder nextToken(String nextToken)
When you can get additional results from the
ListAccessescall, aNextTokenparameter is returned in the output. You can then pass in a subsequent command to theNextTokenparameter to continue listing additional accesses.- Parameters:
nextToken- When you can get additional results from theListAccessescall, aNextTokenparameter is returned in the output. You can then pass in a subsequent command to theNextTokenparameter to continue listing additional accesses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverId
ListAccessesResponse.Builder serverId(String 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
ListAccessesResponse.Builder accesses(Collection<ListedAccess> accesses)
Returns the accesses and their properties for the
ServerIdvalue that you specify.- Parameters:
accesses- Returns the accesses and their properties for theServerIdvalue that you specify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accesses
ListAccessesResponse.Builder accesses(ListedAccess... accesses)
Returns the accesses and their properties for the
ServerIdvalue that you specify.- Parameters:
accesses- Returns the accesses and their properties for theServerIdvalue that you specify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accesses
ListAccessesResponse.Builder accesses(Consumer<ListedAccess.Builder>... accesses)
Returns the accesses and their properties for the
This is a convenience method that creates an instance of theServerIdvalue that you specify.ListedAccess.Builderavoiding the need to create one manually viaListedAccess.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#accesses(List.) - 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:
#accesses(java.util.Collection)
-
-