#[non_exhaustive]pub struct CreateDatasetInputBuilder { /* private fields */ }
Expand description
A builder for CreateDatasetInput
.
Implementations§
source§impl CreateDatasetInputBuilder
impl CreateDatasetInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the dataset to be created. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the dataset to be created. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the dataset to be created. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
sourcepub fn format(self, input: InputFormat) -> Self
pub fn format(self, input: InputFormat) -> Self
The file format of a dataset that is created from an Amazon S3 file or folder.
sourcepub fn set_format(self, input: Option<InputFormat>) -> Self
pub fn set_format(self, input: Option<InputFormat>) -> Self
The file format of a dataset that is created from an Amazon S3 file or folder.
sourcepub fn get_format(&self) -> &Option<InputFormat>
pub fn get_format(&self) -> &Option<InputFormat>
The file format of a dataset that is created from an Amazon S3 file or folder.
sourcepub fn format_options(self, input: FormatOptions) -> Self
pub fn format_options(self, input: FormatOptions) -> Self
Represents a set of options that define the structure of either comma-separated value (CSV), Excel, or JSON input.
sourcepub fn set_format_options(self, input: Option<FormatOptions>) -> Self
pub fn set_format_options(self, input: Option<FormatOptions>) -> Self
Represents a set of options that define the structure of either comma-separated value (CSV), Excel, or JSON input.
sourcepub fn get_format_options(&self) -> &Option<FormatOptions>
pub fn get_format_options(&self) -> &Option<FormatOptions>
Represents a set of options that define the structure of either comma-separated value (CSV), Excel, or JSON input.
sourcepub fn input(self, input: Input) -> Self
pub fn input(self, input: Input) -> Self
Represents information on how DataBrew can find data, in either the Glue Data Catalog or Amazon S3.
This field is required.sourcepub fn set_input(self, input: Option<Input>) -> Self
pub fn set_input(self, input: Option<Input>) -> Self
Represents information on how DataBrew can find data, in either the Glue Data Catalog or Amazon S3.
sourcepub fn get_input(&self) -> &Option<Input>
pub fn get_input(&self) -> &Option<Input>
Represents information on how DataBrew can find data, in either the Glue Data Catalog or Amazon S3.
sourcepub fn path_options(self, input: PathOptions) -> Self
pub fn path_options(self, input: PathOptions) -> Self
A set of options that defines how DataBrew interprets an Amazon S3 path of the dataset.
sourcepub fn set_path_options(self, input: Option<PathOptions>) -> Self
pub fn set_path_options(self, input: Option<PathOptions>) -> Self
A set of options that defines how DataBrew interprets an Amazon S3 path of the dataset.
sourcepub fn get_path_options(&self) -> &Option<PathOptions>
pub fn get_path_options(&self) -> &Option<PathOptions>
A set of options that defines how DataBrew interprets an Amazon S3 path of the dataset.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
Metadata tags to apply to this dataset.
Metadata tags to apply to this dataset.
Metadata tags to apply to this dataset.
sourcepub fn build(self) -> Result<CreateDatasetInput, BuildError>
pub fn build(self) -> Result<CreateDatasetInput, BuildError>
Consumes the builder and constructs a CreateDatasetInput
.
source§impl CreateDatasetInputBuilder
impl CreateDatasetInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateDatasetOutput, SdkError<CreateDatasetError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateDatasetOutput, SdkError<CreateDatasetError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateDatasetInputBuilder
impl Clone for CreateDatasetInputBuilder
source§fn clone(&self) -> CreateDatasetInputBuilder
fn clone(&self) -> CreateDatasetInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateDatasetInputBuilder
impl Debug for CreateDatasetInputBuilder
source§impl Default for CreateDatasetInputBuilder
impl Default for CreateDatasetInputBuilder
source§fn default() -> CreateDatasetInputBuilder
fn default() -> CreateDatasetInputBuilder
source§impl PartialEq for CreateDatasetInputBuilder
impl PartialEq for CreateDatasetInputBuilder
source§fn eq(&self, other: &CreateDatasetInputBuilder) -> bool
fn eq(&self, other: &CreateDatasetInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.