Struct aws_sdk_glue::types::builders::SpigotBuilder
source · #[non_exhaustive]pub struct SpigotBuilder { /* private fields */ }Expand description
A builder for Spigot.
Implementations§
source§impl SpigotBuilder
impl SpigotBuilder
sourcepub fn inputs(self, input: impl Into<String>) -> Self
pub fn inputs(self, input: impl Into<String>) -> Self
Appends an item to inputs.
To override the contents of this collection use set_inputs.
The data inputs identified by their node names.
sourcepub fn set_inputs(self, input: Option<Vec<String>>) -> Self
pub fn set_inputs(self, input: Option<Vec<String>>) -> Self
The data inputs identified by their node names.
sourcepub fn get_inputs(&self) -> &Option<Vec<String>>
pub fn get_inputs(&self) -> &Option<Vec<String>>
The data inputs identified by their node names.
sourcepub fn path(self, input: impl Into<String>) -> Self
pub fn path(self, input: impl Into<String>) -> Self
A path in Amazon S3 where the transform will write a subset of records from the dataset to a JSON file in an Amazon S3 bucket.
sourcepub fn set_path(self, input: Option<String>) -> Self
pub fn set_path(self, input: Option<String>) -> Self
A path in Amazon S3 where the transform will write a subset of records from the dataset to a JSON file in an Amazon S3 bucket.
sourcepub fn get_path(&self) -> &Option<String>
pub fn get_path(&self) -> &Option<String>
A path in Amazon S3 where the transform will write a subset of records from the dataset to a JSON file in an Amazon S3 bucket.
sourcepub fn topk(self, input: i32) -> Self
pub fn topk(self, input: i32) -> Self
Specifies a number of records to write starting from the beginning of the dataset.
sourcepub fn set_topk(self, input: Option<i32>) -> Self
pub fn set_topk(self, input: Option<i32>) -> Self
Specifies a number of records to write starting from the beginning of the dataset.
sourcepub fn get_topk(&self) -> &Option<i32>
pub fn get_topk(&self) -> &Option<i32>
Specifies a number of records to write starting from the beginning of the dataset.
sourcepub fn prob(self, input: f64) -> Self
pub fn prob(self, input: f64) -> Self
The probability (a decimal value with a maximum value of 1) of picking any given record. A value of 1 indicates that each row read from the dataset should be included in the sample output.
sourcepub fn set_prob(self, input: Option<f64>) -> Self
pub fn set_prob(self, input: Option<f64>) -> Self
The probability (a decimal value with a maximum value of 1) of picking any given record. A value of 1 indicates that each row read from the dataset should be included in the sample output.
Trait Implementations§
source§impl Clone for SpigotBuilder
impl Clone for SpigotBuilder
source§fn clone(&self) -> SpigotBuilder
fn clone(&self) -> SpigotBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SpigotBuilder
impl Debug for SpigotBuilder
source§impl Default for SpigotBuilder
impl Default for SpigotBuilder
source§fn default() -> SpigotBuilder
fn default() -> SpigotBuilder
source§impl PartialEq<SpigotBuilder> for SpigotBuilder
impl PartialEq<SpigotBuilder> for SpigotBuilder
source§fn eq(&self, other: &SpigotBuilder) -> bool
fn eq(&self, other: &SpigotBuilder) -> bool
self and other values to be equal, and is used
by ==.