Package alluxio.proxy.s3
Class CompleteMultipartUploadResult
- java.lang.Object
-
- alluxio.proxy.s3.CompleteMultipartUploadResult
-
public class CompleteMultipartUploadResult extends java.lang.ObjectResult returned after requests for completing a multipart upload. It is defined in http://docs.aws.amazon.com/AmazonS3/latest/API/mpUploadComplete.html. It will be encoded into an XML string to be returned as a response for the REST call.
-
-
Constructor Summary
Constructors Constructor Description CompleteMultipartUploadResult()Constructs anCompleteMultipartUploadResultwith fields initialized to empty strings.CompleteMultipartUploadResult(java.lang.String location, java.lang.String bucket, java.lang.String key, java.lang.String etag)Constructs anCompleteMultipartUploadResultwith the specified values.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetBucket()java.lang.StringgetETag()java.lang.StringgetKey()java.lang.StringgetLocation()voidsetBucket(java.lang.String bucket)voidsetETag(java.lang.String etag)voidsetKey(java.lang.String key)voidsetLocation(java.lang.String location)
-
-
-
Constructor Detail
-
CompleteMultipartUploadResult
public CompleteMultipartUploadResult()
Constructs anCompleteMultipartUploadResultwith fields initialized to empty strings.
-
CompleteMultipartUploadResult
public CompleteMultipartUploadResult(java.lang.String location, java.lang.String bucket, java.lang.String key, java.lang.String etag)Constructs anCompleteMultipartUploadResultwith the specified values.- Parameters:
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 quotes
-
-
Method Detail
-
getLocation
public java.lang.String getLocation()
- Returns:
- the location
-
setLocation
public void setLocation(java.lang.String location)
- Parameters:
location- the location to set
-
getBucket
public java.lang.String getBucket()
- Returns:
- the bucket name
-
setBucket
public void setBucket(java.lang.String bucket)
- Parameters:
bucket- the bucket name to set
-
getKey
public java.lang.String getKey()
- Returns:
- the object key
-
setKey
public void setKey(java.lang.String key)
- Parameters:
key- the object key to set
-
getETag
public java.lang.String getETag()
- Returns:
- the entity tag surrounded by quotes
-
setETag
public void setETag(java.lang.String etag)
- Parameters:
etag- the entity tag to be set, should not be surrounded by quotes
-
-