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:
  • Constructor Details

    • PartListElement

      public PartListElement()
  • Method Details

    • 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 never null.
    • 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 never null.
      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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public PartListElement clone()
      Overrides:
      clone in class Object