Struct aws_sdk_databrew::model::job_sample::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for JobSample
.
Implementations§
source§impl Builder
impl Builder
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 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