com.obs.services.model.fs

## 类 NewFileRequest

- java.lang.Object
- - com.obs.services.model.GenericRequest
  - - com.obs.services.model.PutObjectBasicRequest
    - - com.obs.services.model.PutObjectRequest
      - - com.obs.services.model.fs.NewFileRequest

-     public class NewFileRequest
      extends PutObjectRequest

  Parameters in a file creation request

- - ### 字段概要

    - ### 从类继承的字段 com.obs.services.model.PutObjectRequest

      `expires, file, input, metadata, offset`

    - ### 从类继承的字段 com.obs.services.model.PutObjectBasicRequest

      `acl, bucketName, extensionPermissionMap, objectKey, sseCHeader, sseKmsHeader, successRedirectLocation`

  - ### 构造器概要

    构造器
    构造器和说明
    `NewFileRequest()`
    `NewFileRequest(String bucketName, String objectKey)` Constructor
    `NewFileRequest(String bucketName, String objectKey, File file)` Constructor
    `NewFileRequest(String bucketName, String objectKey, InputStream input)` Constructor

  - ### 方法概要

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

      `getExpires, getFile, getInput, getMetadata, getOffset, getProgressInterval, getProgressListener, isAutoClose, setAutoClose, setExpires, setFile, setInput, setMetadata, setOffset, setProgressInterval, setProgressListener, toString`

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

      `getAcl, getAllGrantPermissions, getBucketName, getDomainIdsByGrantPermission, getExtensionPermissionMap, getGrantPermissionsByDomainId, getObjectKey, getSseCHeader, getSseKmsHeader, getSuccessRedirectLocation, grantExtensionPermission, setAcl, setBucketName, setExtensionPermissionMap, setObjectKey, setSseCHeader, setSseKmsHeader, setSuccessRedirectLocation, withdrawExtensionPermission, withdrawExtensionPermissions`

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

      `isRequesterPays, setRequesterPays`

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

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

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

    - #### NewFileRequest

          public NewFileRequest()

    - #### NewFileRequest

          public NewFileRequest(String bucketName,
                                String objectKey,
                                File file)

      Constructor
      参数:
        `bucketName` - Bucket name
        `objectKey` - File name
        `file` - Local path to the file

    - #### NewFileRequest

          public NewFileRequest(String bucketName,
                                String objectKey,
                                InputStream input)

      Constructor
      参数:
        `bucketName` - Bucket name
        `objectKey` - File name
        `input` - Data stream to be uploaded

    - #### NewFileRequest

          public NewFileRequest(String bucketName,
                                String objectKey)

      Constructor
      参数:
        `bucketName` - Bucket name
        `objectKey` - File name

Copyright © 2021. All rights reserved.