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 ==.