public class ObjectStat extends Object
| Constructor and Description |
|---|
ObjectStat(String bucketName,
String name,
Date createdTime,
long length,
String etag,
String contentType)
Creates ObjectStat with given bucket name, object name, created time, object length, Etag and content type.
|
ObjectStat(String bucketName,
String name,
ResponseHeader header)
Creates ObjectStat with given bucket name, object name, and available response header information.
|
| Modifier and Type | Method and Description |
|---|---|
String |
bucketName()
Returns bucket name.
|
String |
contentKey()
Returns encryption key.
|
String |
contentType()
Returns content type of object.
|
Date |
createdTime()
Returns created time.
|
String |
encryptionIv()
Returns encryption IV.
|
boolean |
equals(Object o)
Checks whether given object is same as this ObjectStat.
|
String |
etag()
Returns ETag.
|
int |
hashCode()
Returns hash of this ObjectStat.
|
long |
length()
Returns object length.
|
String |
matDesc()
Returns encryption material description.
|
String |
name()
Returns object name.
|
String |
toString()
Returns ObjectStat as string.
|
public ObjectStat(String bucketName, String name, ResponseHeader header)
public boolean equals(Object o)
public String bucketName()
public String name()
public Date createdTime()
public long length()
public String etag()
public String contentType()
public String contentKey()
public String encryptionIv()
public String matDesc()