public class CompleteMultipartUploadResult extends Object
Constructor and Description |
---|
CompleteMultipartUploadResult()
Constructs an
CompleteMultipartUploadResult with fields initialized to empty strings. |
CompleteMultipartUploadResult(String code,
String message)
Constructs an
CompleteMultipartUploadResult with the specified values. |
CompleteMultipartUploadResult(String location,
String bucket,
String key,
String etag)
Constructs an
CompleteMultipartUploadResult with the specified values. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getBucket() |
String |
getCode() |
String |
getETag() |
String |
getKey() |
String |
getLocation() |
String |
getMessage() |
int |
hashCode() |
void |
setBucket(String bucket) |
void |
setCode(String code) |
void |
setETag(String etag) |
void |
setKey(String key) |
void |
setLocation(String location) |
void |
setMessage(String message) |
String |
toString() |
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 CompleteMultipartUploadResult(String code, String message)
CompleteMultipartUploadResult
with the specified values.code
- error codemessage
- error messagepublic 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 quotespublic String getCode()
public void setCode(String code)
code
- the entity error codepublic String getMessage()
public void setMessage(String message)
message
- the entity error messageCopyright © 2023. All Rights Reserved.