public class PartListElement
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
A list of the part sizes of the multipart upload.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
rangeInBytes
The byte range of a part, inclusive of the upper value of the range.
|
private java.lang.String |
sHA256TreeHash
The SHA256 tree hash value that Amazon Glacier calculated for the part.
|
Constructor and Description |
---|
PartListElement() |
Modifier and Type | Method and Description |
---|---|
PartListElement |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getRangeInBytes()
The byte range of a part, inclusive of the upper value of the range.
|
java.lang.String |
getSHA256TreeHash()
The SHA256 tree hash value that Amazon Glacier calculated for the part.
|
int |
hashCode() |
void |
setRangeInBytes(java.lang.String rangeInBytes)
The byte range of a part, inclusive of the upper value of the range.
|
void |
setSHA256TreeHash(java.lang.String sHA256TreeHash)
The SHA256 tree hash value that Amazon Glacier calculated for the part.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PartListElement |
withRangeInBytes(java.lang.String rangeInBytes)
The byte range of a part, inclusive of the upper value of the range.
|
PartListElement |
withSHA256TreeHash(java.lang.String sHA256TreeHash)
The SHA256 tree hash value that Amazon Glacier calculated for the part.
|
private java.lang.String rangeInBytes
The byte range of a part, inclusive of the upper value of the range.
private java.lang.String sHA256TreeHash
The SHA256 tree hash value that Amazon Glacier calculated for the part.
This field is never null
.
public void setRangeInBytes(java.lang.String rangeInBytes)
The byte range of a part, inclusive of the upper value of the range.
rangeInBytes
- The byte range of a part, inclusive of the upper value of the
range.public java.lang.String getRangeInBytes()
The byte range of a part, inclusive of the upper value of the range.
public PartListElement withRangeInBytes(java.lang.String rangeInBytes)
The byte range of a part, inclusive of the upper value of the range.
rangeInBytes
- The byte range of a part, inclusive of the upper value of the
range.public void setSHA256TreeHash(java.lang.String sHA256TreeHash)
The SHA256 tree hash value that Amazon Glacier calculated for the part.
This field is never null
.
sHA256TreeHash
- The SHA256 tree hash value that Amazon Glacier calculated for the
part. This field is never null
.public java.lang.String getSHA256TreeHash()
The SHA256 tree hash value that Amazon Glacier calculated for the part.
This field is never null
.
null
.public PartListElement withSHA256TreeHash(java.lang.String sHA256TreeHash)
The SHA256 tree hash value that Amazon Glacier calculated for the part.
This field is never null
.
sHA256TreeHash
- The SHA256 tree hash value that Amazon Glacier calculated for the
part. This field is never null
.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public PartListElement clone()
clone
in class java.lang.Object