Struct aws_sdk_iotfleetwise::operation::put_encryption_configuration::builders::PutEncryptionConfigurationFluentBuilder
source · pub struct PutEncryptionConfigurationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to PutEncryptionConfiguration
.
Creates or updates the encryption configuration. Amazon Web Services IoT FleetWise can encrypt your data and resources using an Amazon Web Services managed key. Or, you can use a KMS key that you own and manage. For more information, see Data encryption in the Amazon Web Services IoT FleetWise Developer Guide.
Implementations§
source§impl PutEncryptionConfigurationFluentBuilder
impl PutEncryptionConfigurationFluentBuilder
sourcepub fn as_input(&self) -> &PutEncryptionConfigurationInputBuilder
pub fn as_input(&self) -> &PutEncryptionConfigurationInputBuilder
Access the PutEncryptionConfiguration as a reference.
sourcepub async fn send(
self
) -> Result<PutEncryptionConfigurationOutput, SdkError<PutEncryptionConfigurationError, HttpResponse>>
pub async fn send( self ) -> Result<PutEncryptionConfigurationOutput, SdkError<PutEncryptionConfigurationError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<PutEncryptionConfigurationOutput, PutEncryptionConfigurationError, Self>
pub fn customize( self ) -> CustomizableOperation<PutEncryptionConfigurationOutput, PutEncryptionConfigurationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
Trait Implementations§
source§impl Clone for PutEncryptionConfigurationFluentBuilder
impl Clone for PutEncryptionConfigurationFluentBuilder
source§fn clone(&self) -> PutEncryptionConfigurationFluentBuilder
fn clone(&self) -> PutEncryptionConfigurationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more