Struct aws_sdk_databrew::types::builders::FilesLimitBuilder
source · #[non_exhaustive]pub struct FilesLimitBuilder { /* private fields */ }
Expand description
A builder for FilesLimit
.
Implementations§
source§impl FilesLimitBuilder
impl FilesLimitBuilder
sourcepub fn max_files(self, input: i32) -> Self
pub fn max_files(self, input: i32) -> Self
The number of Amazon S3 files to select.
This field is required.sourcepub fn set_max_files(self, input: Option<i32>) -> Self
pub fn set_max_files(self, input: Option<i32>) -> Self
The number of Amazon S3 files to select.
sourcepub fn get_max_files(&self) -> &Option<i32>
pub fn get_max_files(&self) -> &Option<i32>
The number of Amazon S3 files to select.
sourcepub fn ordered_by(self, input: OrderedBy) -> Self
pub fn ordered_by(self, input: OrderedBy) -> Self
A criteria to use for Amazon S3 files sorting before their selection. By default uses LAST_MODIFIED_DATE as a sorting criteria. Currently it's the only allowed value.
sourcepub fn set_ordered_by(self, input: Option<OrderedBy>) -> Self
pub fn set_ordered_by(self, input: Option<OrderedBy>) -> Self
A criteria to use for Amazon S3 files sorting before their selection. By default uses LAST_MODIFIED_DATE as a sorting criteria. Currently it's the only allowed value.
sourcepub fn get_ordered_by(&self) -> &Option<OrderedBy>
pub fn get_ordered_by(&self) -> &Option<OrderedBy>
A criteria to use for Amazon S3 files sorting before their selection. By default uses LAST_MODIFIED_DATE as a sorting criteria. Currently it's the only allowed value.
sourcepub fn order(self, input: Order) -> Self
pub fn order(self, input: Order) -> Self
A criteria to use for Amazon S3 files sorting before their selection. By default uses DESCENDING order, i.e. most recent files are selected first. Another possible value is ASCENDING.
sourcepub fn set_order(self, input: Option<Order>) -> Self
pub fn set_order(self, input: Option<Order>) -> Self
A criteria to use for Amazon S3 files sorting before their selection. By default uses DESCENDING order, i.e. most recent files are selected first. Another possible value is ASCENDING.
sourcepub fn get_order(&self) -> &Option<Order>
pub fn get_order(&self) -> &Option<Order>
A criteria to use for Amazon S3 files sorting before their selection. By default uses DESCENDING order, i.e. most recent files are selected first. Another possible value is ASCENDING.
sourcepub fn build(self) -> Result<FilesLimit, BuildError>
pub fn build(self) -> Result<FilesLimit, BuildError>
Consumes the builder and constructs a FilesLimit
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for FilesLimitBuilder
impl Clone for FilesLimitBuilder
source§fn clone(&self) -> FilesLimitBuilder
fn clone(&self) -> FilesLimitBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FilesLimitBuilder
impl Debug for FilesLimitBuilder
source§impl Default for FilesLimitBuilder
impl Default for FilesLimitBuilder
source§fn default() -> FilesLimitBuilder
fn default() -> FilesLimitBuilder
source§impl PartialEq for FilesLimitBuilder
impl PartialEq for FilesLimitBuilder
impl StructuralPartialEq for FilesLimitBuilder
Auto Trait Implementations§
impl Freeze for FilesLimitBuilder
impl RefUnwindSafe for FilesLimitBuilder
impl Send for FilesLimitBuilder
impl Sync for FilesLimitBuilder
impl Unpin for FilesLimitBuilder
impl UnwindSafe for FilesLimitBuilder
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