类 VersionOrDeleteMarker

java.lang.Object
cn.warpin.thirdPart.huawei.obs.obs.services.model.VersionOrDeleteMarker

public class VersionOrDeleteMarker extends Object
Versioning object information
  • 字段详细资料

    • bucketName

      private String bucketName
    • key

      private String key
    • versionId

      private String versionId
    • isLatest

      private boolean isLatest
    • lastModified

      private Date lastModified
    • owner

      private Owner owner
    • etag

      private String etag
    • size

      private long size
    • storageClass

      private StorageClassEnum 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 name
      key - Object name
      versionId - Version ID
      isLatest - Identifier indicating whether the object is of the current version
      lastModified - Last modification date
      owner - Owner
      etag - ETag of the object
      size - Object size (in bytes)
      storageClass - Storage class of the object
      isDeleteMarker - Whether the versioning object has been deleted
      appendable - Whether object is appendable
    • VersionOrDeleteMarker

      private VersionOrDeleteMarker(VersionOrDeleteMarker.Builder builder)
  • 方法详细资料

    • getKey

      public String getKey()
      Obtain the object name.
      返回:
      Object name
    • getObjectKey

      public String getObjectKey()
      Obtain the object name.
      返回:
      Object name
    • getVersionId

      public String 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

      public Date getLastModified()
      Obtain the last modification date of the object.
      返回:
      Last modification date of the object
    • getOwner

      public Owner getOwner()
      Obtain the owner of the object.
      返回:
      Owner of the object
    • getStorageClass

      public String getStorageClass()
      Obtain the storage class of the object.
      返回:
      Storage class of the object
    • getObjectStorageClass

      public StorageClassEnum getObjectStorageClass()
      Obtain the storage class of the object.
      返回:
      Storage class of the object
    • getEtag

      public String 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

      public String getBucketName()
      Obtain the name of the bucket to which the versioning object belongs.
      返回:
      Name of the versioning object-residing bucket
    • setKey

      public void setKey(String key)
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object