Struct aws_sdk_databrew::types::builders::DatasetBuilder
source · #[non_exhaustive]pub struct DatasetBuilder { /* private fields */ }
Expand description
A builder for Dataset
.
Implementations§
source§impl DatasetBuilder
impl DatasetBuilder
sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Web Services account that owns the dataset.
sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The ID of the Amazon Web Services account that owns the dataset.
sourcepub fn get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
The ID of the Amazon Web Services account that owns the dataset.
sourcepub fn created_by(self, input: impl Into<String>) -> Self
pub fn created_by(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the user who created the dataset.
sourcepub fn set_created_by(self, input: Option<String>) -> Self
pub fn set_created_by(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the user who created the dataset.
sourcepub fn get_created_by(&self) -> &Option<String>
pub fn get_created_by(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the user who created the dataset.
sourcepub fn create_date(self, input: DateTime) -> Self
pub fn create_date(self, input: DateTime) -> Self
The date and time that the dataset was created.
sourcepub fn set_create_date(self, input: Option<DateTime>) -> Self
pub fn set_create_date(self, input: Option<DateTime>) -> Self
The date and time that the dataset was created.
sourcepub fn get_create_date(&self) -> &Option<DateTime>
pub fn get_create_date(&self) -> &Option<DateTime>
The date and time that the dataset was created.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The unique name of the dataset.
This field is required.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
A set of options that define how DataBrew interprets the data in the dataset.
sourcepub fn set_format_options(self, input: Option<FormatOptions>) -> Self
pub fn set_format_options(self, input: Option<FormatOptions>) -> Self
A set of options that define how DataBrew interprets the data in the dataset.
sourcepub fn get_format_options(&self) -> &Option<FormatOptions>
pub fn get_format_options(&self) -> &Option<FormatOptions>
A set of options that define how DataBrew interprets the data in the dataset.
sourcepub fn input(self, input: Input) -> Self
pub fn input(self, input: Input) -> Self
Information on how DataBrew can find the dataset, 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
Information on how DataBrew can find the dataset, in either the Glue Data Catalog or Amazon S3.
sourcepub fn get_input(&self) -> &Option<Input>
pub fn get_input(&self) -> &Option<Input>
Information on how DataBrew can find the dataset, in either the Glue Data Catalog or Amazon S3.
sourcepub fn last_modified_date(self, input: DateTime) -> Self
pub fn last_modified_date(self, input: DateTime) -> Self
The last modification date and time of the dataset.
sourcepub fn set_last_modified_date(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_date(self, input: Option<DateTime>) -> Self
The last modification date and time of the dataset.
sourcepub fn get_last_modified_date(&self) -> &Option<DateTime>
pub fn get_last_modified_date(&self) -> &Option<DateTime>
The last modification date and time of the dataset.
sourcepub fn last_modified_by(self, input: impl Into<String>) -> Self
pub fn last_modified_by(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the user who last modified the dataset.
sourcepub fn set_last_modified_by(self, input: Option<String>) -> Self
pub fn set_last_modified_by(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the user who last modified the dataset.
sourcepub fn get_last_modified_by(&self) -> &Option<String>
pub fn get_last_modified_by(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the user who last modified the dataset.
sourcepub fn source(self, input: Source) -> Self
pub fn source(self, input: Source) -> Self
The location of the data for the dataset, either Amazon S3 or the Glue Data Catalog.
sourcepub fn set_source(self, input: Option<Source>) -> Self
pub fn set_source(self, input: Option<Source>) -> Self
The location of the data for the dataset, either Amazon S3 or the Glue Data Catalog.
sourcepub fn get_source(&self) -> &Option<Source>
pub fn get_source(&self) -> &Option<Source>
The location of the data for the dataset, either Amazon S3 or the Glue Data Catalog.
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 that have been applied to the dataset.
Metadata tags that have been applied to the dataset.
Metadata tags that have been applied to the dataset.
sourcepub fn resource_arn(self, input: impl Into<String>) -> Self
pub fn resource_arn(self, input: impl Into<String>) -> Self
The unique Amazon Resource Name (ARN) for the dataset.
sourcepub fn set_resource_arn(self, input: Option<String>) -> Self
pub fn set_resource_arn(self, input: Option<String>) -> Self
The unique Amazon Resource Name (ARN) for the dataset.
sourcepub fn get_resource_arn(&self) -> &Option<String>
pub fn get_resource_arn(&self) -> &Option<String>
The unique Amazon Resource Name (ARN) for the dataset.
Trait Implementations§
source§impl Clone for DatasetBuilder
impl Clone for DatasetBuilder
source§fn clone(&self) -> DatasetBuilder
fn clone(&self) -> DatasetBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DatasetBuilder
impl Debug for DatasetBuilder
source§impl Default for DatasetBuilder
impl Default for DatasetBuilder
source§fn default() -> DatasetBuilder
fn default() -> DatasetBuilder
source§impl PartialEq for DatasetBuilder
impl PartialEq for DatasetBuilder
source§fn eq(&self, other: &DatasetBuilder) -> bool
fn eq(&self, other: &DatasetBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.