Struct aws_sdk_inspector2::operation::update_cis_scan_configuration::builders::UpdateCisScanConfigurationFluentBuilder
source · pub struct UpdateCisScanConfigurationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateCisScanConfiguration
.
Updates a CIS scan configuration.
Implementations§
source§impl UpdateCisScanConfigurationFluentBuilder
impl UpdateCisScanConfigurationFluentBuilder
sourcepub fn as_input(&self) -> &UpdateCisScanConfigurationInputBuilder
pub fn as_input(&self) -> &UpdateCisScanConfigurationInputBuilder
Access the UpdateCisScanConfiguration as a reference.
sourcepub async fn send(
self
) -> Result<UpdateCisScanConfigurationOutput, SdkError<UpdateCisScanConfigurationError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateCisScanConfigurationOutput, SdkError<UpdateCisScanConfigurationError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<UpdateCisScanConfigurationOutput, UpdateCisScanConfigurationError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateCisScanConfigurationOutput, UpdateCisScanConfigurationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn scan_configuration_arn(self, input: impl Into<String>) -> Self
pub fn scan_configuration_arn(self, input: impl Into<String>) -> Self
The CIS scan configuration ARN.
sourcepub fn set_scan_configuration_arn(self, input: Option<String>) -> Self
pub fn set_scan_configuration_arn(self, input: Option<String>) -> Self
The CIS scan configuration ARN.
sourcepub fn get_scan_configuration_arn(&self) -> &Option<String>
pub fn get_scan_configuration_arn(&self) -> &Option<String>
The CIS scan configuration ARN.
sourcepub fn scan_name(self, input: impl Into<String>) -> Self
pub fn scan_name(self, input: impl Into<String>) -> Self
The scan name for the CIS scan configuration.
sourcepub fn set_scan_name(self, input: Option<String>) -> Self
pub fn set_scan_name(self, input: Option<String>) -> Self
The scan name for the CIS scan configuration.
sourcepub fn get_scan_name(&self) -> &Option<String>
pub fn get_scan_name(&self) -> &Option<String>
The scan name for the CIS scan configuration.
sourcepub fn security_level(self, input: CisSecurityLevel) -> Self
pub fn security_level(self, input: CisSecurityLevel) -> Self
The security level for the CIS scan configuration. Security level refers to the Benchmark levels that CIS assigns to a profile.
sourcepub fn set_security_level(self, input: Option<CisSecurityLevel>) -> Self
pub fn set_security_level(self, input: Option<CisSecurityLevel>) -> Self
The security level for the CIS scan configuration. Security level refers to the Benchmark levels that CIS assigns to a profile.
sourcepub fn get_security_level(&self) -> &Option<CisSecurityLevel>
pub fn get_security_level(&self) -> &Option<CisSecurityLevel>
The security level for the CIS scan configuration. Security level refers to the Benchmark levels that CIS assigns to a profile.
sourcepub fn set_schedule(self, input: Option<Schedule>) -> Self
pub fn set_schedule(self, input: Option<Schedule>) -> Self
The schedule for the CIS scan configuration.
sourcepub fn get_schedule(&self) -> &Option<Schedule>
pub fn get_schedule(&self) -> &Option<Schedule>
The schedule for the CIS scan configuration.
sourcepub fn targets(self, input: UpdateCisTargets) -> Self
pub fn targets(self, input: UpdateCisTargets) -> Self
The targets for the CIS scan configuration.
sourcepub fn set_targets(self, input: Option<UpdateCisTargets>) -> Self
pub fn set_targets(self, input: Option<UpdateCisTargets>) -> Self
The targets for the CIS scan configuration.
sourcepub fn get_targets(&self) -> &Option<UpdateCisTargets>
pub fn get_targets(&self) -> &Option<UpdateCisTargets>
The targets for the CIS scan configuration.
Trait Implementations§
source§impl Clone for UpdateCisScanConfigurationFluentBuilder
impl Clone for UpdateCisScanConfigurationFluentBuilder
source§fn clone(&self) -> UpdateCisScanConfigurationFluentBuilder
fn clone(&self) -> UpdateCisScanConfigurationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more