| 程序包 | 说明 |
|---|---|
| com.qcloud.cos | |
| com.qcloud.cos.model |
| 限定符和类型 | 方法和说明 |
|---|---|
ObjectMetadata |
COSClient.getObjectMetadata(GetObjectMetadataRequest getObjectMetadataRequest) |
ObjectMetadata |
COS.getObjectMetadata(GetObjectMetadataRequest getObjectMetadataRequest)
Gets the metadata for the specified object without actually fetching the object itself.
|
| 限定符和类型 | 方法和说明 |
|---|---|
GetObjectMetadataRequest |
GetObjectMetadataRequest.withBucketName(String bucketName)
Sets the name of the bucket containing the object whose metadata is
being retrieved.
|
GetObjectMetadataRequest |
GetObjectMetadataRequest.withKey(String key)
Sets the key of the object whose metadata is being retrieved.
|
GetObjectMetadataRequest |
GetObjectMetadataRequest.withVersionId(String versionId)
Sets the optional version ID of the object version whose metadata is
being retrieved.
|
Copyright © 2017. All rights reserved.