Struct aws_sdk_iotsitewise::operation::put_default_encryption_configuration::builders::PutDefaultEncryptionConfigurationInputBuilder
source · #[non_exhaustive]pub struct PutDefaultEncryptionConfigurationInputBuilder { /* private fields */ }Expand description
A builder for PutDefaultEncryptionConfigurationInput.
Implementations§
source§impl PutDefaultEncryptionConfigurationInputBuilder
impl PutDefaultEncryptionConfigurationInputBuilder
sourcepub fn encryption_type(self, input: EncryptionType) -> Self
pub fn encryption_type(self, input: EncryptionType) -> Self
The type of encryption used for the encryption configuration.
This field is required.sourcepub fn set_encryption_type(self, input: Option<EncryptionType>) -> Self
pub fn set_encryption_type(self, input: Option<EncryptionType>) -> Self
The type of encryption used for the encryption configuration.
sourcepub fn get_encryption_type(&self) -> &Option<EncryptionType>
pub fn get_encryption_type(&self) -> &Option<EncryptionType>
The type of encryption used for the encryption configuration.
sourcepub fn kms_key_id(self, input: impl Into<String>) -> Self
pub fn kms_key_id(self, input: impl Into<String>) -> Self
The Key ID of the customer managed key used for KMS encryption. This is required if you use KMS_BASED_ENCRYPTION.
sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
pub fn set_kms_key_id(self, input: Option<String>) -> Self
The Key ID of the customer managed key used for KMS encryption. This is required if you use KMS_BASED_ENCRYPTION.
sourcepub fn get_kms_key_id(&self) -> &Option<String>
pub fn get_kms_key_id(&self) -> &Option<String>
The Key ID of the customer managed key used for KMS encryption. This is required if you use KMS_BASED_ENCRYPTION.
sourcepub fn build(self) -> Result<PutDefaultEncryptionConfigurationInput, BuildError>
pub fn build(self) -> Result<PutDefaultEncryptionConfigurationInput, BuildError>
Consumes the builder and constructs a PutDefaultEncryptionConfigurationInput.
source§impl PutDefaultEncryptionConfigurationInputBuilder
impl PutDefaultEncryptionConfigurationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<PutDefaultEncryptionConfigurationOutput, SdkError<PutDefaultEncryptionConfigurationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<PutDefaultEncryptionConfigurationOutput, SdkError<PutDefaultEncryptionConfigurationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for PutDefaultEncryptionConfigurationInputBuilder
impl Clone for PutDefaultEncryptionConfigurationInputBuilder
source§fn clone(&self) -> PutDefaultEncryptionConfigurationInputBuilder
fn clone(&self) -> PutDefaultEncryptionConfigurationInputBuilder
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 PutDefaultEncryptionConfigurationInputBuilder
impl Default for PutDefaultEncryptionConfigurationInputBuilder
source§fn default() -> PutDefaultEncryptionConfigurationInputBuilder
fn default() -> PutDefaultEncryptionConfigurationInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PutDefaultEncryptionConfigurationInputBuilder
impl PartialEq for PutDefaultEncryptionConfigurationInputBuilder
source§fn eq(&self, other: &PutDefaultEncryptionConfigurationInputBuilder) -> bool
fn eq(&self, other: &PutDefaultEncryptionConfigurationInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PutDefaultEncryptionConfigurationInputBuilder
Auto Trait Implementations§
impl Freeze for PutDefaultEncryptionConfigurationInputBuilder
impl RefUnwindSafe for PutDefaultEncryptionConfigurationInputBuilder
impl Send for PutDefaultEncryptionConfigurationInputBuilder
impl Sync for PutDefaultEncryptionConfigurationInputBuilder
impl Unpin for PutDefaultEncryptionConfigurationInputBuilder
impl UnwindSafe for PutDefaultEncryptionConfigurationInputBuilder
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> 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.