// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CompleteSnapshot`](crate::operation::complete_snapshot::builders::CompleteSnapshotFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`snapshot_id(impl Into<String>)`](crate::operation::complete_snapshot::builders::CompleteSnapshotFluentBuilder::snapshot_id) / [`set_snapshot_id(Option<String>)`](crate::operation::complete_snapshot::builders::CompleteSnapshotFluentBuilder::set_snapshot_id): <p>The ID of the snapshot.</p>
/// - [`changed_blocks_count(i32)`](crate::operation::complete_snapshot::builders::CompleteSnapshotFluentBuilder::changed_blocks_count) / [`set_changed_blocks_count(Option<i32>)`](crate::operation::complete_snapshot::builders::CompleteSnapshotFluentBuilder::set_changed_blocks_count): <p>The number of blocks that were written to the snapshot.</p>
/// - [`checksum(impl Into<String>)`](crate::operation::complete_snapshot::builders::CompleteSnapshotFluentBuilder::checksum) / [`set_checksum(Option<String>)`](crate::operation::complete_snapshot::builders::CompleteSnapshotFluentBuilder::set_checksum): <p>An aggregated Base-64 SHA256 checksum based on the checksums of each written block.</p> <p>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.</p>
/// - [`checksum_algorithm(ChecksumAlgorithm)`](crate::operation::complete_snapshot::builders::CompleteSnapshotFluentBuilder::checksum_algorithm) / [`set_checksum_algorithm(Option<ChecksumAlgorithm>)`](crate::operation::complete_snapshot::builders::CompleteSnapshotFluentBuilder::set_checksum_algorithm): <p>The algorithm used to generate the checksum. Currently, the only supported algorithm is <code>SHA256</code>.</p>
/// - [`checksum_aggregation_method(ChecksumAggregationMethod)`](crate::operation::complete_snapshot::builders::CompleteSnapshotFluentBuilder::checksum_aggregation_method) / [`set_checksum_aggregation_method(Option<ChecksumAggregationMethod>)`](crate::operation::complete_snapshot::builders::CompleteSnapshotFluentBuilder::set_checksum_aggregation_method): <p>The aggregation method used to generate the checksum. Currently, the only supported aggregation method is <code>LINEAR</code>.</p>
/// - On success, responds with [`CompleteSnapshotOutput`](crate::operation::complete_snapshot::CompleteSnapshotOutput) with field(s):
/// - [`status(Option<Status>)`](crate::operation::complete_snapshot::CompleteSnapshotOutput::status): <p>The status of the snapshot.</p>
/// - On failure, responds with [`SdkError<CompleteSnapshotError>`](crate::operation::complete_snapshot::CompleteSnapshotError)
pub fn complete_snapshot(
&self,
) -> crate::operation::complete_snapshot::builders::CompleteSnapshotFluentBuilder {
crate::operation::complete_snapshot::builders::CompleteSnapshotFluentBuilder::new(
self.handle.clone(),
)
}
}