Class PartListElement
- java.lang.Object
-
- com.amazonaws.services.glacier.model.PartListElement
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class PartListElement extends Object implements Serializable, Cloneable
A list of the part sizes of the multipart upload.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PartListElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
setRangeInBytes
public void setRangeInBytes(String rangeInBytes)
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
public String 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
public PartListElement withRangeInBytes(String rangeInBytes)
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
public void setSHA256TreeHash(String sHA256TreeHash)
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
public String 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
public PartListElement withSHA256TreeHash(String sHA256TreeHash)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public PartListElement clone()
-
-