Struct aws_sdk_inspector::operation::update_assessment_target::builders::UpdateAssessmentTargetInputBuilder
source · #[non_exhaustive]pub struct UpdateAssessmentTargetInputBuilder { /* private fields */ }Expand description
A builder for UpdateAssessmentTargetInput.
Implementations§
source§impl UpdateAssessmentTargetInputBuilder
impl UpdateAssessmentTargetInputBuilder
sourcepub fn assessment_target_arn(self, input: impl Into<String>) -> Self
pub fn assessment_target_arn(self, input: impl Into<String>) -> Self
The ARN of the assessment target that you want to update.
sourcepub fn set_assessment_target_arn(self, input: Option<String>) -> Self
pub fn set_assessment_target_arn(self, input: Option<String>) -> Self
The ARN of the assessment target that you want to update.
sourcepub fn assessment_target_name(self, input: impl Into<String>) -> Self
pub fn assessment_target_name(self, input: impl Into<String>) -> Self
The name of the assessment target that you want to update.
sourcepub fn set_assessment_target_name(self, input: Option<String>) -> Self
pub fn set_assessment_target_name(self, input: Option<String>) -> Self
The name of the assessment target that you want to update.
sourcepub fn resource_group_arn(self, input: impl Into<String>) -> Self
pub fn resource_group_arn(self, input: impl Into<String>) -> Self
The ARN of the resource group that is used to specify the new resource group to associate with the assessment target.
sourcepub fn set_resource_group_arn(self, input: Option<String>) -> Self
pub fn set_resource_group_arn(self, input: Option<String>) -> Self
The ARN of the resource group that is used to specify the new resource group to associate with the assessment target.
sourcepub fn build(self) -> Result<UpdateAssessmentTargetInput, BuildError>
pub fn build(self) -> Result<UpdateAssessmentTargetInput, BuildError>
Consumes the builder and constructs a UpdateAssessmentTargetInput.
Trait Implementations§
source§impl Clone for UpdateAssessmentTargetInputBuilder
impl Clone for UpdateAssessmentTargetInputBuilder
source§fn clone(&self) -> UpdateAssessmentTargetInputBuilder
fn clone(&self) -> UpdateAssessmentTargetInputBuilder
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 UpdateAssessmentTargetInputBuilder
impl Default for UpdateAssessmentTargetInputBuilder
source§fn default() -> UpdateAssessmentTargetInputBuilder
fn default() -> UpdateAssessmentTargetInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<UpdateAssessmentTargetInputBuilder> for UpdateAssessmentTargetInputBuilder
impl PartialEq<UpdateAssessmentTargetInputBuilder> for UpdateAssessmentTargetInputBuilder
source§fn eq(&self, other: &UpdateAssessmentTargetInputBuilder) -> bool
fn eq(&self, other: &UpdateAssessmentTargetInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.