Struct aws_sdk_codegurusecurity::operation::update_account_configuration::builders::UpdateAccountConfigurationInputBuilder
source · #[non_exhaustive]pub struct UpdateAccountConfigurationInputBuilder { /* private fields */ }
Expand description
A builder for UpdateAccountConfigurationInput
.
Implementations§
source§impl UpdateAccountConfigurationInputBuilder
impl UpdateAccountConfigurationInputBuilder
sourcepub fn encryption_config(self, input: EncryptionConfig) -> Self
pub fn encryption_config(self, input: EncryptionConfig) -> Self
The customer-managed KMS key ARN you want to use for encryption. If not specified, CodeGuru Security will use an AWS-managed key for encryption. If you previously specified a customer-managed KMS key and want CodeGuru Security to use an AWS-managed key for encryption instead, pass nothing.
This field is required.sourcepub fn set_encryption_config(self, input: Option<EncryptionConfig>) -> Self
pub fn set_encryption_config(self, input: Option<EncryptionConfig>) -> Self
The customer-managed KMS key ARN you want to use for encryption. If not specified, CodeGuru Security will use an AWS-managed key for encryption. If you previously specified a customer-managed KMS key and want CodeGuru Security to use an AWS-managed key for encryption instead, pass nothing.
sourcepub fn get_encryption_config(&self) -> &Option<EncryptionConfig>
pub fn get_encryption_config(&self) -> &Option<EncryptionConfig>
The customer-managed KMS key ARN you want to use for encryption. If not specified, CodeGuru Security will use an AWS-managed key for encryption. If you previously specified a customer-managed KMS key and want CodeGuru Security to use an AWS-managed key for encryption instead, pass nothing.
sourcepub fn build(self) -> Result<UpdateAccountConfigurationInput, BuildError>
pub fn build(self) -> Result<UpdateAccountConfigurationInput, BuildError>
Consumes the builder and constructs a UpdateAccountConfigurationInput
.
source§impl UpdateAccountConfigurationInputBuilder
impl UpdateAccountConfigurationInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateAccountConfigurationOutput, SdkError<UpdateAccountConfigurationError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateAccountConfigurationOutput, SdkError<UpdateAccountConfigurationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateAccountConfigurationInputBuilder
impl Clone for UpdateAccountConfigurationInputBuilder
source§fn clone(&self) -> UpdateAccountConfigurationInputBuilder
fn clone(&self) -> UpdateAccountConfigurationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateAccountConfigurationInputBuilder
impl Default for UpdateAccountConfigurationInputBuilder
source§fn default() -> UpdateAccountConfigurationInputBuilder
fn default() -> UpdateAccountConfigurationInputBuilder
source§impl PartialEq for UpdateAccountConfigurationInputBuilder
impl PartialEq for UpdateAccountConfigurationInputBuilder
source§fn eq(&self, other: &UpdateAccountConfigurationInputBuilder) -> bool
fn eq(&self, other: &UpdateAccountConfigurationInputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UpdateAccountConfigurationInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateAccountConfigurationInputBuilder
impl RefUnwindSafe for UpdateAccountConfigurationInputBuilder
impl Send for UpdateAccountConfigurationInputBuilder
impl Sync for UpdateAccountConfigurationInputBuilder
impl Unpin for UpdateAccountConfigurationInputBuilder
impl UnwindSafe for UpdateAccountConfigurationInputBuilder
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