Class PartListElement
java.lang.Object
com.amazonaws.services.glacier.model.PartListElement
- All Implemented Interfaces:
Serializable, Cloneable
A list of the part sizes of the multipart upload.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe byte range of a part, inclusive of the upper value of the range.The SHA256 tree hash value that Amazon Glacier calculated for the part.inthashCode()voidsetRangeInBytes(String rangeInBytes) The byte range of a part, inclusive of the upper value of the range.voidsetSHA256TreeHash(String sHA256TreeHash) The SHA256 tree hash value that Amazon Glacier calculated for the part.toString()Returns a string representation of this object; useful for testing and debugging.withRangeInBytes(String rangeInBytes) The byte range of a part, inclusive of the upper value of the range.withSHA256TreeHash(String sHA256TreeHash) The SHA256 tree hash value that Amazon Glacier calculated for the part.
-
Constructor Details
-
PartListElement
public PartListElement()
-
-
Method Details
-
setRangeInBytes
The byte range of a part, inclusive of the upper value of the range.
- Parameters:
rangeInBytes- The byte range of a part, inclusive of the upper value of the range.
-
getRangeInBytes
The byte range of a part, inclusive of the upper value of the range.
- Returns:
- The byte range of a part, inclusive of the upper value of the range.
-
withRangeInBytes
The byte range of a part, inclusive of the upper value of the range.
- Parameters:
rangeInBytes- The byte range of a part, inclusive of the upper value of the range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSHA256TreeHash
The SHA256 tree hash value that Amazon Glacier calculated for the part. This field is never
null.- Parameters:
sHA256TreeHash- The SHA256 tree hash value that Amazon Glacier calculated for the part. This field is nevernull.
-
getSHA256TreeHash
The SHA256 tree hash value that Amazon Glacier calculated for the part. This field is never
null.- Returns:
- The SHA256 tree hash value that Amazon Glacier calculated for the
part. This field is never
null.
-
withSHA256TreeHash
The SHA256 tree hash value that Amazon Glacier calculated for the part. This field is never
null.- Parameters:
sHA256TreeHash- The SHA256 tree hash value that Amazon Glacier calculated for the part. This field is nevernull.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-