Struct aws_sdk_transfer::types::S3StorageOptions
source · #[non_exhaustive]pub struct S3StorageOptions {
pub directory_listing_optimization: Option<DirectoryListingOptimization>,
}
Expand description
The Amazon S3 storage options that are configured for your server.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.directory_listing_optimization: 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.
Implementations§
source§impl S3StorageOptions
impl S3StorageOptions
sourcepub fn directory_listing_optimization(
&self
) -> Option<&DirectoryListingOptimization>
pub fn 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.
source§impl S3StorageOptions
impl S3StorageOptions
sourcepub fn builder() -> S3StorageOptionsBuilder
pub fn builder() -> S3StorageOptionsBuilder
Creates a new builder-style object to manufacture S3StorageOptions
.
Trait Implementations§
source§impl Clone for S3StorageOptions
impl Clone for S3StorageOptions
source§fn clone(&self) -> S3StorageOptions
fn clone(&self) -> S3StorageOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for S3StorageOptions
impl Debug for S3StorageOptions
source§impl PartialEq for S3StorageOptions
impl PartialEq for S3StorageOptions
source§fn eq(&self, other: &S3StorageOptions) -> bool
fn eq(&self, other: &S3StorageOptions) -> bool
self
and other
values to be equal, and is used
by ==
.