Struct aws_sdk_accessanalyzer::operation::start_policy_generation::builders::StartPolicyGenerationOutputBuilder
source · #[non_exhaustive]pub struct StartPolicyGenerationOutputBuilder { /* private fields */ }
Expand description
A builder for StartPolicyGenerationOutput
.
Implementations§
source§impl StartPolicyGenerationOutputBuilder
impl StartPolicyGenerationOutputBuilder
sourcepub fn job_id(self, input: impl Into<String>) -> Self
pub fn job_id(self, input: impl Into<String>) -> Self
The JobId
that is returned by the StartPolicyGeneration
operation. The JobId
can be used with GetGeneratedPolicy
to retrieve the generated policies or used with CancelPolicyGeneration
to cancel the policy generation request.
sourcepub fn set_job_id(self, input: Option<String>) -> Self
pub fn set_job_id(self, input: Option<String>) -> Self
The JobId
that is returned by the StartPolicyGeneration
operation. The JobId
can be used with GetGeneratedPolicy
to retrieve the generated policies or used with CancelPolicyGeneration
to cancel the policy generation request.
sourcepub fn get_job_id(&self) -> &Option<String>
pub fn get_job_id(&self) -> &Option<String>
The JobId
that is returned by the StartPolicyGeneration
operation. The JobId
can be used with GetGeneratedPolicy
to retrieve the generated policies or used with CancelPolicyGeneration
to cancel the policy generation request.
sourcepub fn build(self) -> Result<StartPolicyGenerationOutput, BuildError>
pub fn build(self) -> Result<StartPolicyGenerationOutput, BuildError>
Consumes the builder and constructs a StartPolicyGenerationOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for StartPolicyGenerationOutputBuilder
impl Clone for StartPolicyGenerationOutputBuilder
source§fn clone(&self) -> StartPolicyGenerationOutputBuilder
fn clone(&self) -> StartPolicyGenerationOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for StartPolicyGenerationOutputBuilder
impl Default for StartPolicyGenerationOutputBuilder
source§fn default() -> StartPolicyGenerationOutputBuilder
fn default() -> StartPolicyGenerationOutputBuilder
source§impl PartialEq for StartPolicyGenerationOutputBuilder
impl PartialEq for StartPolicyGenerationOutputBuilder
source§fn eq(&self, other: &StartPolicyGenerationOutputBuilder) -> bool
fn eq(&self, other: &StartPolicyGenerationOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StartPolicyGenerationOutputBuilder
Auto Trait Implementations§
impl Freeze for StartPolicyGenerationOutputBuilder
impl RefUnwindSafe for StartPolicyGenerationOutputBuilder
impl Send for StartPolicyGenerationOutputBuilder
impl Sync for StartPolicyGenerationOutputBuilder
impl Unpin for StartPolicyGenerationOutputBuilder
impl UnwindSafe for StartPolicyGenerationOutputBuilder
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