#[non_exhaustive]pub struct S3DirectSourceAdditionalOptions {
pub bounded_size: Option<i64>,
pub bounded_files: Option<i64>,
pub enable_sample_path: Option<bool>,
pub sample_path: Option<String>,
}Expand description
Specifies additional connection options for the Amazon S3 data store.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.bounded_size: Option<i64>Sets the upper limit for the target size of the dataset in bytes that will be processed.
bounded_files: Option<i64>Sets the upper limit for the target number of files that will be processed.
enable_sample_path: Option<bool>Sets option to enable a sample path.
sample_path: Option<String>If enabled, specifies the sample path.
Implementations§
source§impl S3DirectSourceAdditionalOptions
impl S3DirectSourceAdditionalOptions
sourcepub fn bounded_size(&self) -> Option<i64>
pub fn bounded_size(&self) -> Option<i64>
Sets the upper limit for the target size of the dataset in bytes that will be processed.
sourcepub fn bounded_files(&self) -> Option<i64>
pub fn bounded_files(&self) -> Option<i64>
Sets the upper limit for the target number of files that will be processed.
sourcepub fn enable_sample_path(&self) -> Option<bool>
pub fn enable_sample_path(&self) -> Option<bool>
Sets option to enable a sample path.
sourcepub fn sample_path(&self) -> Option<&str>
pub fn sample_path(&self) -> Option<&str>
If enabled, specifies the sample path.
source§impl S3DirectSourceAdditionalOptions
impl S3DirectSourceAdditionalOptions
sourcepub fn builder() -> S3DirectSourceAdditionalOptionsBuilder
pub fn builder() -> S3DirectSourceAdditionalOptionsBuilder
Creates a new builder-style object to manufacture S3DirectSourceAdditionalOptions.
Trait Implementations§
source§impl Clone for S3DirectSourceAdditionalOptions
impl Clone for S3DirectSourceAdditionalOptions
source§fn clone(&self) -> S3DirectSourceAdditionalOptions
fn clone(&self) -> S3DirectSourceAdditionalOptions
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 PartialEq for S3DirectSourceAdditionalOptions
impl PartialEq for S3DirectSourceAdditionalOptions
source§fn eq(&self, other: &S3DirectSourceAdditionalOptions) -> bool
fn eq(&self, other: &S3DirectSourceAdditionalOptions) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for S3DirectSourceAdditionalOptions
Auto Trait Implementations§
impl RefUnwindSafe for S3DirectSourceAdditionalOptions
impl Send for S3DirectSourceAdditionalOptions
impl Sync for S3DirectSourceAdditionalOptions
impl Unpin for S3DirectSourceAdditionalOptions
impl UnwindSafe for S3DirectSourceAdditionalOptions
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>
Creates a shared type from an unshared type.