Struct aws_sdk_databrew::types::builders::PathOptionsBuilder
source · #[non_exhaustive]pub struct PathOptionsBuilder { /* private fields */ }
Expand description
A builder for PathOptions
.
Implementations§
source§impl PathOptionsBuilder
impl PathOptionsBuilder
sourcepub fn last_modified_date_condition(self, input: FilterExpression) -> Self
pub fn last_modified_date_condition(self, input: FilterExpression) -> Self
If provided, this structure defines a date range for matching Amazon S3 objects based on their LastModifiedDate attribute in Amazon S3.
sourcepub fn set_last_modified_date_condition(
self,
input: Option<FilterExpression>,
) -> Self
pub fn set_last_modified_date_condition( self, input: Option<FilterExpression>, ) -> Self
If provided, this structure defines a date range for matching Amazon S3 objects based on their LastModifiedDate attribute in Amazon S3.
sourcepub fn get_last_modified_date_condition(&self) -> &Option<FilterExpression>
pub fn get_last_modified_date_condition(&self) -> &Option<FilterExpression>
If provided, this structure defines a date range for matching Amazon S3 objects based on their LastModifiedDate attribute in Amazon S3.
sourcepub fn files_limit(self, input: FilesLimit) -> Self
pub fn files_limit(self, input: FilesLimit) -> Self
If provided, this structure imposes a limit on a number of files that should be selected.
sourcepub fn set_files_limit(self, input: Option<FilesLimit>) -> Self
pub fn set_files_limit(self, input: Option<FilesLimit>) -> Self
If provided, this structure imposes a limit on a number of files that should be selected.
sourcepub fn get_files_limit(&self) -> &Option<FilesLimit>
pub fn get_files_limit(&self) -> &Option<FilesLimit>
If provided, this structure imposes a limit on a number of files that should be selected.
sourcepub fn parameters(self, k: impl Into<String>, v: DatasetParameter) -> Self
pub fn parameters(self, k: impl Into<String>, v: DatasetParameter) -> Self
Adds a key-value pair to parameters
.
To override the contents of this collection use set_parameters
.
A structure that maps names of parameters used in the Amazon S3 path of a dataset to their definitions.
sourcepub fn set_parameters(
self,
input: Option<HashMap<String, DatasetParameter>>,
) -> Self
pub fn set_parameters( self, input: Option<HashMap<String, DatasetParameter>>, ) -> Self
A structure that maps names of parameters used in the Amazon S3 path of a dataset to their definitions.
sourcepub fn get_parameters(&self) -> &Option<HashMap<String, DatasetParameter>>
pub fn get_parameters(&self) -> &Option<HashMap<String, DatasetParameter>>
A structure that maps names of parameters used in the Amazon S3 path of a dataset to their definitions.
sourcepub fn build(self) -> PathOptions
pub fn build(self) -> PathOptions
Consumes the builder and constructs a PathOptions
.
Trait Implementations§
source§impl Clone for PathOptionsBuilder
impl Clone for PathOptionsBuilder
source§fn clone(&self) -> PathOptionsBuilder
fn clone(&self) -> PathOptionsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PathOptionsBuilder
impl Debug for PathOptionsBuilder
source§impl Default for PathOptionsBuilder
impl Default for PathOptionsBuilder
source§fn default() -> PathOptionsBuilder
fn default() -> PathOptionsBuilder
source§impl PartialEq for PathOptionsBuilder
impl PartialEq for PathOptionsBuilder
impl StructuralPartialEq for PathOptionsBuilder
Auto Trait Implementations§
impl Freeze for PathOptionsBuilder
impl RefUnwindSafe for PathOptionsBuilder
impl Send for PathOptionsBuilder
impl Sync for PathOptionsBuilder
impl Unpin for PathOptionsBuilder
impl UnwindSafe for PathOptionsBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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