#[non_exhaustive]pub struct BlockedEncryptionTypesBuilder { /* private fields */ }Expand description
A builder for BlockedEncryptionTypes.
Implementations§
Source§impl BlockedEncryptionTypesBuilder
impl BlockedEncryptionTypesBuilder
Sourcepub fn encryption_type(self, input: EncryptionType) -> Self
pub fn encryption_type(self, input: EncryptionType) -> Self
Appends an item to encryption_type.
To override the contents of this collection use set_encryption_type.
The object encryption type that you want to block or unblock for an Amazon S3 general purpose bucket.
Currently, this parameter only supports blocking or unblocking server side encryption with customer-provided keys (SSE-C). For more information about SSE-C, see Using server-side encryption with customer-provided keys (SSE-C).
Sourcepub fn set_encryption_type(self, input: Option<Vec<EncryptionType>>) -> Self
pub fn set_encryption_type(self, input: Option<Vec<EncryptionType>>) -> Self
The object encryption type that you want to block or unblock for an Amazon S3 general purpose bucket.
Currently, this parameter only supports blocking or unblocking server side encryption with customer-provided keys (SSE-C). For more information about SSE-C, see Using server-side encryption with customer-provided keys (SSE-C).
Sourcepub fn get_encryption_type(&self) -> &Option<Vec<EncryptionType>>
pub fn get_encryption_type(&self) -> &Option<Vec<EncryptionType>>
The object encryption type that you want to block or unblock for an Amazon S3 general purpose bucket.
Currently, this parameter only supports blocking or unblocking server side encryption with customer-provided keys (SSE-C). For more information about SSE-C, see Using server-side encryption with customer-provided keys (SSE-C).
Sourcepub fn build(self) -> BlockedEncryptionTypes
pub fn build(self) -> BlockedEncryptionTypes
Consumes the builder and constructs a BlockedEncryptionTypes.
Trait Implementations§
Source§impl Clone for BlockedEncryptionTypesBuilder
impl Clone for BlockedEncryptionTypesBuilder
Source§fn clone(&self) -> BlockedEncryptionTypesBuilder
fn clone(&self) -> BlockedEncryptionTypesBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for BlockedEncryptionTypesBuilder
impl Default for BlockedEncryptionTypesBuilder
Source§fn default() -> BlockedEncryptionTypesBuilder
fn default() -> BlockedEncryptionTypesBuilder
Source§impl PartialEq for BlockedEncryptionTypesBuilder
impl PartialEq for BlockedEncryptionTypesBuilder
Source§fn eq(&self, other: &BlockedEncryptionTypesBuilder) -> bool
fn eq(&self, other: &BlockedEncryptionTypesBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BlockedEncryptionTypesBuilder
Auto Trait Implementations§
impl Freeze for BlockedEncryptionTypesBuilder
impl RefUnwindSafe for BlockedEncryptionTypesBuilder
impl Send for BlockedEncryptionTypesBuilder
impl Sync for BlockedEncryptionTypesBuilder
impl Unpin for BlockedEncryptionTypesBuilder
impl UnwindSafe for BlockedEncryptionTypesBuilder
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