public class S3Version extends BaseVersionOrDeleteMarker
Constructor and Description |
---|
S3Version(java.lang.String key,
java.lang.String versionId) |
S3Version(java.lang.String key,
java.lang.String versionId,
boolean isLatest,
java.util.Date lastModified,
S3Owner owner) |
S3Version(java.lang.String key,
java.lang.String versionId,
boolean isLatest,
java.util.Date lastModified,
S3Owner owner,
java.lang.String etag,
long size,
java.lang.String storageClass) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEtag() |
long |
getSize() |
java.lang.String |
getStorageClass() |
boolean |
isDeleteMarker() |
java.lang.String |
toString() |
getKey, getLastModified, getOwner, getVersionId, isLatest, toVersionIds
public S3Version(java.lang.String key, java.lang.String versionId, boolean isLatest, java.util.Date lastModified, S3Owner owner, java.lang.String etag, long size, java.lang.String storageClass)
public S3Version(java.lang.String key, java.lang.String versionId, boolean isLatest, java.util.Date lastModified, S3Owner owner)
public S3Version(java.lang.String key, java.lang.String versionId)
public boolean isDeleteMarker()
isDeleteMarker
in class BaseVersionOrDeleteMarker
public java.lang.String getEtag()
public long getSize()
public java.lang.String getStorageClass()
public java.lang.String toString()
toString
in class java.lang.Object