Struct aws_sdk_inspector2::operation::update_cis_scan_configuration::builders::UpdateCisScanConfigurationInputBuilder
source · #[non_exhaustive]pub struct UpdateCisScanConfigurationInputBuilder { /* private fields */ }Expand description
A builder for UpdateCisScanConfigurationInput.
Implementations§
source§impl UpdateCisScanConfigurationInputBuilder
impl UpdateCisScanConfigurationInputBuilder
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.
This field is required.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.
sourcepub fn build(self) -> Result<UpdateCisScanConfigurationInput, BuildError>
pub fn build(self) -> Result<UpdateCisScanConfigurationInput, BuildError>
Consumes the builder and constructs a UpdateCisScanConfigurationInput.
source§impl UpdateCisScanConfigurationInputBuilder
impl UpdateCisScanConfigurationInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateCisScanConfigurationOutput, SdkError<UpdateCisScanConfigurationError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateCisScanConfigurationOutput, SdkError<UpdateCisScanConfigurationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateCisScanConfigurationInputBuilder
impl Clone for UpdateCisScanConfigurationInputBuilder
source§fn clone(&self) -> UpdateCisScanConfigurationInputBuilder
fn clone(&self) -> UpdateCisScanConfigurationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateCisScanConfigurationInputBuilder
impl Default for UpdateCisScanConfigurationInputBuilder
source§fn default() -> UpdateCisScanConfigurationInputBuilder
fn default() -> UpdateCisScanConfigurationInputBuilder
source§impl PartialEq for UpdateCisScanConfigurationInputBuilder
impl PartialEq for UpdateCisScanConfigurationInputBuilder
source§fn eq(&self, other: &UpdateCisScanConfigurationInputBuilder) -> bool
fn eq(&self, other: &UpdateCisScanConfigurationInputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateCisScanConfigurationInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateCisScanConfigurationInputBuilder
impl RefUnwindSafe for UpdateCisScanConfigurationInputBuilder
impl Send for UpdateCisScanConfigurationInputBuilder
impl Sync for UpdateCisScanConfigurationInputBuilder
impl Unpin for UpdateCisScanConfigurationInputBuilder
impl UnwindSafe for UpdateCisScanConfigurationInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more