@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonEBS extends Object implements AmazonEBS
AmazonEBS. Convenient method forms pass through to the corresponding overload that
takes a request object, which throws an UnsupportedOperationException.ENDPOINT_PREFIX| Modifier | Constructor and Description |
|---|---|
protected |
AbstractAmazonEBS() |
| Modifier and Type | Method and Description |
|---|---|
CompleteSnapshotResult |
completeSnapshot(CompleteSnapshotRequest request)
Seals and completes the snapshot after all of the required blocks of data have been written to it.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
GetSnapshotBlockResult |
getSnapshotBlock(GetSnapshotBlockRequest request)
Returns the data in a block in an Amazon Elastic Block Store snapshot.
|
ListChangedBlocksResult |
listChangedBlocks(ListChangedBlocksRequest request)
Returns the block indexes and block tokens for blocks that are different between two Amazon Elastic Block Store
snapshots of the same volume/snapshot lineage.
|
ListSnapshotBlocksResult |
listSnapshotBlocks(ListSnapshotBlocksRequest request)
Returns the block indexes and block tokens for blocks in an Amazon Elastic Block Store snapshot.
|
PutSnapshotBlockResult |
putSnapshotBlock(PutSnapshotBlockRequest request)
Writes a block of data to a block in the snapshot.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
StartSnapshotResult |
startSnapshot(StartSnapshotRequest request)
Creates a new Amazon EBS snapshot.
|
public CompleteSnapshotResult completeSnapshot(CompleteSnapshotRequest request)
AmazonEBS
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.
completeSnapshot in interface AmazonEBSpublic GetSnapshotBlockResult getSnapshotBlock(GetSnapshotBlockRequest request)
AmazonEBSReturns the data in a block in an Amazon Elastic Block Store snapshot.
getSnapshotBlock in interface AmazonEBSpublic ListChangedBlocksResult listChangedBlocks(ListChangedBlocksRequest request)
AmazonEBSReturns the block indexes and block tokens for blocks that are different between two Amazon Elastic Block Store snapshots of the same volume/snapshot lineage.
listChangedBlocks in interface AmazonEBSpublic ListSnapshotBlocksResult listSnapshotBlocks(ListSnapshotBlocksRequest request)
AmazonEBSReturns the block indexes and block tokens for blocks in an Amazon Elastic Block Store snapshot.
listSnapshotBlocks in interface AmazonEBSpublic PutSnapshotBlockResult putSnapshotBlock(PutSnapshotBlockRequest request)
AmazonEBS
Writes a block of data to a block in the 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-byte sectors.
putSnapshotBlock in interface AmazonEBSpublic StartSnapshotResult startSnapshot(StartSnapshotRequest request)
AmazonEBS
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.
startSnapshot in interface AmazonEBSpublic void shutdown()
AmazonEBSpublic ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AmazonEBSResponse metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
getCachedResponseMetadata in interface AmazonEBSrequest - The originally executed request.Copyright © 2020. All rights reserved.