#[non_exhaustive]pub struct DatasetPropertiesBuilder { /* private fields */ }Expand description
A builder for DatasetProperties.
Implementations§
source§impl DatasetPropertiesBuilder
impl DatasetPropertiesBuilder
sourcepub fn dataset_arn(self, input: impl Into<String>) -> Self
pub fn dataset_arn(self, input: impl Into<String>) -> Self
The ARN of the dataset.
sourcepub fn set_dataset_arn(self, input: Option<String>) -> Self
pub fn set_dataset_arn(self, input: Option<String>) -> Self
The ARN of the dataset.
sourcepub fn dataset_name(self, input: impl Into<String>) -> Self
pub fn dataset_name(self, input: impl Into<String>) -> Self
The name of the dataset.
sourcepub fn set_dataset_name(self, input: Option<String>) -> Self
pub fn set_dataset_name(self, input: Option<String>) -> Self
The name of the dataset.
sourcepub fn dataset_type(self, input: DatasetType) -> Self
pub fn dataset_type(self, input: DatasetType) -> Self
The dataset type (training data or test data).
sourcepub fn set_dataset_type(self, input: Option<DatasetType>) -> Self
pub fn set_dataset_type(self, input: Option<DatasetType>) -> Self
The dataset type (training data or test data).
sourcepub fn dataset_s3_uri(self, input: impl Into<String>) -> Self
pub fn dataset_s3_uri(self, input: impl Into<String>) -> Self
The S3 URI where the dataset is stored.
sourcepub fn set_dataset_s3_uri(self, input: Option<String>) -> Self
pub fn set_dataset_s3_uri(self, input: Option<String>) -> Self
The S3 URI where the dataset is stored.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
Description of the dataset.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
Description of the dataset.
sourcepub fn status(self, input: DatasetStatus) -> Self
pub fn status(self, input: DatasetStatus) -> Self
The dataset status. While the system creates the dataset, the status is CREATING. When the dataset is ready to use, the status changes to COMPLETED.
sourcepub fn set_status(self, input: Option<DatasetStatus>) -> Self
pub fn set_status(self, input: Option<DatasetStatus>) -> Self
The dataset status. While the system creates the dataset, the status is CREATING. When the dataset is ready to use, the status changes to COMPLETED.
sourcepub fn message(self, input: impl Into<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
A description of the status of the dataset.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
A description of the status of the dataset.
sourcepub fn number_of_documents(self, input: i64) -> Self
pub fn number_of_documents(self, input: i64) -> Self
The number of documents in the dataset.
sourcepub fn set_number_of_documents(self, input: Option<i64>) -> Self
pub fn set_number_of_documents(self, input: Option<i64>) -> Self
The number of documents in the dataset.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
Creation time of the dataset.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
Creation time of the dataset.
sourcepub fn end_time(self, input: DateTime) -> Self
pub fn end_time(self, input: DateTime) -> Self
Time when the data from the dataset becomes available in the data lake.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
Time when the data from the dataset becomes available in the data lake.
sourcepub fn build(self) -> DatasetProperties
pub fn build(self) -> DatasetProperties
Consumes the builder and constructs a DatasetProperties.
Trait Implementations§
source§impl Clone for DatasetPropertiesBuilder
impl Clone for DatasetPropertiesBuilder
source§fn clone(&self) -> DatasetPropertiesBuilder
fn clone(&self) -> DatasetPropertiesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DatasetPropertiesBuilder
impl Debug for DatasetPropertiesBuilder
source§impl Default for DatasetPropertiesBuilder
impl Default for DatasetPropertiesBuilder
source§fn default() -> DatasetPropertiesBuilder
fn default() -> DatasetPropertiesBuilder
source§impl PartialEq<DatasetPropertiesBuilder> for DatasetPropertiesBuilder
impl PartialEq<DatasetPropertiesBuilder> for DatasetPropertiesBuilder
source§fn eq(&self, other: &DatasetPropertiesBuilder) -> bool
fn eq(&self, other: &DatasetPropertiesBuilder) -> bool
self and other values to be equal, and is used
by ==.