Class PartETag
A container holding the part number, etag, and optional checksum used when completing a multipart upload.
public class PartETag : IComparable<PartETag>
- Inheritance
-
PartETag
- Implements
- Derived
- Inherited Members
Constructors
PartETag()
Default constructor.
public PartETag()
PartETag(UploadPartResponse)
Constructs an instance of PartETag from an UploadPart response
public PartETag(UploadPartResponse uploadPartResponse)
Parameters
uploadPartResponse
UploadPartResponseUploadPart response
PartETag(int, string)
Constructs an instance of PartETag and sets the part number and etag.
public PartETag(int partNumber, string eTag)
Parameters
Properties
ChecksumCRC32
Gets and sets the property ChecksumCRC32.
The base64-encoded, 32-bit CRC32 checksum of the object.
public string ChecksumCRC32 { get; set; }
Property Value
ChecksumCRC32C
Gets and sets the property ChecksumCRC32C.
The base64-encoded, 32-bit CRC32C checksum of the object.
public string ChecksumCRC32C { get; set; }
Property Value
ChecksumSHA1
Gets and sets the property ChecksumSHA1.
The base64-encoded, 160-bit SHA-1 digest of the object.
public string ChecksumSHA1 { get; set; }
Property Value
ChecksumSHA256
Gets and sets the property ChecksumSHA256.
The base64-encoded, 256-bit SHA-256 digest of the object.
public string ChecksumSHA256 { get; set; }
Property Value
ETag
The entity tag associated with the part.
public string ETag { get; set; }
Property Value
PartNumber
The part number identifying the part.
public int PartNumber { get; set; }
Property Value
Methods
CompareTo(PartETag)
Compares the current object with another object of the same type.
public int CompareTo(PartETag other)
Parameters
other
PartETagAn object to compare with this object.
Returns
- int
A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has the following meanings: Value Meaning Less than zero This object is less than the
other
parameter. Zero This object is equal toother
. Greater than zero This object is greater thanother
.