com.obs.services.model

## 类 PutObjectBasicRequest

- java.lang.Object
- - com.obs.services.model.GenericRequest
  - - com.obs.services.model.PutObjectBasicRequest

- 直接已知子类:
    CopyObjectRequest, InitiateMultipartUploadRequest, NewFolderRequest, PutObjectRequest, UploadFileRequest

      public abstract class PutObjectBasicRequest
      extends GenericRequest

- - ### 字段概要

    字段
    限定符和类型 | 字段和说明
    --- | ---
    `protected AccessControlList` | `acl`
    `protected String` | `bucketName`
    `protected Map<ExtensionObjectPermissionEnum,Set<String>>` | `extensionPermissionMap`
    `protected String` | `objectKey`
    `protected SseCHeader` | `sseCHeader`
    `protected SseKmsHeader` | `sseKmsHeader`
    `protected String` | `successRedirectLocation`

  - ### 构造器概要

    构造器
    构造器和说明
    `PutObjectBasicRequest()`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `AccessControlList` | `getAcl()` Obtain the ACL of the object.
    `Set<ExtensionObjectPermissionEnum>` | `getAllGrantPermissions()`
    `String` | `getBucketName()` Obtain the bucket name.
    `Set<String>` | `getDomainIdsByGrantPermission(ExtensionObjectPermissionEnum extensionPermissionEnum)`
    `Map<ExtensionObjectPermissionEnum,Set<String>>` | `getExtensionPermissionMap()`
    `Set<ExtensionObjectPermissionEnum>` | `getGrantPermissionsByDomainId(String domainId)`
    `String` | `getObjectKey()` Obtain the object name.
    `SseCHeader` | `getSseCHeader()` Obtain SSE-C encryption headers of the object.
    `SseKmsHeader` | `getSseKmsHeader()` Obtain SSE-KMS encryption headers of the object.
    `String` | `getSuccessRedirectLocation()` Obtain the redirection address after a successfully responded request.
    `void` | `grantExtensionPermission(String domainId, ExtensionObjectPermissionEnum extensionPermissionEnum)` Grant the OBS extension permission to users.
    `void` | `setAcl(AccessControlList acl)` Set the object ACL.
    `void` | `setBucketName(String bucketName)` Set the bucket name.
    `void` | `setExtensionPermissionMap(Map<ExtensionObjectPermissionEnum,Set<String>> extensionPermissionMap)`
    `void` | `setObjectKey(String objectKey)` Set the object name.
    `void` | `setSseCHeader(SseCHeader sseCHeader)` Set SSE-C encryption headers of the object.
    `void` | `setSseKmsHeader(SseKmsHeader sseKmsHeader)` Set SSE-KMS encryption headers of the object.
    `void` | `setSuccessRedirectLocation(String successRedirectLocation)` Set the redirection address after a successfully responded request.
    `void` | `withdrawExtensionPermission(String domainId, ExtensionObjectPermissionEnum extensionPermissionEnum)` Withdraw the OBS extension permission.
    `void` | `withdrawExtensionPermissions(String domainId)` Withdraw all OBS extension permissions.

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

      `isRequesterPays, setRequesterPays, toString`

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

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

- - ### 字段详细资料

    - #### bucketName

          protected String bucketName

    - #### objectKey

          protected String objectKey

    - #### extensionPermissionMap

          protected Map<ExtensionObjectPermissionEnum,Set<String>> extensionPermissionMap

    - #### acl

          protected AccessControlList acl

    - #### successRedirectLocation

          protected String successRedirectLocation

    - #### sseKmsHeader

          protected SseKmsHeader sseKmsHeader

    - #### sseCHeader

          protected SseCHeader sseCHeader

  - ### 构造器详细资料

    - #### PutObjectBasicRequest

          public PutObjectBasicRequest()

  - ### 方法详细资料

    - #### getBucketName

          public String getBucketName()

      Obtain the bucket name.
      返回:
        Bucket name

    - #### setBucketName

          public void setBucketName(String bucketName)

      Set the bucket name.
      参数:
        `bucketName` - Bucket name

    - #### getObjectKey

          public String getObjectKey()

      Obtain the object name.
      返回:
        Object name

    - #### setObjectKey

          public void setObjectKey(String objectKey)

      Set the object name.
      参数:
        `objectKey` - Object name

    - #### getSseKmsHeader

          public SseKmsHeader getSseKmsHeader()

      Obtain SSE-KMS encryption headers of the object.
      返回:
        SSE-KMS encryption headers

    - #### setSseKmsHeader

          public void setSseKmsHeader(SseKmsHeader sseKmsHeader)

      Set SSE-KMS encryption headers of the object.
      参数:
        `sseKmsHeader` - SSE-KMS encryption headers

    - #### getSseCHeader

          public SseCHeader getSseCHeader()

      Obtain SSE-C encryption headers of the object.
      返回:
        SSE-C encryption headers

    - #### setSseCHeader

          public void setSseCHeader(SseCHeader sseCHeader)

      Set SSE-C encryption headers of the object.
      参数:
        `sseCHeader` - SSE-C encryption headers

    - #### getAcl

          public AccessControlList getAcl()

      Obtain the ACL of the object.
      返回:
        Object ACL

    - #### setAcl

          public void setAcl(AccessControlList acl)

      Set the object ACL.
      参数:
        `acl` - Bucket ACL

    - #### getSuccessRedirectLocation

          public String getSuccessRedirectLocation()

      Obtain the redirection address after a successfully responded request.
      返回:
        Redirection address

    - #### setSuccessRedirectLocation

          public void setSuccessRedirectLocation(String successRedirectLocation)

      Set the redirection address after a successfully responded request.
      参数:
        `successRedirectLocation` - Redirection address

    - #### grantExtensionPermission

          public void grantExtensionPermission(String domainId,
                                               ExtensionObjectPermissionEnum extensionPermissionEnum)

      Grant the OBS extension permission to users.
      参数:
        `domainId` - ID of the domain to which the user belongs
        `extensionPermissionEnum` - OBS extension permission

    - #### withdrawExtensionPermission

          public void withdrawExtensionPermission(String domainId,
                                                  ExtensionObjectPermissionEnum extensionPermissionEnum)

      Withdraw the OBS extension permission.
      参数:
        `domainId` - ID of the domain to which the user belongs
        `extensionPermissionEnum` - OBS extension permission

    - #### withdrawExtensionPermissions

          public void withdrawExtensionPermissions(String domainId)

      Withdraw all OBS extension permissions.
      参数:
        `domainId` - ID of the domain to which the user belongs

    - #### getAllGrantPermissions

          public Set<ExtensionObjectPermissionEnum> getAllGrantPermissions()

    - #### getDomainIdsByGrantPermission

          public Set<String> getDomainIdsByGrantPermission(ExtensionObjectPermissionEnum extensionPermissionEnum)

    - #### getGrantPermissionsByDomainId

          public Set<ExtensionObjectPermissionEnum> getGrantPermissionsByDomainId(String domainId)

    - #### getExtensionPermissionMap

          public Map<ExtensionObjectPermissionEnum,Set<String>> getExtensionPermissionMap()

    - #### setExtensionPermissionMap

          public void setExtensionPermissionMap(Map<ExtensionObjectPermissionEnum,Set<String>> extensionPermissionMap)

Copyright © 2021. All rights reserved.