Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.glacier.model
Class PartListElement

java.lang.Object
  extended by com.amazonaws.services.glacier.model.PartListElement
All Implemented Interfaces:
java.io.Serializable

public class PartListElement
extends java.lang.Object
implements java.io.Serializable

A list of the part sizes of the multipart upload.

See Also:
Serialized Form

Constructor Summary
PartListElement()
          Default constructor for a new PartListElement object.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PartListElement

public PartListElement()
Default constructor for a new PartListElement object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

Method Detail

getRangeInBytes

public java.lang.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.

setRangeInBytes

public void setRangeInBytes(java.lang.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.

withRangeInBytes

public PartListElement withRangeInBytes(java.lang.String rangeInBytes)
The byte range of a part, inclusive of the upper value of the range.

Returns a reference to this object so that method calls can be chained together.

Parameters:
rangeInBytes - The byte range of a part, inclusive of the upper value of the range.
Returns:
A reference to this updated object so that method calls can be chained together.

getSHA256TreeHash

public java.lang.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.

setSHA256TreeHash

public void setSHA256TreeHash(java.lang.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 never null.

withSHA256TreeHash

public PartListElement withSHA256TreeHash(java.lang.String sHA256TreeHash)
The SHA256 tree hash value that Amazon Glacier calculated for the part. This field is never null.

Returns a reference to this object so that method calls can be chained together.

Parameters:
sHA256TreeHash - The SHA256 tree hash value that Amazon Glacier calculated for the part. This field is never null.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.