Class PartListElement

    • Method Detail

      • rangeInBytes

        public final String rangeInBytes()

        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.
      • sha256TreeHash

        public final String sha256TreeHash()

        The SHA256 tree hash value that Amazon S3 Glacier calculated for the part. This field is never null.

        Returns:
        The SHA256 tree hash value that Amazon S3 Glacier calculated for the part. This field is never null.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)