#[non_exhaustive]pub struct UnusedAccessConfigurationBuilder { /* private fields */ }
Expand description
A builder for UnusedAccessConfiguration
.
Implementations§
source§impl UnusedAccessConfigurationBuilder
impl UnusedAccessConfigurationBuilder
sourcepub fn unused_access_age(self, input: i32) -> Self
pub fn unused_access_age(self, input: i32) -> Self
The specified access age in days for which to generate findings for unused access. For example, if you specify 90 days, the analyzer will generate findings for IAM entities within the accounts of the selected organization for any access that hasn't been used in 90 or more days since the analyzer's last scan. You can choose a value between 1 and 180 days.
sourcepub fn set_unused_access_age(self, input: Option<i32>) -> Self
pub fn set_unused_access_age(self, input: Option<i32>) -> Self
The specified access age in days for which to generate findings for unused access. For example, if you specify 90 days, the analyzer will generate findings for IAM entities within the accounts of the selected organization for any access that hasn't been used in 90 or more days since the analyzer's last scan. You can choose a value between 1 and 180 days.
sourcepub fn get_unused_access_age(&self) -> &Option<i32>
pub fn get_unused_access_age(&self) -> &Option<i32>
The specified access age in days for which to generate findings for unused access. For example, if you specify 90 days, the analyzer will generate findings for IAM entities within the accounts of the selected organization for any access that hasn't been used in 90 or more days since the analyzer's last scan. You can choose a value between 1 and 180 days.
sourcepub fn build(self) -> UnusedAccessConfiguration
pub fn build(self) -> UnusedAccessConfiguration
Consumes the builder and constructs a UnusedAccessConfiguration
.
Trait Implementations§
source§impl Clone for UnusedAccessConfigurationBuilder
impl Clone for UnusedAccessConfigurationBuilder
source§fn clone(&self) -> UnusedAccessConfigurationBuilder
fn clone(&self) -> UnusedAccessConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UnusedAccessConfigurationBuilder
impl Default for UnusedAccessConfigurationBuilder
source§fn default() -> UnusedAccessConfigurationBuilder
fn default() -> UnusedAccessConfigurationBuilder
source§impl PartialEq for UnusedAccessConfigurationBuilder
impl PartialEq for UnusedAccessConfigurationBuilder
source§fn eq(&self, other: &UnusedAccessConfigurationBuilder) -> bool
fn eq(&self, other: &UnusedAccessConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UnusedAccessConfigurationBuilder
Auto Trait Implementations§
impl Freeze for UnusedAccessConfigurationBuilder
impl RefUnwindSafe for UnusedAccessConfigurationBuilder
impl Send for UnusedAccessConfigurationBuilder
impl Sync for UnusedAccessConfigurationBuilder
impl Unpin for UnusedAccessConfigurationBuilder
impl UnwindSafe for UnusedAccessConfigurationBuilder
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