public class PutObjectResult extends HeaderResponse
| Constructor and Description |
|---|
PutObjectResult(String bucketName,
String objectKey,
String etag,
String versionId,
StorageClassEnum storageClass,
String objectUrl) |
PutObjectResult(String bucketName,
String objectKey,
String etag,
String versionId,
String objectUrl,
Map<String,Object> responseHeaders,
int statusCode) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBucketName()
Obtain the name of the bucket to which the object belongs.
|
String |
getEtag()
Obtain the ETag of the object.
|
String |
getObjectKey()
Obtain the object name.
|
StorageClassEnum |
getObjectStorageClass()
Obtain the object storage class.
|
String |
getObjectUrl()
Obtain the full path to the object.
|
String |
getVersionId()
Obtain the object version ID.
|
String |
toString() |
getRequestId, getResponseHeaders, getStatusCodepublic PutObjectResult(String bucketName, String objectKey, String etag, String versionId, StorageClassEnum storageClass, String objectUrl)
public String getEtag()
public String getBucketName()
public String getObjectKey()
public String getVersionId()
public StorageClassEnum getObjectStorageClass()
public String getObjectUrl()
public String toString()
toString in class HeaderResponseCopyright © 2019. All rights reserved.