Package | Description |
---|---|
com.amazonaws.services.s3 |
Synchronous client for accessing Amazon S3.
|
com.amazonaws.services.s3.model |
Classes modeling the various types represented by Amazon S3.
|
Modifier and Type | Method and Description |
---|---|
void |
AmazonS3Client.setBucketPolicy(SetBucketPolicyRequest setBucketPolicyRequest) |
void |
AmazonS3.setBucketPolicy(SetBucketPolicyRequest setBucketPolicyRequest)
Sets the policy associated with the specified bucket.
|
void |
AbstractAmazonS3.setBucketPolicy(SetBucketPolicyRequest setBucketPolicyRequest) |
Modifier and Type | Method and Description |
---|---|
SetBucketPolicyRequest |
SetBucketPolicyRequest.withBucketName(String bucketName)
Sets the name of the Amazon S3 bucket whose policy is being set, and
returns the updated request object so that additional method calls can be
chained together.
|
SetBucketPolicyRequest |
SetBucketPolicyRequest.withConfirmRemoveSelfBucketAccess(Boolean confirmRemoveSelfBucketAccess)
Set this parameter to true to confirm that you want to remove your permissions to change this bucket policy in the future.
|
SetBucketPolicyRequest |
SetBucketPolicyRequest.withPolicyText(String policyText)
Sets the policy to apply to the specified bucket, and returns the updated
request object so that additional method calls can be chained together.
|
Copyright © 2018. All rights reserved.