Interface CompleteSnapshotRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CompleteSnapshotRequest.Builder,
,CompleteSnapshotRequest> EbsRequest.Builder
,SdkBuilder<CompleteSnapshotRequest.Builder,
,CompleteSnapshotRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CompleteSnapshotRequest
-
Method Summary
Modifier and TypeMethodDescriptionchangedBlocksCount
(Integer changedBlocksCount) The number of blocks that were written to the snapshot.An aggregated Base-64 SHA256 checksum based on the checksums of each written block.checksumAggregationMethod
(String checksumAggregationMethod) The aggregation method used to generate the checksum.checksumAggregationMethod
(ChecksumAggregationMethod checksumAggregationMethod) The aggregation method used to generate the checksum.checksumAlgorithm
(String checksumAlgorithm) The algorithm used to generate the checksum.checksumAlgorithm
(ChecksumAlgorithm checksumAlgorithm) The algorithm used to generate the checksum.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.snapshotId
(String snapshotId) The ID of the snapshot.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.ebs.model.EbsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
snapshotId
The ID of the snapshot.
- Parameters:
snapshotId
- The ID of the snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
changedBlocksCount
The number of blocks that were written to the snapshot.
- Parameters:
changedBlocksCount
- The number of blocks that were written to the snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksumAlgorithm
The algorithm used to generate the checksum. Currently, the only supported algorithm is
SHA256
.- Parameters:
checksumAlgorithm
- The algorithm used to generate the checksum. Currently, the only supported algorithm isSHA256
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
checksumAlgorithm
The algorithm used to generate the checksum. Currently, the only supported algorithm is
SHA256
.- Parameters:
checksumAlgorithm
- The algorithm used to generate the checksum. Currently, the only supported algorithm isSHA256
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
checksumAggregationMethod
The aggregation method used to generate the checksum. Currently, the only supported aggregation method is
LINEAR
.- Parameters:
checksumAggregationMethod
- The aggregation method used to generate the checksum. Currently, the only supported aggregation method isLINEAR
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
checksumAggregationMethod
CompleteSnapshotRequest.Builder checksumAggregationMethod(ChecksumAggregationMethod checksumAggregationMethod) The aggregation method used to generate the checksum. Currently, the only supported aggregation method is
LINEAR
.- Parameters:
checksumAggregationMethod
- The aggregation method used to generate the checksum. Currently, the only supported aggregation method isLINEAR
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CompleteSnapshotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CompleteSnapshotRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-