#[non_exhaustive]pub struct BucketCountByEffectivePermissionBuilder { /* private fields */ }Expand description
A builder for BucketCountByEffectivePermission.
Implementations§
source§impl BucketCountByEffectivePermissionBuilder
impl BucketCountByEffectivePermissionBuilder
sourcepub fn publicly_accessible(self, input: i64) -> Self
pub fn publicly_accessible(self, input: i64) -> Self
The total number of buckets that allow the general public to have read or write access to the bucket.
sourcepub fn set_publicly_accessible(self, input: Option<i64>) -> Self
pub fn set_publicly_accessible(self, input: Option<i64>) -> Self
The total number of buckets that allow the general public to have read or write access to the bucket.
sourcepub fn get_publicly_accessible(&self) -> &Option<i64>
pub fn get_publicly_accessible(&self) -> &Option<i64>
The total number of buckets that allow the general public to have read or write access to the bucket.
sourcepub fn publicly_readable(self, input: i64) -> Self
pub fn publicly_readable(self, input: i64) -> Self
The total number of buckets that allow the general public to have read access to the bucket.
sourcepub fn set_publicly_readable(self, input: Option<i64>) -> Self
pub fn set_publicly_readable(self, input: Option<i64>) -> Self
The total number of buckets that allow the general public to have read access to the bucket.
sourcepub fn get_publicly_readable(&self) -> &Option<i64>
pub fn get_publicly_readable(&self) -> &Option<i64>
The total number of buckets that allow the general public to have read access to the bucket.
sourcepub fn publicly_writable(self, input: i64) -> Self
pub fn publicly_writable(self, input: i64) -> Self
The total number of buckets that allow the general public to have write access to the bucket.
sourcepub fn set_publicly_writable(self, input: Option<i64>) -> Self
pub fn set_publicly_writable(self, input: Option<i64>) -> Self
The total number of buckets that allow the general public to have write access to the bucket.
sourcepub fn get_publicly_writable(&self) -> &Option<i64>
pub fn get_publicly_writable(&self) -> &Option<i64>
The total number of buckets that allow the general public to have write access to the bucket.
sourcepub fn unknown(self, input: i64) -> Self
pub fn unknown(self, input: i64) -> Self
The total number of buckets that Amazon Macie wasn't able to evaluate permissions settings for. Macie can't determine whether these buckets are publicly accessible.
sourcepub fn set_unknown(self, input: Option<i64>) -> Self
pub fn set_unknown(self, input: Option<i64>) -> Self
The total number of buckets that Amazon Macie wasn't able to evaluate permissions settings for. Macie can't determine whether these buckets are publicly accessible.
sourcepub fn get_unknown(&self) -> &Option<i64>
pub fn get_unknown(&self) -> &Option<i64>
The total number of buckets that Amazon Macie wasn't able to evaluate permissions settings for. Macie can't determine whether these buckets are publicly accessible.
sourcepub fn build(self) -> BucketCountByEffectivePermission
pub fn build(self) -> BucketCountByEffectivePermission
Consumes the builder and constructs a BucketCountByEffectivePermission.
Trait Implementations§
source§impl Clone for BucketCountByEffectivePermissionBuilder
impl Clone for BucketCountByEffectivePermissionBuilder
source§fn clone(&self) -> BucketCountByEffectivePermissionBuilder
fn clone(&self) -> BucketCountByEffectivePermissionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for BucketCountByEffectivePermissionBuilder
impl Default for BucketCountByEffectivePermissionBuilder
source§fn default() -> BucketCountByEffectivePermissionBuilder
fn default() -> BucketCountByEffectivePermissionBuilder
source§impl PartialEq for BucketCountByEffectivePermissionBuilder
impl PartialEq for BucketCountByEffectivePermissionBuilder
source§fn eq(&self, other: &BucketCountByEffectivePermissionBuilder) -> bool
fn eq(&self, other: &BucketCountByEffectivePermissionBuilder) -> bool
self and other values to be equal, and is used
by ==.