@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonEBSAsync extends AbstractAmazonEBS implements AmazonEBSAsync
AmazonEBSAsync
. Convenient method forms pass through to the corresponding overload
that takes a request object and an AsyncHandler
, which throws an UnsupportedOperationException
.ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
Future<CompleteSnapshotResult> |
completeSnapshotAsync(CompleteSnapshotRequest request)
Seals and completes the snapshot after all of the required blocks of data have been written to it.
|
Future<CompleteSnapshotResult> |
completeSnapshotAsync(CompleteSnapshotRequest request,
AsyncHandler<CompleteSnapshotRequest,CompleteSnapshotResult> asyncHandler)
Seals and completes the snapshot after all of the required blocks of data have been written to it.
|
Future<GetSnapshotBlockResult> |
getSnapshotBlockAsync(GetSnapshotBlockRequest request)
Returns the data in a block in an Amazon Elastic Block Store snapshot.
|
Future<GetSnapshotBlockResult> |
getSnapshotBlockAsync(GetSnapshotBlockRequest request,
AsyncHandler<GetSnapshotBlockRequest,GetSnapshotBlockResult> asyncHandler)
Returns the data in a block in an Amazon Elastic Block Store snapshot.
|
Future<ListChangedBlocksResult> |
listChangedBlocksAsync(ListChangedBlocksRequest request)
Returns information about the blocks that are different between two Amazon Elastic Block Store snapshots of the
same volume/snapshot lineage.
|
Future<ListChangedBlocksResult> |
listChangedBlocksAsync(ListChangedBlocksRequest request,
AsyncHandler<ListChangedBlocksRequest,ListChangedBlocksResult> asyncHandler)
Returns information about the blocks that are different between two Amazon Elastic Block Store snapshots of the
same volume/snapshot lineage.
|
Future<ListSnapshotBlocksResult> |
listSnapshotBlocksAsync(ListSnapshotBlocksRequest request)
Returns information about the blocks in an Amazon Elastic Block Store snapshot.
|
Future<ListSnapshotBlocksResult> |
listSnapshotBlocksAsync(ListSnapshotBlocksRequest request,
AsyncHandler<ListSnapshotBlocksRequest,ListSnapshotBlocksResult> asyncHandler)
Returns information about the blocks in an Amazon Elastic Block Store snapshot.
|
Future<PutSnapshotBlockResult> |
putSnapshotBlockAsync(PutSnapshotBlockRequest request)
Writes a block of data to a snapshot.
|
Future<PutSnapshotBlockResult> |
putSnapshotBlockAsync(PutSnapshotBlockRequest request,
AsyncHandler<PutSnapshotBlockRequest,PutSnapshotBlockResult> asyncHandler)
Writes a block of data to a snapshot.
|
Future<StartSnapshotResult> |
startSnapshotAsync(StartSnapshotRequest request)
Creates a new Amazon EBS snapshot.
|
Future<StartSnapshotResult> |
startSnapshotAsync(StartSnapshotRequest request,
AsyncHandler<StartSnapshotRequest,StartSnapshotResult> asyncHandler)
Creates a new Amazon EBS snapshot.
|
completeSnapshot, getCachedResponseMetadata, getSnapshotBlock, listChangedBlocks, listSnapshotBlocks, putSnapshotBlock, shutdown, startSnapshot
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
completeSnapshot, getCachedResponseMetadata, getSnapshotBlock, listChangedBlocks, listSnapshotBlocks, putSnapshotBlock, shutdown, startSnapshot
public Future<CompleteSnapshotResult> completeSnapshotAsync(CompleteSnapshotRequest request)
AmazonEBSAsync
Seals and completes the snapshot after all of the required blocks of data have been written to it. Completing the
snapshot changes the status to completed
. You cannot write new blocks to a snapshot after it has
been completed.
You should always retry requests that receive server (5xx
) error responses, and
ThrottlingException
and RequestThrottledException
client error responses. For more
information see Error
retries in the Amazon Elastic Compute Cloud User Guide.
completeSnapshotAsync
in interface AmazonEBSAsync
public Future<CompleteSnapshotResult> completeSnapshotAsync(CompleteSnapshotRequest request, AsyncHandler<CompleteSnapshotRequest,CompleteSnapshotResult> asyncHandler)
AmazonEBSAsync
Seals and completes the snapshot after all of the required blocks of data have been written to it. Completing the
snapshot changes the status to completed
. You cannot write new blocks to a snapshot after it has
been completed.
You should always retry requests that receive server (5xx
) error responses, and
ThrottlingException
and RequestThrottledException
client error responses. For more
information see Error
retries in the Amazon Elastic Compute Cloud User Guide.
completeSnapshotAsync
in interface AmazonEBSAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetSnapshotBlockResult> getSnapshotBlockAsync(GetSnapshotBlockRequest request)
AmazonEBSAsync
Returns the data in a block in an Amazon Elastic Block Store snapshot.
You should always retry requests that receive server (5xx
) error responses, and
ThrottlingException
and RequestThrottledException
client error responses. For more
information see Error
retries in the Amazon Elastic Compute Cloud User Guide.
getSnapshotBlockAsync
in interface AmazonEBSAsync
public Future<GetSnapshotBlockResult> getSnapshotBlockAsync(GetSnapshotBlockRequest request, AsyncHandler<GetSnapshotBlockRequest,GetSnapshotBlockResult> asyncHandler)
AmazonEBSAsync
Returns the data in a block in an Amazon Elastic Block Store snapshot.
You should always retry requests that receive server (5xx
) error responses, and
ThrottlingException
and RequestThrottledException
client error responses. For more
information see Error
retries in the Amazon Elastic Compute Cloud User Guide.
getSnapshotBlockAsync
in interface AmazonEBSAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListChangedBlocksResult> listChangedBlocksAsync(ListChangedBlocksRequest request)
AmazonEBSAsync
Returns information about the blocks that are different between two Amazon Elastic Block Store snapshots of the same volume/snapshot lineage.
You should always retry requests that receive server (5xx
) error responses, and
ThrottlingException
and RequestThrottledException
client error responses. For more
information see Error
retries in the Amazon Elastic Compute Cloud User Guide.
listChangedBlocksAsync
in interface AmazonEBSAsync
public Future<ListChangedBlocksResult> listChangedBlocksAsync(ListChangedBlocksRequest request, AsyncHandler<ListChangedBlocksRequest,ListChangedBlocksResult> asyncHandler)
AmazonEBSAsync
Returns information about the blocks that are different between two Amazon Elastic Block Store snapshots of the same volume/snapshot lineage.
You should always retry requests that receive server (5xx
) error responses, and
ThrottlingException
and RequestThrottledException
client error responses. For more
information see Error
retries in the Amazon Elastic Compute Cloud User Guide.
listChangedBlocksAsync
in interface AmazonEBSAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListSnapshotBlocksResult> listSnapshotBlocksAsync(ListSnapshotBlocksRequest request)
AmazonEBSAsync
Returns information about the blocks in an Amazon Elastic Block Store snapshot.
You should always retry requests that receive server (5xx
) error responses, and
ThrottlingException
and RequestThrottledException
client error responses. For more
information see Error
retries in the Amazon Elastic Compute Cloud User Guide.
listSnapshotBlocksAsync
in interface AmazonEBSAsync
public Future<ListSnapshotBlocksResult> listSnapshotBlocksAsync(ListSnapshotBlocksRequest request, AsyncHandler<ListSnapshotBlocksRequest,ListSnapshotBlocksResult> asyncHandler)
AmazonEBSAsync
Returns information about the blocks in an Amazon Elastic Block Store snapshot.
You should always retry requests that receive server (5xx
) error responses, and
ThrottlingException
and RequestThrottledException
client error responses. For more
information see Error
retries in the Amazon Elastic Compute Cloud User Guide.
listSnapshotBlocksAsync
in interface AmazonEBSAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PutSnapshotBlockResult> putSnapshotBlockAsync(PutSnapshotBlockRequest request)
AmazonEBSAsync
Writes a block of data to a snapshot. If the specified block contains data, the existing data is overwritten. The
target snapshot must be in the pending
state.
Data written to a snapshot must be aligned with 512-KiB sectors.
You should always retry requests that receive server (5xx
) error responses, and
ThrottlingException
and RequestThrottledException
client error responses. For more
information see Error
retries in the Amazon Elastic Compute Cloud User Guide.
putSnapshotBlockAsync
in interface AmazonEBSAsync
public Future<PutSnapshotBlockResult> putSnapshotBlockAsync(PutSnapshotBlockRequest request, AsyncHandler<PutSnapshotBlockRequest,PutSnapshotBlockResult> asyncHandler)
AmazonEBSAsync
Writes a block of data to a snapshot. If the specified block contains data, the existing data is overwritten. The
target snapshot must be in the pending
state.
Data written to a snapshot must be aligned with 512-KiB sectors.
You should always retry requests that receive server (5xx
) error responses, and
ThrottlingException
and RequestThrottledException
client error responses. For more
information see Error
retries in the Amazon Elastic Compute Cloud User Guide.
putSnapshotBlockAsync
in interface AmazonEBSAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartSnapshotResult> startSnapshotAsync(StartSnapshotRequest request)
AmazonEBSAsync
Creates a new Amazon EBS snapshot. The new snapshot enters the pending
state after the request
completes.
After creating the snapshot, use PutSnapshotBlock to write blocks of data to the snapshot.
You should always retry requests that receive server (5xx
) error responses, and
ThrottlingException
and RequestThrottledException
client error responses. For more
information see Error
retries in the Amazon Elastic Compute Cloud User Guide.
startSnapshotAsync
in interface AmazonEBSAsync
public Future<StartSnapshotResult> startSnapshotAsync(StartSnapshotRequest request, AsyncHandler<StartSnapshotRequest,StartSnapshotResult> asyncHandler)
AmazonEBSAsync
Creates a new Amazon EBS snapshot. The new snapshot enters the pending
state after the request
completes.
After creating the snapshot, use PutSnapshotBlock to write blocks of data to the snapshot.
You should always retry requests that receive server (5xx
) error responses, and
ThrottlingException
and RequestThrottledException
client error responses. For more
information see Error
retries in the Amazon Elastic Compute Cloud User Guide.
startSnapshotAsync
in interface AmazonEBSAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.