Package net.solarnetwork.common.s3
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 TypeMethodDescriptionGet the metadata associated with this object.getURL()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:
getMetadatain interfacenet.solarnetwork.io.ResourceMetadataHolder- Returns:
- the metadata
-
getURL
URL getURL()Get a URL for this object.- Returns:
- a URL for this object
-