Struct aws_sdk_iotfleetwise::operation::put_encryption_configuration::builders::PutEncryptionConfigurationOutputBuilder
source · #[non_exhaustive]pub struct PutEncryptionConfigurationOutputBuilder { /* private fields */ }
Expand description
A builder for PutEncryptionConfigurationOutput
.
Implementations§
source§impl PutEncryptionConfigurationOutputBuilder
impl PutEncryptionConfigurationOutputBuilder
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_status(self, input: EncryptionStatus) -> Self
pub fn encryption_status(self, input: EncryptionStatus) -> Self
The encryption status.
This field is required.sourcepub fn set_encryption_status(self, input: Option<EncryptionStatus>) -> Self
pub fn set_encryption_status(self, input: Option<EncryptionStatus>) -> Self
The encryption status.
sourcepub fn get_encryption_status(&self) -> &Option<EncryptionStatus>
pub fn get_encryption_status(&self) -> &Option<EncryptionStatus>
The encryption status.
sourcepub fn encryption_type(self, input: EncryptionType) -> Self
pub fn encryption_type(self, input: EncryptionType) -> Self
The type of encryption. Set to KMS_BASED_ENCRYPTION
to use an KMS key that you own and manage. Set to FLEETWISE_DEFAULT_ENCRYPTION
to use an Amazon Web Services managed key that is owned by the Amazon Web Services IoT FleetWise service account.
sourcepub fn set_encryption_type(self, input: Option<EncryptionType>) -> Self
pub fn set_encryption_type(self, input: Option<EncryptionType>) -> Self
The type of encryption. Set to KMS_BASED_ENCRYPTION
to use an KMS key that you own and manage. Set to FLEETWISE_DEFAULT_ENCRYPTION
to use an Amazon Web Services managed key that is owned by the Amazon Web Services IoT FleetWise service account.
sourcepub fn get_encryption_type(&self) -> &Option<EncryptionType>
pub fn get_encryption_type(&self) -> &Option<EncryptionType>
The type of encryption. Set to KMS_BASED_ENCRYPTION
to use an KMS key that you own and manage. Set to FLEETWISE_DEFAULT_ENCRYPTION
to use an Amazon Web Services managed key that is owned by the Amazon Web Services IoT FleetWise service account.
sourcepub fn build(self) -> Result<PutEncryptionConfigurationOutput, BuildError>
pub fn build(self) -> Result<PutEncryptionConfigurationOutput, BuildError>
Consumes the builder and constructs a PutEncryptionConfigurationOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for PutEncryptionConfigurationOutputBuilder
impl Clone for PutEncryptionConfigurationOutputBuilder
source§fn clone(&self) -> PutEncryptionConfigurationOutputBuilder
fn clone(&self) -> PutEncryptionConfigurationOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for PutEncryptionConfigurationOutputBuilder
impl Default for PutEncryptionConfigurationOutputBuilder
source§fn default() -> PutEncryptionConfigurationOutputBuilder
fn default() -> PutEncryptionConfigurationOutputBuilder
source§impl PartialEq for PutEncryptionConfigurationOutputBuilder
impl PartialEq for PutEncryptionConfigurationOutputBuilder
source§fn eq(&self, other: &PutEncryptionConfigurationOutputBuilder) -> bool
fn eq(&self, other: &PutEncryptionConfigurationOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.