Package | Description |
---|---|
com.netease.cloud.services.nos | |
com.netease.cloud.services.nos.internal | |
com.netease.cloud.services.nos.model |
Classes modeling the various types represented by Nos.
|
Modifier and Type | Method and Description |
---|---|
CannedAccessControlList |
Nos.getBucketAcl(GetBucketAclRequest getBucketAclRequest)
Gets the (ACL) of the specified bucket,Each bucket has an ACL that
defines its access control policy.
|
CannedAccessControlList |
NosClient.getBucketAcl(GetBucketAclRequest getBucketAclRequest) |
CannedAccessControlList |
Nos.getBucketAcl(String bucketName)
Gets the
CannedAccessControlList (ACL) of the specified
bucket,Each bucket has an ACL that defines its access control policy. |
CannedAccessControlList |
NosClient.getBucketAcl(String bucketName) |
Modifier and Type | Method and Description |
---|---|
void |
Nos.setBucketAcl(String bucketName,
CannedAccessControlList acl)
Sets the
CannedAccessControlList (ACL)for the specified
bucket,Each bucket has an ACL that defines its access control policy.if
the ACL is private,anybody expect you can access objects in the bucket,if
the ACL is private-read,then others can download the objects in this
bucket. |
void |
NosClient.setBucketAcl(String bucketName,
CannedAccessControlList acl) |
Modifier and Type | Method and Description |
---|---|
WebServiceResponse<CannedAccessControlList> |
NosAclHeaderResponseHnadler.handle(HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
CannedAccessControlList |
CopyObjectRequest.getCannedAccessControlList()
Gets the canned ACL to use for the new, copied object.
|
CannedAccessControlList |
CreateBucketRequest.getCannedAcl()
Returns the optional Canned ACL to set for the new bucket.
|
CannedAccessControlList |
PutObjectRequest.getCannedAcl()
Gets the optional pre-configured access control policy to use for the new
object.
|
CannedAccessControlList |
SetBucketAclRequest.getCannedAcl()
Returns the canned ACL to be applied to the specified bucket when this
request is executed.
|
CannedAccessControlList |
InitiateMultipartUploadRequest.getCannedACL()
Returns the optional canned Access Control List (ACL) to set permissions
for the new object created when the multipart upload is completed.
|
static CannedAccessControlList |
CannedAccessControlList.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CannedAccessControlList[] |
CannedAccessControlList.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
CopyObjectRequest.setCannedAccessControlList(CannedAccessControlList cannedACL)
Sets the canned ACL to use for the newly copied object.
|
void |
CreateBucketRequest.setCannedAcl(CannedAccessControlList cannedAcl)
Sets the optional Canned ACL to set for the new bucket.
|
void |
PutObjectRequest.setCannedAcl(CannedAccessControlList cannedAcl)
Sets the optional pre-configured access control policy to use for the new
object.
|
void |
InitiateMultipartUploadRequest.setCannedACL(CannedAccessControlList cannedACL)
Sets the optional canned Access Control List (ACL) to set permissions for
the new object created when the multipart upload is completed.
|
CopyObjectRequest |
CopyObjectRequest.withCannedAccessControlList(CannedAccessControlList cannedACL)
Sets the canned ACL to use for the newly copied object, and returns this
CopyObjectRequest , enabling additional method calls to be
chained together. |
CreateBucketRequest |
CreateBucketRequest.withCannedAcl(CannedAccessControlList cannedAcl)
Sets the optional Canned ACL to set for the new bucket, and returns this
updated object so that additional method calls can be chained together.
|
PutObjectRequest |
PutObjectRequest.withCannedAcl(CannedAccessControlList cannedAcl)
Sets the optional pre-configured access control policy to use for the new
object.
|
InitiateMultipartUploadRequest |
InitiateMultipartUploadRequest.withCannedACL(CannedAccessControlList acl)
Sets the optional canned Access Control List (ACL) to set permissions for
the new object created when the multipart upload is completed.
|
Constructor and Description |
---|
SetBucketAclRequest(String bucketName,
CannedAccessControlList acl)
Constructs a new SetBucketAclRequest object, ready to set the specified
canned ACL on the specified bucket when this request is executed.
|
Copyright © 2017. All Rights Reserved.