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.Builderaccess(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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
-
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.Builderavoiding the need to create one manually viaDescribedAccess.builder().When the
Consumercompletes,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:
-