public static interface PutSnapshotBlockRequest.Builder extends EbsRequest.Builder, SdkPojo, CopyableBuilder<PutSnapshotBlockRequest.Builder,PutSnapshotBlockRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildPutSnapshotBlockRequest.Builder snapshotId(String snapshotId)
The ID of the snapshot.
snapshotId - The ID of the snapshot.PutSnapshotBlockRequest.Builder blockIndex(Integer blockIndex)
The block index of the block in which to write the data. A block index is a logical index in units of
512 KiB blocks. To identify the block index, divide the logical offset of the data in the
logical volume by the block size (logical offset of data/524288). The logical offset of the data
must be 512 KiB aligned.
blockIndex - The block index of the block in which to write the data. A block index is a logical index in units of
512 KiB blocks. To identify the block index, divide the logical offset of the data in the
logical volume by the block size (logical offset of data/524288). The logical offset of
the data must be 512 KiB aligned.PutSnapshotBlockRequest.Builder dataLength(Integer dataLength)
The size of the data to write to the block, in bytes. Currently, the only supported size is
524288 bytes.
Valid values: 524288
dataLength - The size of the data to write to the block, in bytes. Currently, the only supported size is
524288 bytes.
Valid values: 524288
PutSnapshotBlockRequest.Builder progress(Integer progress)
The progress of the write process, as a percentage.
progress - The progress of the write process, as a percentage.PutSnapshotBlockRequest.Builder checksum(String checksum)
A Base64-encoded SHA256 checksum of the data. Only SHA256 checksums are supported.
checksum - A Base64-encoded SHA256 checksum of the data. Only SHA256 checksums are supported.PutSnapshotBlockRequest.Builder checksumAlgorithm(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,
ChecksumAlgorithmPutSnapshotBlockRequest.Builder checksumAlgorithm(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,
ChecksumAlgorithmPutSnapshotBlockRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderPutSnapshotBlockRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.