Package com.emc.object.s3.request
Class InitiateMultipartUploadRequest
- java.lang.Object
-
- com.emc.object.ObjectRequest
-
- com.emc.object.s3.request.AbstractBucketRequest
-
- com.emc.object.s3.request.S3ObjectRequest
-
- com.emc.object.s3.request.InitiateMultipartUploadRequest
-
public class InitiateMultipartUploadRequest extends S3ObjectRequest
-
-
Constructor Summary
Constructors Constructor Description InitiateMultipartUploadRequest(java.lang.String bucketName, java.lang.String key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessControlList
getAcl()
CannedAcl
getCannedAcl()
java.util.Map<java.lang.String,java.util.List<java.lang.Object>>
getHeaders()
Override to return request-specific headers based on properties of the request.S3ObjectMetadata
getObjectMetadata()
ObjectTagging
getObjectTagging()
void
setAcl(AccessControlList acl)
void
setCannedAcl(CannedAcl cannedAcl)
void
setObjectMetadata(S3ObjectMetadata objectMetadata)
void
setObjectTagging(ObjectTagging objectTagging)
InitiateMultipartUploadRequest
withAcl(AccessControlList acl)
InitiateMultipartUploadRequest
withCannedAcl(CannedAcl cannedAcl)
InitiateMultipartUploadRequest
withObjectMetadata(S3ObjectMetadata objectMetadata)
InitiateMultipartUploadRequest
withObjectTagging(ObjectTagging objectTagging)
-
Methods inherited from class com.emc.object.s3.request.S3ObjectRequest
getKey, setKey
-
Methods inherited from class com.emc.object.s3.request.AbstractBucketRequest
getBucketName, setBucketName
-
Methods inherited from class com.emc.object.ObjectRequest
addCustomHeader, getCustomHeaders, getMethod, getNamespace, getPath, getProperties, getQueryParams, getQueryString, getRawQueryString, getSubresource, property, setNamespace, setPath
-
-
-
-
Method Detail
-
getHeaders
public java.util.Map<java.lang.String,java.util.List<java.lang.Object>> getHeaders()
Description copied from class:ObjectRequest
Override to return request-specific headers based on properties of the request. Always call super() first and modify the result.- Overrides:
getHeaders
in classObjectRequest
-
getObjectMetadata
public S3ObjectMetadata getObjectMetadata()
-
setObjectMetadata
public void setObjectMetadata(S3ObjectMetadata objectMetadata)
-
getAcl
public AccessControlList getAcl()
-
setAcl
public void setAcl(AccessControlList acl)
-
getCannedAcl
public CannedAcl getCannedAcl()
-
setCannedAcl
public void setCannedAcl(CannedAcl cannedAcl)
-
getObjectTagging
public ObjectTagging getObjectTagging()
-
setObjectTagging
public void setObjectTagging(ObjectTagging objectTagging)
-
withObjectMetadata
public InitiateMultipartUploadRequest withObjectMetadata(S3ObjectMetadata objectMetadata)
-
withAcl
public InitiateMultipartUploadRequest withAcl(AccessControlList acl)
-
withCannedAcl
public InitiateMultipartUploadRequest withCannedAcl(CannedAcl cannedAcl)
-
withObjectTagging
public InitiateMultipartUploadRequest withObjectTagging(ObjectTagging objectTagging)
-
-