Struct aws_sdk_iotsitewise::operation::put_default_encryption_configuration::builders::PutDefaultEncryptionConfigurationOutputBuilder
source · #[non_exhaustive]pub struct PutDefaultEncryptionConfigurationOutputBuilder { /* private fields */ }Expand description
A builder for PutDefaultEncryptionConfigurationOutput.
Implementations§
source§impl PutDefaultEncryptionConfigurationOutputBuilder
impl PutDefaultEncryptionConfigurationOutputBuilder
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_arn(self, input: impl Into<String>) -> Self
pub fn kms_key_arn(self, input: impl Into<String>) -> Self
The Key ARN of the KMS key used for KMS encryption if you use KMS_BASED_ENCRYPTION.
sourcepub fn set_kms_key_arn(self, input: Option<String>) -> Self
pub fn set_kms_key_arn(self, input: Option<String>) -> Self
The Key ARN of the KMS key used for KMS encryption if you use KMS_BASED_ENCRYPTION.
sourcepub fn get_kms_key_arn(&self) -> &Option<String>
pub fn get_kms_key_arn(&self) -> &Option<String>
The Key ARN of the KMS key used for KMS encryption if you use KMS_BASED_ENCRYPTION.
sourcepub fn configuration_status(self, input: ConfigurationStatus) -> Self
pub fn configuration_status(self, input: ConfigurationStatus) -> Self
The status of the account configuration. This contains the ConfigurationState. If there is an error, it also contains the ErrorDetails.
sourcepub fn set_configuration_status(
self,
input: Option<ConfigurationStatus>
) -> Self
pub fn set_configuration_status( self, input: Option<ConfigurationStatus> ) -> Self
The status of the account configuration. This contains the ConfigurationState. If there is an error, it also contains the ErrorDetails.
sourcepub fn get_configuration_status(&self) -> &Option<ConfigurationStatus>
pub fn get_configuration_status(&self) -> &Option<ConfigurationStatus>
The status of the account configuration. This contains the ConfigurationState. If there is an error, it also contains the ErrorDetails.
sourcepub fn build(
self
) -> Result<PutDefaultEncryptionConfigurationOutput, BuildError>
pub fn build( self ) -> Result<PutDefaultEncryptionConfigurationOutput, BuildError>
Consumes the builder and constructs a PutDefaultEncryptionConfigurationOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for PutDefaultEncryptionConfigurationOutputBuilder
impl Clone for PutDefaultEncryptionConfigurationOutputBuilder
source§fn clone(&self) -> PutDefaultEncryptionConfigurationOutputBuilder
fn clone(&self) -> PutDefaultEncryptionConfigurationOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for PutDefaultEncryptionConfigurationOutputBuilder
impl Default for PutDefaultEncryptionConfigurationOutputBuilder
source§fn default() -> PutDefaultEncryptionConfigurationOutputBuilder
fn default() -> PutDefaultEncryptionConfigurationOutputBuilder
source§impl PartialEq for PutDefaultEncryptionConfigurationOutputBuilder
impl PartialEq for PutDefaultEncryptionConfigurationOutputBuilder
source§fn eq(&self, other: &PutDefaultEncryptionConfigurationOutputBuilder) -> bool
fn eq(&self, other: &PutDefaultEncryptionConfigurationOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.