#[non_exhaustive]pub struct S3ConfigurationBuilder { /* private fields */ }
Expand description
A builder for S3Configuration
.
Implementations§
source§impl S3ConfigurationBuilder
impl S3ConfigurationBuilder
sourcepub fn bucket_name(self, input: impl Into<String>) -> Self
pub fn bucket_name(self, input: impl Into<String>) -> Self
The bucket name of the customer S3 bucket.
sourcepub fn set_bucket_name(self, input: Option<String>) -> Self
pub fn set_bucket_name(self, input: Option<String>) -> Self
The bucket name of the customer S3 bucket.
sourcepub fn get_bucket_name(&self) -> &Option<String>
pub fn get_bucket_name(&self) -> &Option<String>
The bucket name of the customer S3 bucket.
sourcepub fn object_key_prefix(self, input: impl Into<String>) -> Self
pub fn object_key_prefix(self, input: impl Into<String>) -> Self
The object key preview for the customer S3 location.
sourcepub fn set_object_key_prefix(self, input: Option<String>) -> Self
pub fn set_object_key_prefix(self, input: Option<String>) -> Self
The object key preview for the customer S3 location.
sourcepub fn get_object_key_prefix(&self) -> &Option<String>
pub fn get_object_key_prefix(&self) -> &Option<String>
The object key preview for the customer S3 location.
sourcepub fn encryption_option(self, input: S3EncryptionOption) -> Self
pub fn encryption_option(self, input: S3EncryptionOption) -> Self
The encryption option for the customer S3 location. Options are S3 server-side encryption with an S3 managed key or Amazon Web Services managed key.
sourcepub fn set_encryption_option(self, input: Option<S3EncryptionOption>) -> Self
pub fn set_encryption_option(self, input: Option<S3EncryptionOption>) -> Self
The encryption option for the customer S3 location. Options are S3 server-side encryption with an S3 managed key or Amazon Web Services managed key.
sourcepub fn get_encryption_option(&self) -> &Option<S3EncryptionOption>
pub fn get_encryption_option(&self) -> &Option<S3EncryptionOption>
The encryption option for the customer S3 location. Options are S3 server-side encryption with an S3 managed key or Amazon Web Services managed key.
sourcepub fn kms_key_id(self, input: impl Into<String>) -> Self
pub fn kms_key_id(self, input: impl Into<String>) -> Self
The KMS key ID for the customer S3 location when encrypting with an Amazon Web Services managed key.
sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
pub fn set_kms_key_id(self, input: Option<String>) -> Self
The KMS key ID for the customer S3 location when encrypting with an Amazon Web Services managed key.
sourcepub fn get_kms_key_id(&self) -> &Option<String>
pub fn get_kms_key_id(&self) -> &Option<String>
The KMS key ID for the customer S3 location when encrypting with an Amazon Web Services managed key.
sourcepub fn build(self) -> S3Configuration
pub fn build(self) -> S3Configuration
Consumes the builder and constructs a S3Configuration
.
Trait Implementations§
source§impl Clone for S3ConfigurationBuilder
impl Clone for S3ConfigurationBuilder
source§fn clone(&self) -> S3ConfigurationBuilder
fn clone(&self) -> S3ConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for S3ConfigurationBuilder
impl Debug for S3ConfigurationBuilder
source§impl Default for S3ConfigurationBuilder
impl Default for S3ConfigurationBuilder
source§fn default() -> S3ConfigurationBuilder
fn default() -> S3ConfigurationBuilder
source§impl PartialEq for S3ConfigurationBuilder
impl PartialEq for S3ConfigurationBuilder
impl StructuralPartialEq for S3ConfigurationBuilder
Auto Trait Implementations§
impl Freeze for S3ConfigurationBuilder
impl RefUnwindSafe for S3ConfigurationBuilder
impl Send for S3ConfigurationBuilder
impl Sync for S3ConfigurationBuilder
impl Unpin for S3ConfigurationBuilder
impl UnwindSafe for S3ConfigurationBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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