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.
This field is required.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 get_assessment_target_arn(&self) -> &Option<String>
pub fn get_assessment_target_arn(&self) -> &Option<String>
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.
This field is required.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 get_assessment_target_name(&self) -> &Option<String>
pub fn get_assessment_target_name(&self) -> &Option<String>
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 get_resource_group_arn(&self) -> &Option<String>
pub fn get_resource_group_arn(&self) -> &Option<String>
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.
source§impl UpdateAssessmentTargetInputBuilder
impl UpdateAssessmentTargetInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateAssessmentTargetOutput, SdkError<UpdateAssessmentTargetError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateAssessmentTargetOutput, SdkError<UpdateAssessmentTargetError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateAssessmentTargetInputBuilder
impl Clone for UpdateAssessmentTargetInputBuilder
source§fn clone(&self) -> UpdateAssessmentTargetInputBuilder
fn clone(&self) -> UpdateAssessmentTargetInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateAssessmentTargetInputBuilder
impl Default for UpdateAssessmentTargetInputBuilder
source§fn default() -> UpdateAssessmentTargetInputBuilder
fn default() -> UpdateAssessmentTargetInputBuilder
source§impl PartialEq for UpdateAssessmentTargetInputBuilder
impl PartialEq for UpdateAssessmentTargetInputBuilder
source§fn eq(&self, other: &UpdateAssessmentTargetInputBuilder) -> bool
fn eq(&self, other: &UpdateAssessmentTargetInputBuilder) -> bool
self and other values to be equal, and is used
by ==.