Interface R2Bucket.R2Object

All Superinterfaces:
org.teavm.jso.JSObject
All Known Subinterfaces:
R2Bucket.R2ObjectBody
Enclosing interface:
R2Bucket

public static interface R2Bucket.R2Object extends org.teavm.jso.JSObject
An object's metadata.
Since:
1.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the custom metadata stored with the object.
    Returns the entity tag.
    Returns the HTTP metadata stored with the object.
    Returns the key.
    double
    Returns the size in bytes.
    Returns the version this write created.

    Methods inherited from interface org.teavm.jso.JSObject

    cast
  • Method Details

    • getKey

      String getKey()
      Returns the key.
      Returns:
      the key
    • getSize

      double getSize()
      Returns the size in bytes.
      Returns:
      the size in bytes
    • getEtag

      String getEtag()
      Returns the entity tag.
      Returns:
      the entity tag
    • getVersion

      String getVersion()
      Returns the version this write created.
      Returns:
      the version this write created
    • getHttpMetadata

      TSObject getHttpMetadata()
      Returns the HTTP metadata stored with the object.
      Returns:
      the HTTP metadata stored with the object
    • getCustomMetadata

      TSObject getCustomMetadata()
      Returns the custom metadata stored with the object.
      Returns:
      the custom metadata stored with the object