Class CompleteSnapshotRequest

    • Method Detail

      • snapshotId

        public final String snapshotId()

        The ID of the snapshot.

        Returns:
        The ID of the snapshot.
      • changedBlocksCount

        public final Integer changedBlocksCount()

        The number of blocks that were written to the snapshot.

        Returns:
        The number of blocks that were written to the snapshot.
      • checksum

        public final 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.

        Returns:
        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.

      • checksumAlgorithmAsString

        public final String checksumAlgorithmAsString()

        The algorithm used to generate the checksum. Currently, the only supported algorithm is SHA256.

        If the service returns an enum value that is not available in the current SDK version, checksumAlgorithm will return ChecksumAlgorithm.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from checksumAlgorithmAsString().

        Returns:
        The algorithm used to generate the checksum. Currently, the only supported algorithm is SHA256.
        See Also:
        ChecksumAlgorithm
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object