Class PartListElement

    • Constructor Detail

      • PartListElement

        public PartListElement()
    • 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 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object