final class ObjectMetadata extends AnyRef

Modelled after com.amazonaws.services.s3.model.ObjectMetadata

Source
model.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ObjectMetadata
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. lazy val cacheControl: Option[String]

    Gets the optional Cache-Control header

  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. lazy val contentLength: Long

    Gets the Content-Length HTTP header indicating the size of the associated object in bytes.

    Gets the Content-Length HTTP header indicating the size of the associated object in bytes.

    This field is required when uploading objects to S3, but the AWS S3 Java client will automatically set it when working directly with files. When uploading directly from a stream, set this field if possible. Otherwise the client must buffer the entire stream in order to calculate the content length before sending the data to Amazon S3.

    For more information on the Content-Length HTTP header, see https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.13

    returns

    The Content-Length HTTP header indicating the size of the associated object in bytes.

    See also

    ObjectMetadata#setContentLength(long)

  8. lazy val contentType: Option[String]

    Gets the Content-Type HTTP header, which indicates the type of content stored in the associated object.

    Gets the Content-Type HTTP header, which indicates the type of content stored in the associated object. The value of this header is a standard MIME type.

    When uploading files, the AWS S3 Java client will attempt to determine the correct content type if one hasn't been set yet. Users are responsible for ensuring a suitable content type is set when uploading streams. If no content type is provided and cannot be determined by the filename, the default content type, "application/octet-stream", will be used.

    For more information on the Content-Type header, see https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17

    returns

    The HTTP Content-Type header, indicating the type of content stored in the associated S3 object.

    See also

    ObjectMetadata#setContentType(String)

  9. lazy val eTag: Option[String]

    Gets the hex encoded 128-bit MD5 digest of the associated object according to RFC 1864.

    Gets the hex encoded 128-bit MD5 digest of the associated object according to RFC 1864. This data is used as an integrity check to verify that the data received by the caller is the same data that was sent by Amazon S3.

    This field represents the hex encoded 128-bit MD5 digest of an object's content as calculated by Amazon S3. The ContentMD5 field represents the base64 encoded 128-bit MD5 digest as calculated on the caller's side.

    returns

    The hex encoded MD5 hash of the content for the associated object as calculated by Amazon S3.

  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. def getCacheControl: Optional[String]

    Java Api

    Java Api

    Gets the optional Cache-Control header

  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def getContentLength: Long

    Java Api

    Java Api

    Gets the Content-Length HTTP header indicating the size of the associated object in bytes.

    This field is required when uploading objects to S3, but the AWS S3 Java client will automatically set it when working directly with files. When uploading directly from a stream, set this field if possible. Otherwise the client must buffer the entire stream in order to calculate the content length before sending the data to Amazon S3.

    For more information on the Content-Length HTTP header, see https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.13

    returns

    The Content-Length HTTP header indicating the size of the associated object in bytes.

    See also

    ObjectMetadata#setContentLength(long)

  16. def getContentType: Optional[String]

    Java Api

    Java Api

    Gets the Content-Type HTTP header, which indicates the type of content stored in the associated object. The value of this header is a standard MIME type.

    When uploading files, the AWS S3 Java client will attempt to determine the correct content type if one hasn't been set yet. Users are responsible for ensuring a suitable content type is set when uploading streams. If no content type is provided and cannot be determined by the filename, the default content type, "application/octet-stream", will be used.

    For more information on the Content-Type header, see https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17

    returns

    The HTTP Content-Type header, indicating the type of content stored in the associated S3 object.

    See also

    ObjectMetadata#setContentType(String)

  17. lazy val getETag: Optional[String]

    Java Api

    Java Api

    Gets the hex encoded 128-bit MD5 digest of the associated object according to RFC 1864. This data is used as an integrity check to verify that the data received by the caller is the same data that was sent by Amazon S3.

    This field represents the hex encoded 128-bit MD5 digest of an object's content as calculated by Amazon S3. The ContentMD5 field represents the base64 encoded 128-bit MD5 digest as calculated on the caller's side.

    returns

    The hex encoded MD5 hash of the content for the associated object as calculated by Amazon S3.

  18. def getLastModified: DateTime

    Java Api

    Java Api

    Gets the value of the Last-Modified header, indicating the date and time at which Amazon S3 last recorded a modification to the associated object.

    returns

    The date and time at which Amazon S3 last recorded a modification to the associated object.

  19. def getVersionId: Optional[String]

    Java Api

    Java Api

    Gets the value of the version id header. The version id will only be available if the versioning is enabled in the bucket

    returns

    optional version id of the object

  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. lazy val headers: List[HttpHeader]

    Java Api

  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. lazy val lastModified: DateTime

    Gets the value of the Last-Modified header, indicating the date and time at which Amazon S3 last recorded a modification to the associated object.

    Gets the value of the Last-Modified header, indicating the date and time at which Amazon S3 last recorded a modification to the associated object.

    returns

    The date and time at which Amazon S3 last recorded a modification to the associated object.

  24. val metadata: Seq[HttpHeader]
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. lazy val versionId: Option[String]

    Gets the value of the version id header.

    Gets the value of the version id header. The version id will only be available if the versioning is enabled in the bucket

    returns

    optional version id of the object

  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped