类 VersionOrDeleteMarker
java.lang.Object
com.obs.services.model.VersionOrDeleteMarker
-
嵌套类概要
嵌套类 -
构造器概要
构造器构造器说明VersionOrDeleteMarker(String bucketName, String key, String versionId, boolean isLatest, Date lastModified, Owner owner, String etag, long size, StorageClassEnum storageClass, boolean isDeleteMarker, boolean appendable) 已过时。 -
方法概要
修饰符和类型方法说明Obtain the name of the bucket to which the versioning object belongs.getEtag()Obtain ETag of the object.getKey()Obtain the object name.Obtain the last modification date of the object.Obtain the object name.Obtain the storage class of the object.getOwner()Obtain the owner of the object.longgetSize()Obtain the object size (in bytes).Obtain the storage class of the object.Obtain the object version ID.booleanIdentify whether an object is appendable.booleanCheck whether the versioning object has been deleted.booleanisLatest()Check whether the object is of the current version.voidvoidsetObjectType(ObjectTypeEnum objectType) toString()
-
构造器详细资料
-
VersionOrDeleteMarker
@Deprecated public VersionOrDeleteMarker(String bucketName, String key, String versionId, boolean isLatest, Date lastModified, Owner owner, String etag, long size, StorageClassEnum storageClass, boolean isDeleteMarker, boolean appendable) 已过时。Constructor- 参数:
bucketName- Bucket namekey- Object nameversionId- Version IDisLatest- Identifier indicating whether the object is of the current versionlastModified- Last modification dateowner- Owneretag- ETag of the objectsize- Object size (in bytes)storageClass- Storage class of the objectisDeleteMarker- Whether the versioning object has been deletedappendable- Whether object is appendable
-
-
方法详细资料
-
getKey
-
getObjectKey
-
getVersionId
-
isLatest
public boolean isLatest()Check whether the object is of the current version.- 返回:
- Identifier indicating whether the object is of the current version
-
getLastModified
Obtain the last modification date of the object.- 返回:
- Last modification date of the object
-
getOwner
-
getStorageClass
Obtain the storage class of the object.- 返回:
- Storage class of the object
-
getObjectStorageClass
Obtain the storage class of the object.- 返回:
- Storage class of the object
-
getEtag
-
getSize
public long getSize()Obtain the object size (in bytes).- 返回:
- Object size
-
isDeleteMarker
public boolean isDeleteMarker()Check whether the versioning object has been deleted.- 返回:
- Identifier indicating whether the versioning object has been deleted
-
isAppendable
public boolean isAppendable()Identify whether an object is appendable.- 返回:
- Identifier specifying whether the object is an appendable object
-
getBucketName
Obtain the name of the bucket to which the versioning object belongs.- 返回:
- Name of the versioning object-residing bucket
-
setKey
-
getObjectType
-
setObjectType
-
toString
-