Struct aws_sdk_inspector2::operation::update_configuration::builders::UpdateConfigurationInputBuilder
source · #[non_exhaustive]pub struct UpdateConfigurationInputBuilder { /* private fields */ }Expand description
A builder for UpdateConfigurationInput.
Implementations§
source§impl UpdateConfigurationInputBuilder
impl UpdateConfigurationInputBuilder
sourcepub fn ecr_configuration(self, input: EcrConfiguration) -> Self
pub fn ecr_configuration(self, input: EcrConfiguration) -> Self
Specifies how the ECR automated re-scan will be updated for your environment.
sourcepub fn set_ecr_configuration(self, input: Option<EcrConfiguration>) -> Self
pub fn set_ecr_configuration(self, input: Option<EcrConfiguration>) -> Self
Specifies how the ECR automated re-scan will be updated for your environment.
sourcepub fn get_ecr_configuration(&self) -> &Option<EcrConfiguration>
pub fn get_ecr_configuration(&self) -> &Option<EcrConfiguration>
Specifies how the ECR automated re-scan will be updated for your environment.
sourcepub fn ec2_configuration(self, input: Ec2Configuration) -> Self
pub fn ec2_configuration(self, input: Ec2Configuration) -> Self
Specifies how the Amazon EC2 automated scan will be updated for your environment.
sourcepub fn set_ec2_configuration(self, input: Option<Ec2Configuration>) -> Self
pub fn set_ec2_configuration(self, input: Option<Ec2Configuration>) -> Self
Specifies how the Amazon EC2 automated scan will be updated for your environment.
sourcepub fn get_ec2_configuration(&self) -> &Option<Ec2Configuration>
pub fn get_ec2_configuration(&self) -> &Option<Ec2Configuration>
Specifies how the Amazon EC2 automated scan will be updated for your environment.
sourcepub fn build(self) -> Result<UpdateConfigurationInput, BuildError>
pub fn build(self) -> Result<UpdateConfigurationInput, BuildError>
Consumes the builder and constructs a UpdateConfigurationInput.
source§impl UpdateConfigurationInputBuilder
impl UpdateConfigurationInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateConfigurationOutput, SdkError<UpdateConfigurationError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateConfigurationOutput, SdkError<UpdateConfigurationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateConfigurationInputBuilder
impl Clone for UpdateConfigurationInputBuilder
source§fn clone(&self) -> UpdateConfigurationInputBuilder
fn clone(&self) -> UpdateConfigurationInputBuilder
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 UpdateConfigurationInputBuilder
impl Default for UpdateConfigurationInputBuilder
source§fn default() -> UpdateConfigurationInputBuilder
fn default() -> UpdateConfigurationInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateConfigurationInputBuilder
impl PartialEq for UpdateConfigurationInputBuilder
source§fn eq(&self, other: &UpdateConfigurationInputBuilder) -> bool
fn eq(&self, other: &UpdateConfigurationInputBuilder) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateConfigurationInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateConfigurationInputBuilder
impl RefUnwindSafe for UpdateConfigurationInputBuilder
impl Send for UpdateConfigurationInputBuilder
impl Sync for UpdateConfigurationInputBuilder
impl Unpin for UpdateConfigurationInputBuilder
impl UnwindSafe for UpdateConfigurationInputBuilder
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.