public interface SwiftObject extends ModelEntity
Modifier and Type | Method and Description |
---|---|
DLPayload |
download()
Retrieves the Payload for the data backing the current object
|
DLPayload |
download(DownloadOptions options)
Retrieves the Payload for the data backing the current object
|
String |
getContainerName() |
String |
getDirectoryName()
The name of the directory
|
String |
getETag()
The MD5 checksum value of the object content.
|
Date |
getLastModified()
The date and time when the object was last modified.
|
Map<String,String> |
getMetadata()
Gets the object metadata (this is a lazy fetch)
|
String |
getMimeType()
The content type of the object
|
String |
getName()
The name of the object
|
long |
getSizeInBytes()
The total number of bytes that are stored in Object Storage for the account
|
boolean |
isDirectory()
Determines if this object is a pseudo directory
|
String getETag()
Date getLastModified()
long getSizeInBytes()
String getName()
String getDirectoryName()
String getMimeType()
String getContainerName()
boolean isDirectory()
Map<String,String> getMetadata()
DLPayload download()
DLPayload download(DownloadOptions options)
options
- the download optionsCopyright © 2017. All rights reserved.