Struct aws_sdk_accessanalyzer::operation::validate_policy::builders::ValidatePolicyOutputBuilder
source · #[non_exhaustive]pub struct ValidatePolicyOutputBuilder { /* private fields */ }
Expand description
A builder for ValidatePolicyOutput
.
Implementations§
source§impl ValidatePolicyOutputBuilder
impl ValidatePolicyOutputBuilder
sourcepub fn findings(self, input: ValidatePolicyFinding) -> Self
pub fn findings(self, input: ValidatePolicyFinding) -> Self
Appends an item to findings
.
To override the contents of this collection use set_findings
.
The list of findings in a policy returned by IAM Access Analyzer based on its suite of policy checks.
sourcepub fn set_findings(self, input: Option<Vec<ValidatePolicyFinding>>) -> Self
pub fn set_findings(self, input: Option<Vec<ValidatePolicyFinding>>) -> Self
The list of findings in a policy returned by IAM Access Analyzer based on its suite of policy checks.
sourcepub fn get_findings(&self) -> &Option<Vec<ValidatePolicyFinding>>
pub fn get_findings(&self) -> &Option<Vec<ValidatePolicyFinding>>
The list of findings in a policy returned by IAM Access Analyzer based on its suite of policy checks.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A token used for pagination of results returned.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A token used for pagination of results returned.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A token used for pagination of results returned.
sourcepub fn build(self) -> Result<ValidatePolicyOutput, BuildError>
pub fn build(self) -> Result<ValidatePolicyOutput, BuildError>
Consumes the builder and constructs a ValidatePolicyOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ValidatePolicyOutputBuilder
impl Clone for ValidatePolicyOutputBuilder
source§fn clone(&self) -> ValidatePolicyOutputBuilder
fn clone(&self) -> ValidatePolicyOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ValidatePolicyOutputBuilder
impl Debug for ValidatePolicyOutputBuilder
source§impl Default for ValidatePolicyOutputBuilder
impl Default for ValidatePolicyOutputBuilder
source§fn default() -> ValidatePolicyOutputBuilder
fn default() -> ValidatePolicyOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ValidatePolicyOutputBuilder
impl PartialEq for ValidatePolicyOutputBuilder
source§fn eq(&self, other: &ValidatePolicyOutputBuilder) -> bool
fn eq(&self, other: &ValidatePolicyOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ValidatePolicyOutputBuilder
Auto Trait Implementations§
impl Freeze for ValidatePolicyOutputBuilder
impl RefUnwindSafe for ValidatePolicyOutputBuilder
impl Send for ValidatePolicyOutputBuilder
impl Sync for ValidatePolicyOutputBuilder
impl Unpin for ValidatePolicyOutputBuilder
impl UnwindSafe for ValidatePolicyOutputBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.