Struct aws_sdk_databrew::types::builders::JobSampleBuilder
source · #[non_exhaustive]pub struct JobSampleBuilder { /* private fields */ }
Expand description
A builder for JobSample
.
Implementations§
source§impl JobSampleBuilder
impl JobSampleBuilder
sourcepub fn mode(self, input: SampleMode) -> Self
pub fn mode(self, input: SampleMode) -> Self
A value that determines whether the profile job is run on the entire dataset or a specified number of rows. This value must be one of the following:
-
FULL_DATASET - The profile job is run on the entire dataset.
-
CUSTOM_ROWS - The profile job is run on the number of rows specified in the
Size
parameter.
sourcepub fn set_mode(self, input: Option<SampleMode>) -> Self
pub fn set_mode(self, input: Option<SampleMode>) -> Self
A value that determines whether the profile job is run on the entire dataset or a specified number of rows. This value must be one of the following:
-
FULL_DATASET - The profile job is run on the entire dataset.
-
CUSTOM_ROWS - The profile job is run on the number of rows specified in the
Size
parameter.
sourcepub fn get_mode(&self) -> &Option<SampleMode>
pub fn get_mode(&self) -> &Option<SampleMode>
A value that determines whether the profile job is run on the entire dataset or a specified number of rows. This value must be one of the following:
-
FULL_DATASET - The profile job is run on the entire dataset.
-
CUSTOM_ROWS - The profile job is run on the number of rows specified in the
Size
parameter.
sourcepub fn size(self, input: i64) -> Self
pub fn size(self, input: i64) -> Self
The Size
parameter is only required when the mode is CUSTOM_ROWS. The profile job is run on the specified number of rows. The maximum value for size is Long.MAX_VALUE.
Long.MAX_VALUE = 9223372036854775807
sourcepub fn set_size(self, input: Option<i64>) -> Self
pub fn set_size(self, input: Option<i64>) -> Self
The Size
parameter is only required when the mode is CUSTOM_ROWS. The profile job is run on the specified number of rows. The maximum value for size is Long.MAX_VALUE.
Long.MAX_VALUE = 9223372036854775807
Trait Implementations§
source§impl Clone for JobSampleBuilder
impl Clone for JobSampleBuilder
source§fn clone(&self) -> JobSampleBuilder
fn clone(&self) -> JobSampleBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for JobSampleBuilder
impl Debug for JobSampleBuilder
source§impl Default for JobSampleBuilder
impl Default for JobSampleBuilder
source§fn default() -> JobSampleBuilder
fn default() -> JobSampleBuilder
source§impl PartialEq for JobSampleBuilder
impl PartialEq for JobSampleBuilder
impl StructuralPartialEq for JobSampleBuilder
Auto Trait Implementations§
impl Freeze for JobSampleBuilder
impl RefUnwindSafe for JobSampleBuilder
impl Send for JobSampleBuilder
impl Sync for JobSampleBuilder
impl Unpin for JobSampleBuilder
impl UnwindSafe for JobSampleBuilder
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