Struct aws_sdk_iotsitewise::operation::describe_default_encryption_configuration::builders::DescribeDefaultEncryptionConfigurationOutputBuilder
source · #[non_exhaustive]pub struct DescribeDefaultEncryptionConfigurationOutputBuilder { /* private fields */ }Expand description
A builder for DescribeDefaultEncryptionConfigurationOutput.
Implementations§
source§impl DescribeDefaultEncryptionConfigurationOutputBuilder
impl DescribeDefaultEncryptionConfigurationOutputBuilder
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 customer managed 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 customer managed 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 customer managed 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's 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's 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's an error, it also contains the ErrorDetails.
sourcepub fn build(
self
) -> Result<DescribeDefaultEncryptionConfigurationOutput, BuildError>
pub fn build( self ) -> Result<DescribeDefaultEncryptionConfigurationOutput, BuildError>
Consumes the builder and constructs a DescribeDefaultEncryptionConfigurationOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DescribeDefaultEncryptionConfigurationOutputBuilder
impl Clone for DescribeDefaultEncryptionConfigurationOutputBuilder
source§fn clone(&self) -> DescribeDefaultEncryptionConfigurationOutputBuilder
fn clone(&self) -> DescribeDefaultEncryptionConfigurationOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DescribeDefaultEncryptionConfigurationOutputBuilder
impl Default for DescribeDefaultEncryptionConfigurationOutputBuilder
source§fn default() -> DescribeDefaultEncryptionConfigurationOutputBuilder
fn default() -> DescribeDefaultEncryptionConfigurationOutputBuilder
source§impl PartialEq for DescribeDefaultEncryptionConfigurationOutputBuilder
impl PartialEq for DescribeDefaultEncryptionConfigurationOutputBuilder
source§fn eq(
&self,
other: &DescribeDefaultEncryptionConfigurationOutputBuilder
) -> bool
fn eq( &self, other: &DescribeDefaultEncryptionConfigurationOutputBuilder ) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DescribeDefaultEncryptionConfigurationOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeDefaultEncryptionConfigurationOutputBuilder
impl RefUnwindSafe for DescribeDefaultEncryptionConfigurationOutputBuilder
impl Send for DescribeDefaultEncryptionConfigurationOutputBuilder
impl Sync for DescribeDefaultEncryptionConfigurationOutputBuilder
impl Unpin for DescribeDefaultEncryptionConfigurationOutputBuilder
impl UnwindSafe for DescribeDefaultEncryptionConfigurationOutputBuilder
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