Package com.emc.object.s3.request
Class SetBucketAclRequest
- java.lang.Object
-
- com.emc.object.ObjectRequest
-
- com.emc.object.s3.request.AbstractBucketRequest
-
- com.emc.object.s3.request.SetBucketAclRequest
-
- All Implemented Interfaces:
EntityRequest
public class SetBucketAclRequest extends AbstractBucketRequest implements EntityRequest
-
-
Constructor Summary
Constructors Constructor Description SetBucketAclRequest(java.lang.String bucketName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessControlList
getAcl()
CannedAcl
getCannedAcl()
java.lang.Long
getContentLength()
java.lang.String
getContentType()
java.lang.Object
getEntity()
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.boolean
isChunkable()
void
setAcl(AccessControlList acl)
void
setCannedAcl(CannedAcl cannedAcl)
SetBucketAclRequest
withAcl(AccessControlList acl)
SetBucketAclRequest
withCannedAcl(CannedAcl cannedAcl)
-
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
-
getEntity
public java.lang.Object getEntity()
- Specified by:
getEntity
in interfaceEntityRequest
-
getContentType
public java.lang.String getContentType()
- Specified by:
getContentType
in interfaceEntityRequest
-
getContentLength
public java.lang.Long getContentLength()
- Specified by:
getContentLength
in interfaceEntityRequest
-
isChunkable
public boolean isChunkable()
- Specified by:
isChunkable
in interfaceEntityRequest
-
getAcl
public AccessControlList getAcl()
-
setAcl
public void setAcl(AccessControlList acl)
-
getCannedAcl
public CannedAcl getCannedAcl()
-
setCannedAcl
public void setCannedAcl(CannedAcl cannedAcl)
-
withAcl
public SetBucketAclRequest withAcl(AccessControlList acl)
-
withCannedAcl
public SetBucketAclRequest withCannedAcl(CannedAcl cannedAcl)
-
-