Interface DescribeMultiRegionAccessPointOperationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeMultiRegionAccessPointOperationResponse.Builder,,DescribeMultiRegionAccessPointOperationResponse> S3ControlResponse.Builder,SdkBuilder<DescribeMultiRegionAccessPointOperationResponse.Builder,,DescribeMultiRegionAccessPointOperationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeMultiRegionAccessPointOperationResponse
public static interface DescribeMultiRegionAccessPointOperationResponse.Builder
extends S3ControlResponse.Builder, SdkPojo, CopyableBuilder<DescribeMultiRegionAccessPointOperationResponse.Builder,DescribeMultiRegionAccessPointOperationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionasyncOperation(Consumer<AsyncOperation.Builder> asyncOperation) A container element containing the details of the asynchronous operation.asyncOperation(AsyncOperation asyncOperation) A container element containing the details of the asynchronous operation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.s3control.model.S3ControlResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkHttpResponse
-
Method Details
-
asyncOperation
DescribeMultiRegionAccessPointOperationResponse.Builder asyncOperation(AsyncOperation asyncOperation) A container element containing the details of the asynchronous operation.
- Parameters:
asyncOperation- A container element containing the details of the asynchronous operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
asyncOperation
default DescribeMultiRegionAccessPointOperationResponse.Builder asyncOperation(Consumer<AsyncOperation.Builder> asyncOperation) A container element containing the details of the asynchronous operation.
This is a convenience method that creates an instance of theAsyncOperation.Builderavoiding the need to create one manually viaAsyncOperation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toasyncOperation(AsyncOperation).- Parameters:
asyncOperation- a consumer that will call methods onAsyncOperation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-