Struct aws_sdk_macie2::model::BucketPublicAccess
source · [−]#[non_exhaustive]pub struct BucketPublicAccess { /* private fields */ }
Expand description
Provides information about the permissions settings that determine whether an S3 bucket is publicly accessible.
Implementations
sourceimpl BucketPublicAccess
impl BucketPublicAccess
sourcepub fn effective_permission(&self) -> Option<&EffectivePermission>
pub fn effective_permission(&self) -> Option<&EffectivePermission>
Specifies whether the bucket is publicly accessible due to the combination of permissions settings that apply to the bucket. Possible values are:
NOT_PUBLIC - The bucket isn't publicly accessible.
PUBLIC - The bucket is publicly accessible.
UNKNOWN - Amazon Macie can't determine whether the bucket is publicly accessible.
sourcepub fn permission_configuration(&self) -> Option<&BucketPermissionConfiguration>
pub fn permission_configuration(&self) -> Option<&BucketPermissionConfiguration>
The account-level and bucket-level permissions settings for the bucket.
sourceimpl BucketPublicAccess
impl BucketPublicAccess
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture BucketPublicAccess
.
Trait Implementations
sourceimpl Clone for BucketPublicAccess
impl Clone for BucketPublicAccess
sourcefn clone(&self) -> BucketPublicAccess
fn clone(&self) -> BucketPublicAccess
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for BucketPublicAccess
impl Debug for BucketPublicAccess
sourceimpl PartialEq<BucketPublicAccess> for BucketPublicAccess
impl PartialEq<BucketPublicAccess> for BucketPublicAccess
sourcefn eq(&self, other: &BucketPublicAccess) -> bool
fn eq(&self, other: &BucketPublicAccess) -> bool
impl StructuralPartialEq for BucketPublicAccess
Auto Trait Implementations
impl RefUnwindSafe for BucketPublicAccess
impl Send for BucketPublicAccess
impl Sync for BucketPublicAccess
impl Unpin for BucketPublicAccess
impl UnwindSafe for BucketPublicAccess
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more