Struct aws_sdk_accessanalyzer::operation::check_no_new_access::builders::CheckNoNewAccessOutputBuilder
source · #[non_exhaustive]pub struct CheckNoNewAccessOutputBuilder { /* private fields */ }
Expand description
A builder for CheckNoNewAccessOutput
.
Implementations§
source§impl CheckNoNewAccessOutputBuilder
impl CheckNoNewAccessOutputBuilder
sourcepub fn result(self, input: CheckNoNewAccessResult) -> Self
pub fn result(self, input: CheckNoNewAccessResult) -> Self
The result of the check for new access. If the result is PASS
, no new access is allowed by the updated policy. If the result is FAIL
, the updated policy might allow new access.
sourcepub fn set_result(self, input: Option<CheckNoNewAccessResult>) -> Self
pub fn set_result(self, input: Option<CheckNoNewAccessResult>) -> Self
The result of the check for new access. If the result is PASS
, no new access is allowed by the updated policy. If the result is FAIL
, the updated policy might allow new access.
sourcepub fn get_result(&self) -> &Option<CheckNoNewAccessResult>
pub fn get_result(&self) -> &Option<CheckNoNewAccessResult>
The result of the check for new access. If the result is PASS
, no new access is allowed by the updated policy. If the result is FAIL
, the updated policy might allow new access.
sourcepub fn message(self, input: impl Into<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
The message indicating whether the updated policy allows new access.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
The message indicating whether the updated policy allows new access.
sourcepub fn get_message(&self) -> &Option<String>
pub fn get_message(&self) -> &Option<String>
The message indicating whether the updated policy allows new access.
sourcepub fn reasons(self, input: ReasonSummary) -> Self
pub fn reasons(self, input: ReasonSummary) -> Self
Appends an item to reasons
.
To override the contents of this collection use set_reasons
.
A description of the reasoning of the result.
sourcepub fn set_reasons(self, input: Option<Vec<ReasonSummary>>) -> Self
pub fn set_reasons(self, input: Option<Vec<ReasonSummary>>) -> Self
A description of the reasoning of the result.
sourcepub fn get_reasons(&self) -> &Option<Vec<ReasonSummary>>
pub fn get_reasons(&self) -> &Option<Vec<ReasonSummary>>
A description of the reasoning of the result.
sourcepub fn build(self) -> CheckNoNewAccessOutput
pub fn build(self) -> CheckNoNewAccessOutput
Consumes the builder and constructs a CheckNoNewAccessOutput
.
Trait Implementations§
source§impl Clone for CheckNoNewAccessOutputBuilder
impl Clone for CheckNoNewAccessOutputBuilder
source§fn clone(&self) -> CheckNoNewAccessOutputBuilder
fn clone(&self) -> CheckNoNewAccessOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CheckNoNewAccessOutputBuilder
impl Default for CheckNoNewAccessOutputBuilder
source§fn default() -> CheckNoNewAccessOutputBuilder
fn default() -> CheckNoNewAccessOutputBuilder
source§impl PartialEq for CheckNoNewAccessOutputBuilder
impl PartialEq for CheckNoNewAccessOutputBuilder
source§fn eq(&self, other: &CheckNoNewAccessOutputBuilder) -> bool
fn eq(&self, other: &CheckNoNewAccessOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CheckNoNewAccessOutputBuilder
Auto Trait Implementations§
impl Freeze for CheckNoNewAccessOutputBuilder
impl RefUnwindSafe for CheckNoNewAccessOutputBuilder
impl Send for CheckNoNewAccessOutputBuilder
impl Sync for CheckNoNewAccessOutputBuilder
impl Unpin for CheckNoNewAccessOutputBuilder
impl UnwindSafe for CheckNoNewAccessOutputBuilder
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