Struct aws_sdk_accessanalyzer::operation::get_generated_policy::builders::GetGeneratedPolicyOutputBuilder
source · #[non_exhaustive]pub struct GetGeneratedPolicyOutputBuilder { /* private fields */ }
Expand description
A builder for GetGeneratedPolicyOutput
.
Implementations§
source§impl GetGeneratedPolicyOutputBuilder
impl GetGeneratedPolicyOutputBuilder
sourcepub fn job_details(self, input: JobDetails) -> Self
pub fn job_details(self, input: JobDetails) -> Self
A GeneratedPolicyDetails
object that contains details about the generated policy.
sourcepub fn set_job_details(self, input: Option<JobDetails>) -> Self
pub fn set_job_details(self, input: Option<JobDetails>) -> Self
A GeneratedPolicyDetails
object that contains details about the generated policy.
sourcepub fn get_job_details(&self) -> &Option<JobDetails>
pub fn get_job_details(&self) -> &Option<JobDetails>
A GeneratedPolicyDetails
object that contains details about the generated policy.
sourcepub fn generated_policy_result(self, input: GeneratedPolicyResult) -> Self
pub fn generated_policy_result(self, input: GeneratedPolicyResult) -> Self
A GeneratedPolicyResult
object that contains the generated policies and associated details.
sourcepub fn set_generated_policy_result(
self,
input: Option<GeneratedPolicyResult>
) -> Self
pub fn set_generated_policy_result( self, input: Option<GeneratedPolicyResult> ) -> Self
A GeneratedPolicyResult
object that contains the generated policies and associated details.
sourcepub fn get_generated_policy_result(&self) -> &Option<GeneratedPolicyResult>
pub fn get_generated_policy_result(&self) -> &Option<GeneratedPolicyResult>
A GeneratedPolicyResult
object that contains the generated policies and associated details.
sourcepub fn build(self) -> GetGeneratedPolicyOutput
pub fn build(self) -> GetGeneratedPolicyOutput
Consumes the builder and constructs a GetGeneratedPolicyOutput
.
Trait Implementations§
source§impl Clone for GetGeneratedPolicyOutputBuilder
impl Clone for GetGeneratedPolicyOutputBuilder
source§fn clone(&self) -> GetGeneratedPolicyOutputBuilder
fn clone(&self) -> GetGeneratedPolicyOutputBuilder
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 Default for GetGeneratedPolicyOutputBuilder
impl Default for GetGeneratedPolicyOutputBuilder
source§fn default() -> GetGeneratedPolicyOutputBuilder
fn default() -> GetGeneratedPolicyOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetGeneratedPolicyOutputBuilder
impl PartialEq for GetGeneratedPolicyOutputBuilder
source§fn eq(&self, other: &GetGeneratedPolicyOutputBuilder) -> bool
fn eq(&self, other: &GetGeneratedPolicyOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetGeneratedPolicyOutputBuilder
Auto Trait Implementations§
impl Freeze for GetGeneratedPolicyOutputBuilder
impl RefUnwindSafe for GetGeneratedPolicyOutputBuilder
impl Send for GetGeneratedPolicyOutputBuilder
impl Sync for GetGeneratedPolicyOutputBuilder
impl Unpin for GetGeneratedPolicyOutputBuilder
impl UnwindSafe for GetGeneratedPolicyOutputBuilder
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.