#[non_exhaustive]pub struct MetadataTableEncryptionConfigurationBuilder { /* private fields */ }Expand description
A builder for MetadataTableEncryptionConfiguration.
Implementations§
Source§impl MetadataTableEncryptionConfigurationBuilder
impl MetadataTableEncryptionConfigurationBuilder
Sourcepub fn sse_algorithm(self, input: TableSseAlgorithm) -> Self
pub fn sse_algorithm(self, input: TableSseAlgorithm) -> Self
The encryption type specified for a metadata table. To specify server-side encryption with Key Management Service (KMS) keys (SSE-KMS), use the aws:kms value. To specify server-side encryption with Amazon S3 managed keys (SSE-S3), use the AES256 value.
Sourcepub fn set_sse_algorithm(self, input: Option<TableSseAlgorithm>) -> Self
pub fn set_sse_algorithm(self, input: Option<TableSseAlgorithm>) -> Self
The encryption type specified for a metadata table. To specify server-side encryption with Key Management Service (KMS) keys (SSE-KMS), use the aws:kms value. To specify server-side encryption with Amazon S3 managed keys (SSE-S3), use the AES256 value.
Sourcepub fn get_sse_algorithm(&self) -> &Option<TableSseAlgorithm>
pub fn get_sse_algorithm(&self) -> &Option<TableSseAlgorithm>
The encryption type specified for a metadata table. To specify server-side encryption with Key Management Service (KMS) keys (SSE-KMS), use the aws:kms value. To specify server-side encryption with Amazon S3 managed keys (SSE-S3), use the AES256 value.
Sourcepub fn kms_key_arn(self, input: impl Into<String>) -> Self
pub fn kms_key_arn(self, input: impl Into<String>) -> Self
If server-side encryption with Key Management Service (KMS) keys (SSE-KMS) is specified, you must also specify the KMS key Amazon Resource Name (ARN). You must specify a customer-managed KMS key that's located in the same Region as the general purpose bucket that corresponds to the metadata table configuration.
Sourcepub fn set_kms_key_arn(self, input: Option<String>) -> Self
pub fn set_kms_key_arn(self, input: Option<String>) -> Self
If server-side encryption with Key Management Service (KMS) keys (SSE-KMS) is specified, you must also specify the KMS key Amazon Resource Name (ARN). You must specify a customer-managed KMS key that's located in the same Region as the general purpose bucket that corresponds to the metadata table configuration.
Sourcepub fn get_kms_key_arn(&self) -> &Option<String>
pub fn get_kms_key_arn(&self) -> &Option<String>
If server-side encryption with Key Management Service (KMS) keys (SSE-KMS) is specified, you must also specify the KMS key Amazon Resource Name (ARN). You must specify a customer-managed KMS key that's located in the same Region as the general purpose bucket that corresponds to the metadata table configuration.
Sourcepub fn build(self) -> Result<MetadataTableEncryptionConfiguration, BuildError>
pub fn build(self) -> Result<MetadataTableEncryptionConfiguration, BuildError>
Consumes the builder and constructs a MetadataTableEncryptionConfiguration.
This method will fail if any of the following fields are not set:
Trait Implementations§
Source§impl Clone for MetadataTableEncryptionConfigurationBuilder
impl Clone for MetadataTableEncryptionConfigurationBuilder
Source§fn clone(&self) -> MetadataTableEncryptionConfigurationBuilder
fn clone(&self) -> MetadataTableEncryptionConfigurationBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for MetadataTableEncryptionConfigurationBuilder
impl Default for MetadataTableEncryptionConfigurationBuilder
Source§fn default() -> MetadataTableEncryptionConfigurationBuilder
fn default() -> MetadataTableEncryptionConfigurationBuilder
Source§impl PartialEq for MetadataTableEncryptionConfigurationBuilder
impl PartialEq for MetadataTableEncryptionConfigurationBuilder
Source§fn eq(&self, other: &MetadataTableEncryptionConfigurationBuilder) -> bool
fn eq(&self, other: &MetadataTableEncryptionConfigurationBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MetadataTableEncryptionConfigurationBuilder
Auto Trait Implementations§
impl Freeze for MetadataTableEncryptionConfigurationBuilder
impl RefUnwindSafe for MetadataTableEncryptionConfigurationBuilder
impl Send for MetadataTableEncryptionConfigurationBuilder
impl Sync for MetadataTableEncryptionConfigurationBuilder
impl Unpin for MetadataTableEncryptionConfigurationBuilder
impl UnwindSafe for MetadataTableEncryptionConfigurationBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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