#[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
impl StructuralPartialEq for CreateDatasetInputBuilder
Auto Trait Implementations§
impl Freeze for CreateDatasetInputBuilder
impl RefUnwindSafe for CreateDatasetInputBuilder
impl Send for CreateDatasetInputBuilder
impl Sync for CreateDatasetInputBuilder
impl Unpin for CreateDatasetInputBuilder
impl UnwindSafe for CreateDatasetInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more