Interface S3Object

All Superinterfaces:
org.springframework.core.io.InputStreamSource, net.solarnetwork.io.ResourceMetadataHolder
All Known Implementing Classes:
SdkS3Object

public interface S3Object extends org.springframework.core.io.InputStreamSource, net.solarnetwork.io.ResourceMetadataHolder
API for an object in S3.
Version:
1.0
Author:
matt
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the metadata associated with this object.
    Get a URL for this object.

    Methods inherited from interface org.springframework.core.io.InputStreamSource

    getInputStream
  • Method Details

    • getMetadata

      S3ObjectMetadata getMetadata()
      Get the metadata associated with this object.
      Specified by:
      getMetadata in interface net.solarnetwork.io.ResourceMetadataHolder
      Returns:
      the metadata
    • getURL

      URL getURL()
      Get a URL for this object.
      Returns:
      a URL for this object