@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BucketLevelPermissions extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about bucket-level permissions settings for an S3 bucket.
Constructor and Description |
---|
BucketLevelPermissions() |
Modifier and Type | Method and Description |
---|---|
BucketLevelPermissions |
clone() |
boolean |
equals(Object obj) |
AccessControlList |
getAccessControlList()
The permissions settings of the access control list (ACL) for the bucket.
|
BlockPublicAccess |
getBlockPublicAccess()
The block public access settings for the bucket.
|
BucketPolicy |
getBucketPolicy()
The permissions settings of the bucket policy for the bucket.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccessControlList(AccessControlList accessControlList)
The permissions settings of the access control list (ACL) for the bucket.
|
void |
setBlockPublicAccess(BlockPublicAccess blockPublicAccess)
The block public access settings for the bucket.
|
void |
setBucketPolicy(BucketPolicy bucketPolicy)
The permissions settings of the bucket policy for the bucket.
|
String |
toString()
Returns a string representation of this object.
|
BucketLevelPermissions |
withAccessControlList(AccessControlList accessControlList)
The permissions settings of the access control list (ACL) for the bucket.
|
BucketLevelPermissions |
withBlockPublicAccess(BlockPublicAccess blockPublicAccess)
The block public access settings for the bucket.
|
BucketLevelPermissions |
withBucketPolicy(BucketPolicy bucketPolicy)
The permissions settings of the bucket policy for the bucket.
|
public void setAccessControlList(AccessControlList accessControlList)
The permissions settings of the access control list (ACL) for the bucket. This value is null if an ACL hasn't been defined for the bucket.
accessControlList
- The permissions settings of the access control list (ACL) for the bucket. This value is null if an ACL
hasn't been defined for the bucket.public AccessControlList getAccessControlList()
The permissions settings of the access control list (ACL) for the bucket. This value is null if an ACL hasn't been defined for the bucket.
public BucketLevelPermissions withAccessControlList(AccessControlList accessControlList)
The permissions settings of the access control list (ACL) for the bucket. This value is null if an ACL hasn't been defined for the bucket.
accessControlList
- The permissions settings of the access control list (ACL) for the bucket. This value is null if an ACL
hasn't been defined for the bucket.public void setBlockPublicAccess(BlockPublicAccess blockPublicAccess)
The block public access settings for the bucket.
blockPublicAccess
- The block public access settings for the bucket.public BlockPublicAccess getBlockPublicAccess()
The block public access settings for the bucket.
public BucketLevelPermissions withBlockPublicAccess(BlockPublicAccess blockPublicAccess)
The block public access settings for the bucket.
blockPublicAccess
- The block public access settings for the bucket.public void setBucketPolicy(BucketPolicy bucketPolicy)
The permissions settings of the bucket policy for the bucket. This value is null if a bucket policy hasn't been defined for the bucket.
bucketPolicy
- The permissions settings of the bucket policy for the bucket. This value is null if a bucket policy hasn't
been defined for the bucket.public BucketPolicy getBucketPolicy()
The permissions settings of the bucket policy for the bucket. This value is null if a bucket policy hasn't been defined for the bucket.
public BucketLevelPermissions withBucketPolicy(BucketPolicy bucketPolicy)
The permissions settings of the bucket policy for the bucket. This value is null if a bucket policy hasn't been defined for the bucket.
bucketPolicy
- The permissions settings of the bucket policy for the bucket. This value is null if a bucket policy hasn't
been defined for the bucket.public String toString()
toString
in class Object
Object.toString()
public BucketLevelPermissions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.