Struct aws_sdk_transfer::types::builders::S3StorageOptionsBuilder
source · #[non_exhaustive]pub struct S3StorageOptionsBuilder { /* private fields */ }
Expand description
A builder for S3StorageOptions
.
Implementations§
source§impl S3StorageOptionsBuilder
impl S3StorageOptionsBuilder
sourcepub fn directory_listing_optimization(
self,
input: DirectoryListingOptimization,
) -> Self
pub fn directory_listing_optimization( self, input: DirectoryListingOptimization, ) -> Self
Specifies whether or not performance for your Amazon S3 directories is optimized. This is disabled by default.
By default, home directory mappings have a TYPE
of DIRECTORY
. If you enable this option, you would then need to explicitly set the HomeDirectoryMapEntry
Type
to FILE
if you want a mapping to have a file target.
sourcepub fn set_directory_listing_optimization(
self,
input: Option<DirectoryListingOptimization>,
) -> Self
pub fn set_directory_listing_optimization( self, input: Option<DirectoryListingOptimization>, ) -> Self
Specifies whether or not performance for your Amazon S3 directories is optimized. This is disabled by default.
By default, home directory mappings have a TYPE
of DIRECTORY
. If you enable this option, you would then need to explicitly set the HomeDirectoryMapEntry
Type
to FILE
if you want a mapping to have a file target.
sourcepub fn get_directory_listing_optimization(
&self,
) -> &Option<DirectoryListingOptimization>
pub fn get_directory_listing_optimization( &self, ) -> &Option<DirectoryListingOptimization>
Specifies whether or not performance for your Amazon S3 directories is optimized. This is disabled by default.
By default, home directory mappings have a TYPE
of DIRECTORY
. If you enable this option, you would then need to explicitly set the HomeDirectoryMapEntry
Type
to FILE
if you want a mapping to have a file target.
sourcepub fn build(self) -> S3StorageOptions
pub fn build(self) -> S3StorageOptions
Consumes the builder and constructs a S3StorageOptions
.
Trait Implementations§
source§impl Clone for S3StorageOptionsBuilder
impl Clone for S3StorageOptionsBuilder
source§fn clone(&self) -> S3StorageOptionsBuilder
fn clone(&self) -> S3StorageOptionsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for S3StorageOptionsBuilder
impl Debug for S3StorageOptionsBuilder
source§impl Default for S3StorageOptionsBuilder
impl Default for S3StorageOptionsBuilder
source§fn default() -> S3StorageOptionsBuilder
fn default() -> S3StorageOptionsBuilder
source§impl PartialEq for S3StorageOptionsBuilder
impl PartialEq for S3StorageOptionsBuilder
source§fn eq(&self, other: &S3StorageOptionsBuilder) -> bool
fn eq(&self, other: &S3StorageOptionsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for S3StorageOptionsBuilder
Auto Trait Implementations§
impl Freeze for S3StorageOptionsBuilder
impl RefUnwindSafe for S3StorageOptionsBuilder
impl Send for S3StorageOptionsBuilder
impl Sync for S3StorageOptionsBuilder
impl Unpin for S3StorageOptionsBuilder
impl UnwindSafe for S3StorageOptionsBuilder
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