public class ListBucketResult.Content extends Object
Constructor and Description |
---|
Content()
Constructs a new
ListBucketResult.Content . |
Content(String key,
String lastModified,
String eTag,
String size,
String storageClass)
Constructs a new
ListBucketResult.Content . |
Modifier and Type | Method and Description |
---|---|
String |
getETag() |
String |
getKey() |
String |
getLastModified() |
String |
getSize() |
String |
getStorageClass() |
void |
setETag(String eTag) |
void |
setKey(String key) |
void |
setLastModified(String lastModified) |
void |
setSize(String size) |
void |
setStorageClass(String storageClass) |
public Content()
ListBucketResult.Content
.public Content(String key, String lastModified, String eTag, String size, String storageClass)
ListBucketResult.Content
.key
- the object keylastModified
- the data and time in string format the object was last modifiedeTag
- the entity tag (MD5 hash of the object contents)size
- size in bytes of the objectstorageClass
- storage classpublic String getKey()
public String getLastModified()
public String getETag()
public String getSize()
public String getStorageClass()
public void setKey(String key)
key
- the object key to setpublic void setLastModified(String lastModified)
lastModified
- the last modified time to setpublic void setETag(String eTag)
eTag
- the ETag to setpublic void setSize(String size)
size
- the object size in bytes to setpublic void setStorageClass(String storageClass)
storageClass
- the storage class to setCopyright © 2023. All Rights Reserved.