public class S3ObjectSummary extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected String |
bucketName
The name of the bucket in which this object is stored
|
protected String |
eTag
Hex encoded MD5 hash of this object's contents, as computed by Amazon S3
|
protected String |
key
The key under which this object is stored
|
protected LocalDateTime |
lastModified
The date, according to Amazon S3, when this object was last modified
|
protected Owner |
owner
The owner of this object - can be null if the requester doesn't have permission to view object ownership information
|
protected long |
size
The size of this object, in bytes
|
protected String |
storageClass
The class of storage used by Amazon S3 to store this object
|
| Constructor and Description |
|---|
S3ObjectSummary() |
S3ObjectSummary(String bucketName,
String key,
String eTag,
long size,
LocalDateTime lastModified,
String storageClass,
Owner owner) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getBucketName()
Gets the name of the Amazon S3 bucket in which this object is stored.
|
String |
getETag()
Gets the hex encoded 128-bit MD5 hash of this object's contents as computed by Amazon S3.
|
String |
getKey()
Gets the key under which this object is stored in Amazon S3.
|
LocalDateTime |
getLastModified()
Gets the date when, according to Amazon S3, this object was last modified.
|
Owner |
getOwner()
Gets the owner of this object.
|
long |
getSize()
Gets the size of this object in bytes.
|
String |
getStorageClass()
Gets the storage class used by Amazon S3 for this object.
|
int |
hashCode() |
protected String bucketName
protected String key
protected String eTag
protected long size
protected LocalDateTime lastModified
protected String storageClass
protected Owner owner
public String getBucketName()
public String getKey()
public String getETag()
public long getSize()
public LocalDateTime getLastModified()
public Owner getOwner()
null if the requester doesn't have Permission.READ_ACP permission for this object or owns the bucket in which it
resides.null if the requester doesn't have permission to see object ownership.public String getStorageClass()
Copyright © 2021 MuleSoft, Inc.. All rights reserved.