pub struct CreateDatasetFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateDataset
.
Creates a new DataBrew dataset.
Implementations§
source§impl CreateDatasetFluentBuilder
impl CreateDatasetFluentBuilder
sourcepub fn as_input(&self) -> &CreateDatasetInputBuilder
pub fn as_input(&self) -> &CreateDatasetInputBuilder
Access the CreateDataset as a reference.
sourcepub async fn send(
self
) -> Result<CreateDatasetOutput, SdkError<CreateDatasetError, HttpResponse>>
pub async fn send( self ) -> Result<CreateDatasetOutput, SdkError<CreateDatasetError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<CreateDatasetOutput, CreateDatasetError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateDatasetOutput, CreateDatasetError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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.
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.
Trait Implementations§
source§impl Clone for CreateDatasetFluentBuilder
impl Clone for CreateDatasetFluentBuilder
source§fn clone(&self) -> CreateDatasetFluentBuilder
fn clone(&self) -> CreateDatasetFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more