public class CompleteMultipartUploadResult extends Object
Constructor and Description |
---|
CompleteMultipartUploadResult()
Constructs an
CompleteMultipartUploadResult with fields initialized to empty strings. |
CompleteMultipartUploadResult(String location,
String bucket,
String key,
String etag)
Constructs an
CompleteMultipartUploadResult with the specified values. |
Modifier and Type | Method and Description |
---|---|
String |
getBucket() |
String |
getETag() |
String |
getKey() |
String |
getLocation() |
void |
setBucket(String bucket) |
void |
setETag(String etag) |
void |
setKey(String key) |
void |
setLocation(String location) |
public CompleteMultipartUploadResult()
CompleteMultipartUploadResult
with fields initialized to empty strings.public CompleteMultipartUploadResult(String location, String bucket, String key, String etag)
CompleteMultipartUploadResult
with the specified values.location
- the URI that identifies the newly created objectbucket
- name of the bucketkey
- object keyetag
- entity tag of the newly created object, the etag should not be surrounded by quotespublic String getLocation()
public void setLocation(String location)
location
- the location to setpublic String getBucket()
public void setBucket(String bucket)
bucket
- the bucket name to setpublic String getKey()
public void setKey(String key)
key
- the object key to setpublic String getETag()
public void setETag(String etag)
etag
- the entity tag to be set, should not be surrounded by quotesCopyright © 2023. All Rights Reserved.