com.aliyun.oss.model

## 类 OSSObjectSummary

- java.lang.Object
- - com.aliyun.oss.model.OSSObjectSummary

-     public class OSSObjectSummary
      extends Object

  `OSSObject` summary information.

- - ### 构造器概要

    构造器
    构造器和说明
    `OSSObjectSummary()` Constructor.

  - ### 方法概要

    方法
    限定符和类型 | 方法和说明
    --- | ---
    `String` | `getBucketName()` Gets the `Bucket` name.
    `String` | `getETag()` Gets the object ETag.
    `String` | `getKey()` Gets the object key.
    `Date` | `getLastModified()` Gets the last modified time of the object.
    `Owner` | `getOwner()` Gets the owner of the object.
    `long` | `getSize()` Gets the object Size
    `String` | `getStorageClass()` Gets the storage class of the object.
    `String` | `getType()` Gets the type of the object.
    `void` | `setBucketName(String bucketName)` Sets the `Bucket` name.
    `void` | `setETag(String eTag)` Sets the object ETag.
    `void` | `setKey(String key)` Sets the object key.
    `void` | `setLastModified(Date lastModified)` Sets the last modified time.
    `void` | `setOwner(Owner owner)` Sets the owner of the object.
    `void` | `setSize(long size)` Sets the object size.
    `void` | `setStorageClass(String storageClass)` Sets the storage class of the object.
    `void` | `setType(String type)` Sets the type of the object.

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 构造器详细资料

    - #### OSSObjectSummary

          public OSSObjectSummary()

      Constructor.

  - ### 方法详细资料

    - #### getBucketName

          public String getBucketName()

      Gets the `Bucket` name.
      返回:
        The bucket name.

    - #### setBucketName

          public void setBucketName(String bucketName)

      Sets the `Bucket` name.
      参数:
        `bucketName` - The `Bucket` name.

    - #### getKey

          public String getKey()

      Gets the object key.
      返回:
        Object key.

    - #### setKey

          public void setKey(String key)

      Sets the object key.
      参数:
        `key` - Object key.

    - #### getETag

          public String getETag()

      Gets the object ETag. ETag is a 128bit MD5 signature about the object in hex.
      返回:
        ETag value.

    - #### setETag

          public void setETag(String eTag)

      Sets the object ETag.
      参数:
        `eTag` - ETag value.

    - #### getSize

          public long getSize()

      Gets the object Size
      返回:
        Object size.

    - #### setSize

          public void setSize(long size)

      Sets the object size.
      参数:
        `size` - Object size.

    - #### getLastModified

          public Date getLastModified()

      Gets the last modified time of the object.
      返回:
        The last modified time.

    - #### setLastModified

          public void setLastModified(Date lastModified)

      Sets the last modified time.
      参数:
        `lastModified` - Last modified time.

    - #### getOwner

          public Owner getOwner()

      Gets the owner of the object.
      返回:
        Object owner.

    - #### setOwner

          public void setOwner(Owner owner)

      Sets the owner of the object.
      参数:
        `owner` - Object owner.

    - #### getStorageClass

          public String getStorageClass()

      Gets the storage class of the object.
      返回:
        Object storage class.

    - #### setStorageClass

          public void setStorageClass(String storageClass)

      Sets the storage class of the object.
      参数:
        `storageClass` - Object storage class.

    - #### getType

          public String getType()

      Gets the type of the object.
      返回:
        Object storage class.

    - #### setType

          public void setType(String type)

      Sets the type of the object.
      参数:
        `type` - object type

Copyright © 2020. All Rights Reserved.