Struct aws_sdk_inspector2::operation::create_cis_scan_configuration::builders::CreateCisScanConfigurationFluentBuilder
source · pub struct CreateCisScanConfigurationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateCisScanConfiguration
.
Creates a CIS scan configuration.
Implementations§
source§impl CreateCisScanConfigurationFluentBuilder
impl CreateCisScanConfigurationFluentBuilder
sourcepub fn as_input(&self) -> &CreateCisScanConfigurationInputBuilder
pub fn as_input(&self) -> &CreateCisScanConfigurationInputBuilder
Access the CreateCisScanConfiguration as a reference.
sourcepub async fn send(
self
) -> Result<CreateCisScanConfigurationOutput, SdkError<CreateCisScanConfigurationError, HttpResponse>>
pub async fn send( self ) -> Result<CreateCisScanConfigurationOutput, SdkError<CreateCisScanConfigurationError, 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<CreateCisScanConfigurationOutput, CreateCisScanConfigurationError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateCisScanConfigurationOutput, CreateCisScanConfigurationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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: CreateCisTargets) -> Self
pub fn targets(self, input: CreateCisTargets) -> Self
The targets for the CIS scan configuration.
sourcepub fn set_targets(self, input: Option<CreateCisTargets>) -> Self
pub fn set_targets(self, input: Option<CreateCisTargets>) -> Self
The targets for the CIS scan configuration.
sourcepub fn get_targets(&self) -> &Option<CreateCisTargets>
pub fn get_targets(&self) -> &Option<CreateCisTargets>
The targets for the CIS scan configuration.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags for the CIS scan configuration.
The tags for the CIS scan configuration.
The tags for the CIS scan configuration.
Trait Implementations§
source§impl Clone for CreateCisScanConfigurationFluentBuilder
impl Clone for CreateCisScanConfigurationFluentBuilder
source§fn clone(&self) -> CreateCisScanConfigurationFluentBuilder
fn clone(&self) -> CreateCisScanConfigurationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more