public class PartListElement extends Object implements Serializable, Cloneable
A list of the part sizes of the multipart upload.
Constructor and Description |
---|
PartListElement()
Default constructor for a new PartListElement object.
|
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 PartListElement()
public String getRangeInBytes()
public void setRangeInBytes(String rangeInBytes)
rangeInBytes
- The byte range of a part, inclusive of the upper value of the range.public PartListElement withRangeInBytes(String rangeInBytes)
Returns a reference to this object so that method calls can be chained together.
rangeInBytes
- The byte range of a part, inclusive of the upper value of the range.public String getSHA256TreeHash()
null
.null
.public void setSHA256TreeHash(String sHA256TreeHash)
null
.sHA256TreeHash
- The SHA256 tree hash value that Amazon Glacier calculated for the
part. This field is never null
.public PartListElement withSHA256TreeHash(String sHA256TreeHash)
null
.
Returns a reference to this object so that method calls can be chained together.
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 © 2013 Amazon Web Services, Inc. All Rights Reserved.