public class ObjectStat extends Object
| Constructor and Description |
|---|
ObjectStat(String bucketName,
String name,
okhttp3.Headers headers)
Creates ObjectStat with given bucket name, object name and HTTP Headers from response.
|
ObjectStat(String bucketName,
String name,
ZonedDateTime createdTime,
long length,
String etag,
String contentType)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
String |
bucketName()
Returns bucket name.
|
String |
contentType()
Returns content type of object.
|
ZonedDateTime |
createdTime()
Returns created time.
|
boolean |
equals(Object o)
Checks whether given object is same as this ObjectStat.
|
String |
etag()
Returns ETag.
|
int |
hashCode()
Returns hash of this ObjectStat.
|
Map<String,List<String>> |
httpHeaders()
Gets HTTP headers.
|
long |
length()
Returns object length.
|
String |
name()
Returns object name.
|
String |
toString()
Returns ObjectStat as string.
|
public ObjectStat(String bucketName, String name, okhttp3.Headers headers)
@Deprecated public ObjectStat(String bucketName, String name, ZonedDateTime createdTime, long length, String etag, String contentType)
public boolean equals(Object o)
public String bucketName()
public String name()
public ZonedDateTime createdTime()
public long length()
public String etag()
public String contentType()