程序包 | 说明 |
---|---|
com.sinacloud.scs.services.scs | |
com.sinacloud.scs.services.scs.model |
Classes modeling the various types represented by Amazon S3.
|
com.sinacloud.scs.services.scs.model.transform |
限定符和类型 | 方法和说明 |
---|---|
AccessControlList |
SCS.getBucketAcl(GetBucketAclRequest getBucketAclRequest)
Gets the
AccessControlList (ACL) for the specified SCS
bucket. |
AccessControlList |
SCSClient.getBucketAcl(GetBucketAclRequest getBucketAclRequest) |
AccessControlList |
SCS.getBucketAcl(String bucketName)
Gets the
AccessControlList (ACL) for the specified SCS bucket. |
AccessControlList |
SCSClient.getBucketAcl(String bucketName) |
AccessControlList |
SCS.getObjectAcl(String bucketName,
String key)
Gets the
AccessControlList (ACL) for the specified object in SCS. |
AccessControlList |
SCSClient.getObjectAcl(String bucketName,
String key) |
限定符和类型 | 方法和说明 |
---|---|
void |
SCS.setBucketAcl(String bucketName,
AccessControlList acl)
Sets the
AccessControlList for the specified SCS bucket. |
void |
SCSClient.setBucketAcl(String bucketName,
AccessControlList acl) |
void |
SCS.setObjectAcl(String bucketName,
String key,
AccessControlList acl)
Sets the
AccessControlList for the specified object in SCS. |
void |
SCSClient.setObjectAcl(String bucketName,
String key,
AccessControlList acl) |
限定符和类型 | 方法和说明 |
---|---|
AccessControlList |
InitiateMultipartUploadRequest.getAccessControlList()
Returns the optional access control list for the new upload.
|
AccessControlList |
CopyObjectRequest.getAccessControlList()
Returns the optional access control list for the new object.
|
AccessControlList |
PutObjectRequest.getAccessControlList()
Returns the optional access control list for the new object.
|
AccessControlList |
SetBucketAclRequest.getAcl()
Returns the custom ACL to be applied to the specified bucket when this
request is executed.
|
AccessControlList |
BucketInfo.getAcl() |
限定符和类型 | 方法和说明 |
---|---|
void |
InitiateMultipartUploadRequest.setAccessControlList(AccessControlList accessControlList)
Sets the optional access control list for the new upload.
|
void |
CopyObjectRequest.setAccessControlList(AccessControlList accessControlList)
Sets the optional access control list for the new object.
|
void |
PutObjectRequest.setAccessControlList(AccessControlList accessControlList)
Sets the optional access control list for the new object.
|
void |
BucketInfo.setAcl(AccessControlList acl) |
InitiateMultipartUploadRequest |
InitiateMultipartUploadRequest.withAccessControlList(AccessControlList accessControlList)
Sets the optional access control list for the new upload.
|
CopyObjectRequest |
CopyObjectRequest.withAccessControlList(AccessControlList accessControlList)
Sets the optional access control list for the new object.
|
PutObjectRequest |
PutObjectRequest.withAccessControlList(AccessControlList accessControlList)
Sets the optional access control list for the new object.
|
构造器和说明 |
---|
SetBucketAclRequest(String bucketName,
AccessControlList acl)
Constructs a new SetBucketAclRequest object, ready to set the specified
ACL on the specified bucket when this request is executed.
|
限定符和类型 | 方法和说明 |
---|---|
AccessControlList |
JsonResponsesParser.parseAccessControlListResponse(InputStream inputStream)
Parses an AccessControlListHandler response json document from an input
stream
|
AccessControlList |
Unmarshallers.AccessControlListUnmarshaller.unmarshall(InputStream in) |
限定符和类型 | 方法和说明 |
---|---|
byte[] |
AclJsonFactory.convertToJsonByteArray(AccessControlList acl)
转换成json格式
{
'SINA0000000000000001' : [ "read", "read_acp" , "write", "write_acp" ],
'GRPS000000ANONYMOUSE' : [ "read", "read_acp" , "write", "write_acp" ],
'GRPS0000000CANONICAL' : [ "read", "read_acp" , "write", "write_acp" ],
}
|
Copyright © 2016. All rights reserved.