类的使用
com.baidubce.services.bos.model.PutObjectRequest
-
使用PutObjectRequest的程序包 程序包 说明 com.baidubce.services.bos com.baidubce.services.bos.model -
-
com.baidubce.services.bos中PutObjectRequest的使用
参数类型为PutObjectRequest的com.baidubce.services.bos中的方法 修饰符和类型 方法 说明 PutObjectResponseBosClient. putObject(PutObjectRequest request)Uploads a new object to the specified Bos bucket. -
com.baidubce.services.bos.model中PutObjectRequest的使用
com.baidubce.services.bos.model中PutObjectRequest的子类 修饰符和类型 类 说明 classAppendObjectRequestUploads a new object to the specified Baidu Bos bucket.返回PutObjectRequest的com.baidubce.services.bos.model中的方法 修饰符和类型 方法 说明 PutObjectRequestPutObjectRequest. withBucketName(String bucketName)Sets the name of the bucket where this request will upload a new object to.PutObjectRequestPutObjectRequest. withFile(File file)Sets the file containing the data to be uploaded to Baidu Bos.PutObjectRequestPutObjectRequest. withInputStream(InputStream inputStream)Sets the input stream containing the data to be uploaded to Baidu Bos.PutObjectRequestPutObjectRequest. withKey(String key)Sets the key under which to store the new object.PutObjectRequestPutObjectRequest. withObjectMetadata(ObjectMetadata objectMetadata)Sets the optional metadata instructing Baidu Bos how to handle the uploaded data (e.g.PutObjectRequestPutObjectRequest. withProgressCallback(BosProgressCallback progressCallback)PutObjectRequestPutObjectRequest. withRequestCredentials(BceCredentials credentials)PutObjectRequestPutObjectRequest. withStorageClass(String storageClass)Sets the storageClass of the input file which is be uploaded to Baidu Bos.PutObjectRequestPutObjectRequest. withTrafficLimitBitPS(long trafficLimitBitPS)PutObjectRequestPutObjectRequest. withVideoProcess(String videoProcess)
-