Struct aws_sdk_macie2::model::AccessControlList
source · #[non_exhaustive]pub struct AccessControlList { /* private fields */ }
Expand description
Provides information about the permissions settings of the bucket-level access control list (ACL) for an S3 bucket.
Implementations§
source§impl AccessControlList
impl AccessControlList
sourcepub fn allows_public_read_access(&self) -> bool
pub fn allows_public_read_access(&self) -> bool
Specifies whether the ACL grants the general public with read access permissions for the bucket.
sourcepub fn allows_public_write_access(&self) -> bool
pub fn allows_public_write_access(&self) -> bool
Specifies whether the ACL grants the general public with write access permissions for the bucket.
source§impl AccessControlList
impl AccessControlList
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AccessControlList
.
Trait Implementations§
source§impl Clone for AccessControlList
impl Clone for AccessControlList
source§fn clone(&self) -> AccessControlList
fn clone(&self) -> AccessControlList
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AccessControlList
impl Debug for AccessControlList
source§impl PartialEq<AccessControlList> for AccessControlList
impl PartialEq<AccessControlList> for AccessControlList
source§fn eq(&self, other: &AccessControlList) -> bool
fn eq(&self, other: &AccessControlList) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.