Struct aws_sdk_iotfleetwise::operation::get_encryption_configuration::builders::GetEncryptionConfigurationOutputBuilder
source · #[non_exhaustive]pub struct GetEncryptionConfigurationOutputBuilder { /* private fields */ }
Expand description
A builder for GetEncryptionConfigurationOutput
.
Implementations§
source§impl GetEncryptionConfigurationOutputBuilder
impl GetEncryptionConfigurationOutputBuilder
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 error_message(self, input: impl Into<String>) -> Self
pub fn error_message(self, input: impl Into<String>) -> Self
The error message that describes why encryption settings couldn't be configured, if applicable.
sourcepub fn set_error_message(self, input: Option<String>) -> Self
pub fn set_error_message(self, input: Option<String>) -> Self
The error message that describes why encryption settings couldn't be configured, if applicable.
sourcepub fn get_error_message(&self) -> &Option<String>
pub fn get_error_message(&self) -> &Option<String>
The error message that describes why encryption settings couldn't be configured, if applicable.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The time when encryption was configured in seconds since epoch (January 1, 1970 at midnight UTC time).
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The time when encryption was configured in seconds since epoch (January 1, 1970 at midnight UTC time).
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The time when encryption was configured in seconds since epoch (January 1, 1970 at midnight UTC time).
sourcepub fn last_modification_time(self, input: DateTime) -> Self
pub fn last_modification_time(self, input: DateTime) -> Self
The time when encryption was last updated in seconds since epoch (January 1, 1970 at midnight UTC time).
sourcepub fn set_last_modification_time(self, input: Option<DateTime>) -> Self
pub fn set_last_modification_time(self, input: Option<DateTime>) -> Self
The time when encryption was last updated in seconds since epoch (January 1, 1970 at midnight UTC time).
sourcepub fn get_last_modification_time(&self) -> &Option<DateTime>
pub fn get_last_modification_time(&self) -> &Option<DateTime>
The time when encryption was last updated in seconds since epoch (January 1, 1970 at midnight UTC time).
sourcepub fn build(self) -> Result<GetEncryptionConfigurationOutput, BuildError>
pub fn build(self) -> Result<GetEncryptionConfigurationOutput, BuildError>
Consumes the builder and constructs a GetEncryptionConfigurationOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetEncryptionConfigurationOutputBuilder
impl Clone for GetEncryptionConfigurationOutputBuilder
source§fn clone(&self) -> GetEncryptionConfigurationOutputBuilder
fn clone(&self) -> GetEncryptionConfigurationOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetEncryptionConfigurationOutputBuilder
impl Default for GetEncryptionConfigurationOutputBuilder
source§fn default() -> GetEncryptionConfigurationOutputBuilder
fn default() -> GetEncryptionConfigurationOutputBuilder
source§impl PartialEq for GetEncryptionConfigurationOutputBuilder
impl PartialEq for GetEncryptionConfigurationOutputBuilder
source§fn eq(&self, other: &GetEncryptionConfigurationOutputBuilder) -> bool
fn eq(&self, other: &GetEncryptionConfigurationOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.