Interface DescribeAccessResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeAccessResponse.Builder,
,DescribeAccessResponse> SdkBuilder<DescribeAccessResponse.Builder,
,DescribeAccessResponse> SdkPojo
,SdkResponse.Builder
,TransferResponse.Builder
- Enclosing class:
DescribeAccessResponse
public static interface DescribeAccessResponse.Builder
extends TransferResponse.Builder, SdkPojo, CopyableBuilder<DescribeAccessResponse.Builder,DescribeAccessResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DescribeAccessResponse.Builder
access
(Consumer<DescribedAccess.Builder> access) The external identifier of the server that the access is attached to.access
(DescribedAccess access) The external identifier of the server that the access is attached to.A system-assigned unique identifier for a server that has this access assigned.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
-
serverId
A system-assigned unique identifier for a server that has this access assigned.
- Parameters:
serverId
- A system-assigned unique identifier for a server that has this access assigned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
access
The external identifier of the server that the access is attached to.
- Parameters:
access
- The external identifier of the server that the access is attached to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
access
The external identifier of the server that the access is attached to.
This is a convenience method that creates an instance of theDescribedAccess.Builder
avoiding the need to create one manually viaDescribedAccess.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccess(DescribedAccess)
.- Parameters:
access
- a consumer that will call methods onDescribedAccess.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-