@Generated(value="com.amazonaws:awsjavasdkcodegenerator") 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 Base64 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 Base64 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 Base64 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, withSdkRequestTimeout
public 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 Base64 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 Base64 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 Base64 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 Base64 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 Base64 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
.ChecksumAlgorithm
public String getChecksumAlgorithm()
The algorithm used to generate the checksum. Currently, the only supported algorithm is SHA256
.
SHA256
.ChecksumAlgorithm
public 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
.ChecksumAlgorithm
public 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
.ChecksumAlgorithm
public 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
.ChecksumAggregationMethod
public String getChecksumAggregationMethod()
The aggregation method used to generate the checksum. Currently, the only supported aggregation method is
LINEAR
.
LINEAR
.ChecksumAggregationMethod
public 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
.ChecksumAggregationMethod
public 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
.ChecksumAggregationMethod
public String toString()
toString
in class Object
Object.toString()
public CompleteSnapshotRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()