@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BucketLevelPermissions extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the bucket level permissions for the S3 bucket.
Constructor and Description |
---|
BucketLevelPermissions() |
Modifier and Type | Method and Description |
---|---|
BucketLevelPermissions |
clone() |
boolean |
equals(Object obj) |
AccessControlList |
getAccessControlList()
Contains information on how Access Control Policies are applied to the bucket.
|
BlockPublicAccess |
getBlockPublicAccess()
Contains information on which account level S3 Block Public Access settings are applied to the S3 bucket.
|
BucketPolicy |
getBucketPolicy()
Contains information on the bucket policies for the S3 bucket.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccessControlList(AccessControlList accessControlList)
Contains information on how Access Control Policies are applied to the bucket.
|
void |
setBlockPublicAccess(BlockPublicAccess blockPublicAccess)
Contains information on which account level S3 Block Public Access settings are applied to the S3 bucket.
|
void |
setBucketPolicy(BucketPolicy bucketPolicy)
Contains information on the bucket policies for the S3 bucket.
|
String |
toString()
Returns a string representation of this object.
|
BucketLevelPermissions |
withAccessControlList(AccessControlList accessControlList)
Contains information on how Access Control Policies are applied to the bucket.
|
BucketLevelPermissions |
withBlockPublicAccess(BlockPublicAccess blockPublicAccess)
Contains information on which account level S3 Block Public Access settings are applied to the S3 bucket.
|
BucketLevelPermissions |
withBucketPolicy(BucketPolicy bucketPolicy)
Contains information on the bucket policies for the S3 bucket.
|
public void setAccessControlList(AccessControlList accessControlList)
Contains information on how Access Control Policies are applied to the bucket.
accessControlList
- Contains information on how Access Control Policies are applied to the bucket.public AccessControlList getAccessControlList()
Contains information on how Access Control Policies are applied to the bucket.
public BucketLevelPermissions withAccessControlList(AccessControlList accessControlList)
Contains information on how Access Control Policies are applied to the bucket.
accessControlList
- Contains information on how Access Control Policies are applied to the bucket.public void setBucketPolicy(BucketPolicy bucketPolicy)
Contains information on the bucket policies for the S3 bucket.
bucketPolicy
- Contains information on the bucket policies for the S3 bucket.public BucketPolicy getBucketPolicy()
Contains information on the bucket policies for the S3 bucket.
public BucketLevelPermissions withBucketPolicy(BucketPolicy bucketPolicy)
Contains information on the bucket policies for the S3 bucket.
bucketPolicy
- Contains information on the bucket policies for the S3 bucket.public void setBlockPublicAccess(BlockPublicAccess blockPublicAccess)
Contains information on which account level S3 Block Public Access settings are applied to the S3 bucket.
blockPublicAccess
- Contains information on which account level S3 Block Public Access settings are applied to the S3 bucket.public BlockPublicAccess getBlockPublicAccess()
Contains information on which account level S3 Block Public Access settings are applied to the S3 bucket.
public BucketLevelPermissions withBlockPublicAccess(BlockPublicAccess blockPublicAccess)
Contains information on which account level S3 Block Public Access settings are applied to the S3 bucket.
blockPublicAccess
- Contains information on which account level S3 Block Public Access settings are applied to the S3 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.