Struct aws_sdk_macie2::types::BucketLevelPermissions
source · #[non_exhaustive]pub struct BucketLevelPermissions {
pub access_control_list: Option<AccessControlList>,
pub block_public_access: Option<BlockPublicAccess>,
pub bucket_policy: Option<BucketPolicy>,
}
Expand description
Provides information about the bucket-level permissions settings for an S3 bucket.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.access_control_list: Option<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.
block_public_access: Option<BlockPublicAccess>
The block public access settings for the bucket.
bucket_policy: Option<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.
Implementations§
source§impl BucketLevelPermissions
impl BucketLevelPermissions
sourcepub fn access_control_list(&self) -> Option<&AccessControlList>
pub fn access_control_list(&self) -> Option<&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.
sourcepub fn block_public_access(&self) -> Option<&BlockPublicAccess>
pub fn block_public_access(&self) -> Option<&BlockPublicAccess>
The block public access settings for the bucket.
sourcepub fn bucket_policy(&self) -> Option<&BucketPolicy>
pub fn bucket_policy(&self) -> Option<&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.
source§impl BucketLevelPermissions
impl BucketLevelPermissions
sourcepub fn builder() -> BucketLevelPermissionsBuilder
pub fn builder() -> BucketLevelPermissionsBuilder
Creates a new builder-style object to manufacture BucketLevelPermissions
.
Trait Implementations§
source§impl Clone for BucketLevelPermissions
impl Clone for BucketLevelPermissions
source§fn clone(&self) -> BucketLevelPermissions
fn clone(&self) -> BucketLevelPermissions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BucketLevelPermissions
impl Debug for BucketLevelPermissions
source§impl PartialEq for BucketLevelPermissions
impl PartialEq for BucketLevelPermissions
source§fn eq(&self, other: &BucketLevelPermissions) -> bool
fn eq(&self, other: &BucketLevelPermissions) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BucketLevelPermissions
Auto Trait Implementations§
impl Freeze for BucketLevelPermissions
impl RefUnwindSafe for BucketLevelPermissions
impl Send for BucketLevelPermissions
impl Sync for BucketLevelPermissions
impl Unpin for BucketLevelPermissions
impl UnwindSafe for BucketLevelPermissions
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more