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
source§fn eq(&self, other: &JobSampleBuilder) -> bool
fn eq(&self, other: &JobSampleBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.