public class Item extends Object
ListBucketResult and ListBucketResultV1.| Constructor and Description |
|---|
Item() |
Item(String prefix)
Constructs a new Item for prefix i.e.
|
| Modifier and Type | Method and Description |
|---|---|
String |
etag()
Returns ETag of the object.
|
boolean |
isDir()
Returns whether the object is a directory or not.
|
ZonedDateTime |
lastModified()
Returns last modified time of the object.
|
String |
objectName()
Returns object name.
|
Owner |
owner()
Returns owner object of given the object.
|
long |
size()
Returns object size.
|
String |
storageClass()
Returns storage class of the object.
|
Map<String,String> |
userMetadata()
Returns user metadata.
|
public Item()
public Item(String prefix)
public String objectName()
public ZonedDateTime lastModified()
public String etag()
public long size()
public String storageClass()
public Owner owner()
public Map<String,String> userMetadata()
public boolean isDir()