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 ==.impl StructuralPartialEq for PutDefaultEncryptionConfigurationOutputBuilder
Auto Trait Implementations§
impl Freeze for PutDefaultEncryptionConfigurationOutputBuilder
impl RefUnwindSafe for PutDefaultEncryptionConfigurationOutputBuilder
impl Send for PutDefaultEncryptionConfigurationOutputBuilder
impl Sync for PutDefaultEncryptionConfigurationOutputBuilder
impl Unpin for PutDefaultEncryptionConfigurationOutputBuilder
impl UnwindSafe for PutDefaultEncryptionConfigurationOutputBuilder
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