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