类的使用
com.baidubce.services.bos.model.ObjectMetadata
-
使用ObjectMetadata的程序包 程序包 说明 com.baidubce.services.bos com.baidubce.services.bos.model com.baidubce.services.vod.model -
-
com.baidubce.services.bos中ObjectMetadata的使用
返回ObjectMetadata的com.baidubce.services.bos中的方法 修饰符和类型 方法 说明 ObjectMetadataBosClient. getObject(GetObjectRequest request, File destinationFile)Gets the object metadata for the object stored in Bos under the specified bucket and key, and saves the object contents to the specified file.ObjectMetadataBosClient. getObject(String bucketName, String key, File destinationFile)Gets the object metadata for the object stored in Bos under the specified bucket and key, and saves the object contents to the specified file.ObjectMetadataBosClient. getObjectMetadata(GetObjectMetadataRequest request)Gets the metadata for the specified Bos object without actually fetching the object itself.ObjectMetadataBosClient. getObjectMetadata(String bucketName, String key)Gets the metadata for the specified Bos object without actually fetching the object itself.参数类型为ObjectMetadata的com.baidubce.services.bos中的方法 修饰符和类型 方法 说明 AppendObjectResponseBosClient. appendObject(String bucketName, String key, byte[] value, ObjectMetadata metadata)Uploads the appendable bytes and object metadata to Bos under the specified bucket and key name.AppendObjectResponseBosClient. appendObject(String bucketName, String key, File file, ObjectMetadata metadata)Uploads the specified appendable file to Bos under the specified bucket and key name.AppendObjectResponseBosClient. appendObject(String bucketName, String key, InputStream input, ObjectMetadata metadata)Uploads the appendable input stream and object metadata to Bos under the specified bucket and key name.AppendObjectResponseBosClient. appendObject(String bucketName, String key, String value, ObjectMetadata metadata)Uploads the specified string and object metadata to Bos under the specified bucket and key name.CompleteMultipartUploadResponseBosClient. completeMultipartUpload(String bucketName, String key, String uploadId, List<PartETag> partETags, ObjectMetadata metadata)Completes a multipart upload by assembling previously uploaded parts.PutObjectResponseBosClient. putObject(String bucketName, String key, byte[] value, ObjectMetadata metadata)Uploads the specified bytes and object metadata to Bos under the specified bucket and key name.PutObjectResponseBosClient. putObject(String bucketName, String key, File file, ObjectMetadata metadata)Uploads the specified file and object metadata to Bos under the specified bucket and key name.PutObjectResponseBosClient. putObject(String bucketName, String key, InputStream input, ObjectMetadata metadata)Uploads the specified input stream and object metadata to Bos under the specified bucket and key name.PutObjectResponseBosClient. putObject(String bucketName, String key, String value, ObjectMetadata metadata)Uploads the specified string and object metadata to Bos under the specified bucket and key name. -
com.baidubce.services.bos.model中ObjectMetadata的使用
返回ObjectMetadata的com.baidubce.services.bos.model中的方法 修饰符和类型 方法 说明 ObjectMetadataCopyObjectRequest. getNewObjectMetadata()Gets the optional object metadata to set for the new, copied object.ObjectMetadataBosObject. getObjectMetadata()Gets the metadata stored by Bos for this object.ObjectMetadataCompleteMultipartUploadRequest. getObjectMetadata()Gets the optional metadata instructing Baidu Bos how to handle the uploaded data.ObjectMetadataGetObjectMetadataResponse. getObjectMetadata()ObjectMetadataInitiateMultipartUploadRequest. getObjectMetadata()Returns the additional information about the new object being created, such as content type, content encoding, user metadata, etc.ObjectMetadataPutObjectRequest. getObjectMetadata()Gets the optional metadata instructing Baidu Bos how to handle the uploaded data (e.g.ObjectMetadataPutSuperObjectRequest. getObjectMetadata()Returns the additional information about the new object being created, such as content type, content encoding, user metadata, etc.参数类型为ObjectMetadata的com.baidubce.services.bos.model中的方法 修饰符和类型 方法 说明 voidCopyObjectRequest. setNewObjectMetadata(ObjectMetadata newObjectMetadata)Sets the object metadata to use for the new, copied object.voidBosObject. setObjectMetadata(ObjectMetadata objectMetadata)Sets the object metadata for this object.voidCompleteMultipartUploadRequest. setObjectMetadata(ObjectMetadata objectMetadata)Sets the optional metadata instructing Baidu Bos how to handle the uploaded data.voidGetObjectMetadataResponse. setObjectMetadata(ObjectMetadata objectMetadata)voidInitiateMultipartUploadRequest. setObjectMetadata(ObjectMetadata objectMetadata)Sets the additional information about the new object being created, such as content type, content encoding, user metadata, etc.voidPutObjectRequest. setObjectMetadata(ObjectMetadata objectMetadata)Sets the optional metadata instructing Baidu Bos how to handle the uploaded data (e.g.voidPutSuperObjectRequest. setObjectMetadata(ObjectMetadata objectMetadata)Sets the additional information about the new object being created, such as content type, content encoding, user metadata, etc.InitiateMultipartUploadRequestInitiateMultipartUploadRequest. withMetadata(ObjectMetadata objectMetadata)Sets the additional information about the new object being created, such as content type, content encoding, user metadata, etc.CopyObjectRequestCopyObjectRequest. withNewObjectMetadata(ObjectMetadata newObjectMetadata)Sets the object metadata to use for the new, copied object and returns this object, enabling additional method calls to be chained together.AppendObjectRequestAppendObjectRequest. withObjectMetadata(ObjectMetadata objectMetadata)Sets the optional metadata instructing Baidu Bos how to handle the uploaded data (e.g.CompleteMultipartUploadRequestCompleteMultipartUploadRequest. withObjectMetadata(ObjectMetadata objectMetadata)Sets the optional metadata instructing Baidu Bos how to handle the uploaded data .PutObjectRequestPutObjectRequest. withObjectMetadata(ObjectMetadata objectMetadata)Sets the optional metadata instructing Baidu Bos how to handle the uploaded data (e.g.参数类型为ObjectMetadata的com.baidubce.services.bos.model中的构造器 构造器 说明 AppendObjectRequest(String bucketName, String key, File file, ObjectMetadata metadata)Constructs a new AppendObjectRequest object to upload an appendable file to the specified bucket and key.AppendObjectRequest(String bucketName, String key, InputStream inputStream, ObjectMetadata metadata)Constructs a new AppendObjectRequest object to upload a stream of data to the specified bucket and key.CompleteMultipartUploadRequest(String bucketName, String key, String uploadId, List<PartETag> partETags, ObjectMetadata objectMetadata)Constructs a new request to complete a multipart upload.ObjectMetadata(ObjectMetadata other)PutObjectRequest(String bucketName, String key, File file, ObjectMetadata metadata)Constructs a new PutObjectRequest object to upload a file to the specified bucket and key.PutObjectRequest(String bucketName, String key, File file, InputStream inputStream, ObjectMetadata objectMetadata)Constructs a new PutObjectRequest object to upload a file and a stream of data to the specified bucket and key.PutObjectRequest(String bucketName, String key, InputStream inputStream, ObjectMetadata metadata)Constructs a new PutObjectRequest object to upload a stream of data to the specified bucket and key. -
com.baidubce.services.vod.model中ObjectMetadata的使用
返回ObjectMetadata的com.baidubce.services.vod.model中的方法 修饰符和类型 方法 说明 ObjectMetadataCreateMediaResourceRequest. getObjectMetadata()Gets the optional metadata instructing Baidu Bos how to handle the uploaded data (e.g.参数类型为ObjectMetadata的com.baidubce.services.vod.model中的方法 修饰符和类型 方法 说明 voidCreateMediaResourceRequest. setObjectMetadata(ObjectMetadata objectMetadata)Sets the optional metadata instructing Baidu Bos how to handle the uploaded data (e.g.CreateMediaResourceRequestCreateMediaResourceRequest. withObjectMetadata(ObjectMetadata objectMetadata)Sets the optional metadata instructing Baidu Bos how to handle the uploaded data (e.g.
-