Interface CompleteSnapshotRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CompleteSnapshotRequest.Builder,CompleteSnapshotRequest>,EbsRequest.Builder,SdkBuilder<CompleteSnapshotRequest.Builder,CompleteSnapshotRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CompleteSnapshotRequest
public static interface CompleteSnapshotRequest.Builder extends EbsRequest.Builder, SdkPojo, CopyableBuilder<CompleteSnapshotRequest.Builder,CompleteSnapshotRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompleteSnapshotRequest.BuilderchangedBlocksCount(Integer changedBlocksCount)The number of blocks that were written to the snapshot.CompleteSnapshotRequest.Builderchecksum(String checksum)An aggregated Base-64 SHA256 checksum based on the checksums of each written block.CompleteSnapshotRequest.BuilderchecksumAggregationMethod(String checksumAggregationMethod)The aggregation method used to generate the checksum.CompleteSnapshotRequest.BuilderchecksumAggregationMethod(ChecksumAggregationMethod checksumAggregationMethod)The aggregation method used to generate the checksum.CompleteSnapshotRequest.BuilderchecksumAlgorithm(String checksumAlgorithm)The algorithm used to generate the checksum.CompleteSnapshotRequest.BuilderchecksumAlgorithm(ChecksumAlgorithm checksumAlgorithm)The algorithm used to generate the checksum.CompleteSnapshotRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CompleteSnapshotRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CompleteSnapshotRequest.BuildersnapshotId(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 Detail
-
snapshotId
CompleteSnapshotRequest.Builder snapshotId(String 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
CompleteSnapshotRequest.Builder changedBlocksCount(Integer 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
CompleteSnapshotRequest.Builder checksum(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.
- 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
CompleteSnapshotRequest.Builder checksumAlgorithm(String 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,ChecksumAlgorithm
-
checksumAlgorithm
CompleteSnapshotRequest.Builder checksumAlgorithm(ChecksumAlgorithm 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,ChecksumAlgorithm
-
checksumAggregationMethod
CompleteSnapshotRequest.Builder checksumAggregationMethod(String 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,ChecksumAggregationMethod
-
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:
ChecksumAggregationMethod,ChecksumAggregationMethod
-
overrideConfiguration
CompleteSnapshotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CompleteSnapshotRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-