Struct aws_sdk_connect::types::builders::S3ConfigBuilder
source · #[non_exhaustive]pub struct S3ConfigBuilder { /* private fields */ }
Expand description
A builder for S3Config
.
Implementations§
source§impl S3ConfigBuilder
impl S3ConfigBuilder
sourcepub fn bucket_name(self, input: impl Into<String>) -> Self
pub fn bucket_name(self, input: impl Into<String>) -> Self
The S3 bucket name.
This field is required.sourcepub fn set_bucket_name(self, input: Option<String>) -> Self
pub fn set_bucket_name(self, input: Option<String>) -> Self
The S3 bucket name.
sourcepub fn get_bucket_name(&self) -> &Option<String>
pub fn get_bucket_name(&self) -> &Option<String>
The S3 bucket name.
sourcepub fn bucket_prefix(self, input: impl Into<String>) -> Self
pub fn bucket_prefix(self, input: impl Into<String>) -> Self
The S3 bucket prefix.
This field is required.sourcepub fn set_bucket_prefix(self, input: Option<String>) -> Self
pub fn set_bucket_prefix(self, input: Option<String>) -> Self
The S3 bucket prefix.
sourcepub fn get_bucket_prefix(&self) -> &Option<String>
pub fn get_bucket_prefix(&self) -> &Option<String>
The S3 bucket prefix.
sourcepub fn encryption_config(self, input: EncryptionConfig) -> Self
pub fn encryption_config(self, input: EncryptionConfig) -> Self
The Amazon S3 encryption configuration.
sourcepub fn set_encryption_config(self, input: Option<EncryptionConfig>) -> Self
pub fn set_encryption_config(self, input: Option<EncryptionConfig>) -> Self
The Amazon S3 encryption configuration.
sourcepub fn get_encryption_config(&self) -> &Option<EncryptionConfig>
pub fn get_encryption_config(&self) -> &Option<EncryptionConfig>
The Amazon S3 encryption configuration.
Trait Implementations§
source§impl Clone for S3ConfigBuilder
impl Clone for S3ConfigBuilder
source§fn clone(&self) -> S3ConfigBuilder
fn clone(&self) -> S3ConfigBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for S3ConfigBuilder
impl Debug for S3ConfigBuilder
source§impl Default for S3ConfigBuilder
impl Default for S3ConfigBuilder
source§fn default() -> S3ConfigBuilder
fn default() -> S3ConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for S3ConfigBuilder
impl PartialEq for S3ConfigBuilder
source§fn eq(&self, other: &S3ConfigBuilder) -> bool
fn eq(&self, other: &S3ConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for S3ConfigBuilder
Auto Trait Implementations§
impl Freeze for S3ConfigBuilder
impl RefUnwindSafe for S3ConfigBuilder
impl Send for S3ConfigBuilder
impl Sync for S3ConfigBuilder
impl Unpin for S3ConfigBuilder
impl UnwindSafe for S3ConfigBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.