@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CompleteSnapshotRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CompleteSnapshotRequest() |
| Modifier and Type | Method and Description |
|---|---|
CompleteSnapshotRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getChangedBlocksCount()
The number of blocks that were written to the snapshot.
|
String |
getChecksum()
An aggregated Base-64 SHA256 checksum based on the checksums of each written block.
|
String |
getChecksumAggregationMethod()
The aggregation method used to generate the checksum.
|
String |
getChecksumAlgorithm()
The algorithm used to generate the checksum.
|
String |
getSnapshotId()
The ID of the snapshot.
|
int |
hashCode() |
void |
setChangedBlocksCount(Integer changedBlocksCount)
The number of blocks that were written to the snapshot.
|
void |
setChecksum(String checksum)
An aggregated Base-64 SHA256 checksum based on the checksums of each written block.
|
void |
setChecksumAggregationMethod(String checksumAggregationMethod)
The aggregation method used to generate the checksum.
|
void |
setChecksumAlgorithm(String checksumAlgorithm)
The algorithm used to generate the checksum.
|
void |
setSnapshotId(String snapshotId)
The ID of the snapshot.
|
String |
toString()
Returns a string representation of this object.
|
CompleteSnapshotRequest |
withChangedBlocksCount(Integer changedBlocksCount)
The number of blocks that were written to the snapshot.
|
CompleteSnapshotRequest |
withChecksum(String checksum)
An aggregated Base-64 SHA256 checksum based on the checksums of each written block.
|
CompleteSnapshotRequest |
withChecksumAggregationMethod(ChecksumAggregationMethod checksumAggregationMethod)
The aggregation method used to generate the checksum.
|
CompleteSnapshotRequest |
withChecksumAggregationMethod(String checksumAggregationMethod)
The aggregation method used to generate the checksum.
|
CompleteSnapshotRequest |
withChecksumAlgorithm(ChecksumAlgorithm checksumAlgorithm)
The algorithm used to generate the checksum.
|
CompleteSnapshotRequest |
withChecksumAlgorithm(String checksumAlgorithm)
The algorithm used to generate the checksum.
|
CompleteSnapshotRequest |
withSnapshotId(String snapshotId)
The ID of the snapshot.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setSnapshotId(String snapshotId)
The ID of the snapshot.
snapshotId - The ID of the snapshot.public String getSnapshotId()
The ID of the snapshot.
public CompleteSnapshotRequest withSnapshotId(String snapshotId)
The ID of the snapshot.
snapshotId - The ID of the snapshot.public void setChangedBlocksCount(Integer changedBlocksCount)
The number of blocks that were written to the snapshot.
changedBlocksCount - The number of blocks that were written to the snapshot.public Integer getChangedBlocksCount()
The number of blocks that were written to the snapshot.
public CompleteSnapshotRequest withChangedBlocksCount(Integer changedBlocksCount)
The number of blocks that were written to the snapshot.
changedBlocksCount - The number of blocks that were written to the snapshot.public void setChecksum(String checksum)
An aggregated Base-64 SHA256 checksum based on the checksums of each written block.
To generate the aggregated checksum using the linear aggregation method, arrange the checksums for each written block in ascending order of their block index, concatenate them to form a single string, and then generate the checksum on the entire string using the SHA256 algorithm.
checksum - An aggregated Base-64 SHA256 checksum based on the checksums of each written block.
To generate the aggregated checksum using the linear aggregation method, arrange the checksums for each written block in ascending order of their block index, concatenate them to form a single string, and then generate the checksum on the entire string using the SHA256 algorithm.
public String getChecksum()
An aggregated Base-64 SHA256 checksum based on the checksums of each written block.
To generate the aggregated checksum using the linear aggregation method, arrange the checksums for each written block in ascending order of their block index, concatenate them to form a single string, and then generate the checksum on the entire string using the SHA256 algorithm.
To generate the aggregated checksum using the linear aggregation method, arrange the checksums for each written block in ascending order of their block index, concatenate them to form a single string, and then generate the checksum on the entire string using the SHA256 algorithm.
public CompleteSnapshotRequest withChecksum(String checksum)
An aggregated Base-64 SHA256 checksum based on the checksums of each written block.
To generate the aggregated checksum using the linear aggregation method, arrange the checksums for each written block in ascending order of their block index, concatenate them to form a single string, and then generate the checksum on the entire string using the SHA256 algorithm.
checksum - An aggregated Base-64 SHA256 checksum based on the checksums of each written block.
To generate the aggregated checksum using the linear aggregation method, arrange the checksums for each written block in ascending order of their block index, concatenate them to form a single string, and then generate the checksum on the entire string using the SHA256 algorithm.
public void setChecksumAlgorithm(String checksumAlgorithm)
The algorithm used to generate the checksum. Currently, the only supported algorithm is SHA256.
checksumAlgorithm - The algorithm used to generate the checksum. Currently, the only supported algorithm is
SHA256.ChecksumAlgorithmpublic String getChecksumAlgorithm()
The algorithm used to generate the checksum. Currently, the only supported algorithm is SHA256.
SHA256.ChecksumAlgorithmpublic CompleteSnapshotRequest withChecksumAlgorithm(String checksumAlgorithm)
The algorithm used to generate the checksum. Currently, the only supported algorithm is SHA256.
checksumAlgorithm - The algorithm used to generate the checksum. Currently, the only supported algorithm is
SHA256.ChecksumAlgorithmpublic CompleteSnapshotRequest withChecksumAlgorithm(ChecksumAlgorithm checksumAlgorithm)
The algorithm used to generate the checksum. Currently, the only supported algorithm is SHA256.
checksumAlgorithm - The algorithm used to generate the checksum. Currently, the only supported algorithm is
SHA256.ChecksumAlgorithmpublic void setChecksumAggregationMethod(String checksumAggregationMethod)
The aggregation method used to generate the checksum. Currently, the only supported aggregation method is
LINEAR.
checksumAggregationMethod - The aggregation method used to generate the checksum. Currently, the only supported aggregation method is
LINEAR.ChecksumAggregationMethodpublic String getChecksumAggregationMethod()
The aggregation method used to generate the checksum. Currently, the only supported aggregation method is
LINEAR.
LINEAR.ChecksumAggregationMethodpublic CompleteSnapshotRequest withChecksumAggregationMethod(String checksumAggregationMethod)
The aggregation method used to generate the checksum. Currently, the only supported aggregation method is
LINEAR.
checksumAggregationMethod - The aggregation method used to generate the checksum. Currently, the only supported aggregation method is
LINEAR.ChecksumAggregationMethodpublic CompleteSnapshotRequest withChecksumAggregationMethod(ChecksumAggregationMethod checksumAggregationMethod)
The aggregation method used to generate the checksum. Currently, the only supported aggregation method is
LINEAR.
checksumAggregationMethod - The aggregation method used to generate the checksum. Currently, the only supported aggregation method is
LINEAR.ChecksumAggregationMethodpublic String toString()
toString in class ObjectObject.toString()public CompleteSnapshotRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()