public class InitiateMultipartUploadResult extends Object
Constructor and Description |
---|
InitiateMultipartUploadResult()
Constructs an
InitiateMultipartUploadResult with fields initialized to empty strings. |
InitiateMultipartUploadResult(String bucket,
String key,
String uploadId)
Constructs an
InitiateMultipartUploadResult with the specified values. |
Modifier and Type | Method and Description |
---|---|
String |
getBucket() |
String |
getKey() |
String |
getUploadId() |
void |
setBucket(String bucket) |
void |
setKey(String key) |
void |
setUploadId(String uploadId) |
public InitiateMultipartUploadResult()
InitiateMultipartUploadResult
with fields initialized to empty strings.public InitiateMultipartUploadResult(String bucket, String key, String uploadId)
InitiateMultipartUploadResult
with the specified values.bucket
- name of the bucket to which the multipart upload was initiatedkey
- object key for which the multipart upload was initiateduploadId
- ID for the initiated multipart uploadpublic 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 getUploadId()
public void setUploadId(String uploadId)
uploadId
- the upload ID to setCopyright © 2023. All Rights Reserved.