Struct aws_sdk_iotfleetwise::operation::put_encryption_configuration::builders::PutEncryptionConfigurationInputBuilder
source · #[non_exhaustive]pub struct PutEncryptionConfigurationInputBuilder { /* private fields */ }Expand description
A builder for PutEncryptionConfigurationInput.
Implementations§
source§impl PutEncryptionConfigurationInputBuilder
impl PutEncryptionConfigurationInputBuilder
sourcepub fn kms_key_id(self, input: impl Into<String>) -> Self
pub fn kms_key_id(self, input: impl Into<String>) -> Self
The ID of the KMS key that is used for encryption.
sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
pub fn set_kms_key_id(self, input: Option<String>) -> Self
The ID of the KMS key that is used for encryption.
sourcepub fn get_kms_key_id(&self) -> &Option<String>
pub fn get_kms_key_id(&self) -> &Option<String>
The ID of the KMS key that is used for encryption.
sourcepub fn encryption_type(self, input: EncryptionType) -> Self
pub fn encryption_type(self, input: EncryptionType) -> Self
The type of encryption. Choose KMS_BASED_ENCRYPTION to use a KMS key or FLEETWISE_DEFAULT_ENCRYPTION to use an Amazon Web Services managed key.
sourcepub fn set_encryption_type(self, input: Option<EncryptionType>) -> Self
pub fn set_encryption_type(self, input: Option<EncryptionType>) -> Self
The type of encryption. Choose KMS_BASED_ENCRYPTION to use a KMS key or FLEETWISE_DEFAULT_ENCRYPTION to use an Amazon Web Services managed key.
sourcepub fn get_encryption_type(&self) -> &Option<EncryptionType>
pub fn get_encryption_type(&self) -> &Option<EncryptionType>
The type of encryption. Choose KMS_BASED_ENCRYPTION to use a KMS key or FLEETWISE_DEFAULT_ENCRYPTION to use an Amazon Web Services managed key.
sourcepub fn build(self) -> Result<PutEncryptionConfigurationInput, BuildError>
pub fn build(self) -> Result<PutEncryptionConfigurationInput, BuildError>
Consumes the builder and constructs a PutEncryptionConfigurationInput.
source§impl PutEncryptionConfigurationInputBuilder
impl PutEncryptionConfigurationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<PutEncryptionConfigurationOutput, SdkError<PutEncryptionConfigurationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<PutEncryptionConfigurationOutput, SdkError<PutEncryptionConfigurationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for PutEncryptionConfigurationInputBuilder
impl Clone for PutEncryptionConfigurationInputBuilder
source§fn clone(&self) -> PutEncryptionConfigurationInputBuilder
fn clone(&self) -> PutEncryptionConfigurationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for PutEncryptionConfigurationInputBuilder
impl Default for PutEncryptionConfigurationInputBuilder
source§fn default() -> PutEncryptionConfigurationInputBuilder
fn default() -> PutEncryptionConfigurationInputBuilder
source§impl PartialEq for PutEncryptionConfigurationInputBuilder
impl PartialEq for PutEncryptionConfigurationInputBuilder
source§fn eq(&self, other: &PutEncryptionConfigurationInputBuilder) -> bool
fn eq(&self, other: &PutEncryptionConfigurationInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PutEncryptionConfigurationInputBuilder
Auto Trait Implementations§
impl Freeze for PutEncryptionConfigurationInputBuilder
impl RefUnwindSafe for PutEncryptionConfigurationInputBuilder
impl Send for PutEncryptionConfigurationInputBuilder
impl Sync for PutEncryptionConfigurationInputBuilder
impl Unpin for PutEncryptionConfigurationInputBuilder
impl UnwindSafe for PutEncryptionConfigurationInputBuilder
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> 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