类 VersionOrDeleteMarker
java.lang.Object
cn.warpin.thirdPart.huawei.obs.obs.services.model.VersionOrDeleteMarker
Versioning object information
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器限定符构造器说明privateVersionOrDeleteMarker(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.voidtoString()
-
字段详细资料
-
bucketName
-
key
-
versionId
-
isLatest
private boolean isLatest -
lastModified
-
owner
-
etag
-
size
private long size -
storageClass
-
isDeleteMarker
private boolean isDeleteMarker -
appendable
private boolean appendable
-
-
构造器详细资料
-
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
-
VersionOrDeleteMarker
-
-
方法详细资料
-
getKey
Obtain the object name.- 返回:
- Object name
-
getObjectKey
Obtain the object name.- 返回:
- Object name
-
getVersionId
Obtain the object version ID.- 返回:
- Version ID of the object
-
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
Obtain the owner of the object.- 返回:
- Owner of the object
-
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
Obtain ETag of the object.- 返回:
- Object ETag
-
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
-
toString
-