com.obs.services.model

## 类 PutObjectResult

- java.lang.Object
- - com.obs.services.internal.InternalHeaderResponse
  - - com.obs.services.model.HeaderResponse
    - - com.obs.services.model.PutObjectResult

- 直接已知子类:
    ObsFSFolder

      public class PutObjectResult
      extends HeaderResponse

  Response to an object upload request

- - ### 字段概要

    - ### 从类继承的字段 com.obs.services.internal.InternalHeaderResponse

      `responseHeaders, statusCode`

  - ### 构造器概要

    构造器
    构造器和说明
    `PutObjectResult(String bucketName, String objectKey, String etag, String versionId, StorageClassEnum storageClass, String objectUrl)`
    `PutObjectResult(String bucketName, String objectKey, String etag, String versionId, String objectUrl, Map<String,Object> responseHeaders, int statusCode)`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `String` | `getBucketName()` Obtain the name of the bucket to which the object belongs.
    `String` | `getEtag()` Obtain the ETag of the object.
    `String` | `getObjectKey()` Obtain the object name.
    `StorageClassEnum` | `getObjectStorageClass()` Obtain the object storage class.
    `String` | `getObjectUrl()` Obtain the full path to the object.
    `String` | `getVersionId()` Obtain the object version ID.
    `String` | `toString()`

    - ### 从类继承的方法 com.obs.services.model.HeaderResponse

      `getRequestId, getResponseHeaders, getStatusCode`

    - ### 从类继承的方法 com.obs.services.internal.InternalHeaderResponse

      `setResponseHeaders, setStatusCode`

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

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

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

    - #### PutObjectResult

          public PutObjectResult(String bucketName,
                                 String objectKey,
                                 String etag,
                                 String versionId,
                                 StorageClassEnum storageClass,
                                 String objectUrl)

    - #### PutObjectResult

          public PutObjectResult(String bucketName,
                                 String objectKey,
                                 String etag,
                                 String versionId,
                                 String objectUrl,
                                 Map<String,Object> responseHeaders,
                                 int statusCode)

  - ### 方法详细资料

    - #### getEtag

          public String getEtag()

      Obtain the ETag of the object.
      返回:
        ETag of the object

    - #### getBucketName

          public String getBucketName()

      Obtain the name of the bucket to which the object belongs.
      返回:
        Name of the bucket to which the object belongs

    - #### getObjectKey

          public String getObjectKey()

      Obtain the object name.
      返回:
        Object name

    - #### getVersionId

          public String getVersionId()

      Obtain the object version ID.
      返回:
        Version ID of the object

    - #### getObjectStorageClass

          public StorageClassEnum getObjectStorageClass()

      Obtain the object storage class.
      返回:
        Object storage class

    - #### getObjectUrl

          public String getObjectUrl()

      Obtain the full path to the object.
      返回:
        Full path to the object

    - #### toString

          public String toString()

      覆盖:
        `toString` 在类中 `HeaderResponse`

Copyright © 2021. All rights reserved.