Struct aws_sdk_inspector::operation::start_assessment_run::builders::StartAssessmentRunInputBuilder
source · #[non_exhaustive]pub struct StartAssessmentRunInputBuilder { /* private fields */ }Expand description
A builder for StartAssessmentRunInput.
Implementations§
source§impl StartAssessmentRunInputBuilder
impl StartAssessmentRunInputBuilder
sourcepub fn assessment_template_arn(self, input: impl Into<String>) -> Self
pub fn assessment_template_arn(self, input: impl Into<String>) -> Self
The ARN of the assessment template of the assessment run that you want to start.
sourcepub fn set_assessment_template_arn(self, input: Option<String>) -> Self
pub fn set_assessment_template_arn(self, input: Option<String>) -> Self
The ARN of the assessment template of the assessment run that you want to start.
sourcepub fn assessment_run_name(self, input: impl Into<String>) -> Self
pub fn assessment_run_name(self, input: impl Into<String>) -> Self
You can specify the name for the assessment run. The name must be unique for the assessment template whose ARN is used to start the assessment run.
sourcepub fn set_assessment_run_name(self, input: Option<String>) -> Self
pub fn set_assessment_run_name(self, input: Option<String>) -> Self
You can specify the name for the assessment run. The name must be unique for the assessment template whose ARN is used to start the assessment run.
sourcepub fn build(self) -> Result<StartAssessmentRunInput, BuildError>
pub fn build(self) -> Result<StartAssessmentRunInput, BuildError>
Consumes the builder and constructs a StartAssessmentRunInput.
Trait Implementations§
source§impl Clone for StartAssessmentRunInputBuilder
impl Clone for StartAssessmentRunInputBuilder
source§fn clone(&self) -> StartAssessmentRunInputBuilder
fn clone(&self) -> StartAssessmentRunInputBuilder
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 StartAssessmentRunInputBuilder
impl Default for StartAssessmentRunInputBuilder
source§fn default() -> StartAssessmentRunInputBuilder
fn default() -> StartAssessmentRunInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<StartAssessmentRunInputBuilder> for StartAssessmentRunInputBuilder
impl PartialEq<StartAssessmentRunInputBuilder> for StartAssessmentRunInputBuilder
source§fn eq(&self, other: &StartAssessmentRunInputBuilder) -> bool
fn eq(&self, other: &StartAssessmentRunInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.