Struct aws_sdk_forecast::operation::describe_dataset::builders::DescribeDatasetOutputBuilder
source · #[non_exhaustive]pub struct DescribeDatasetOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeDatasetOutput
.
Implementations§
source§impl DescribeDatasetOutputBuilder
impl DescribeDatasetOutputBuilder
sourcepub fn dataset_arn(self, input: impl Into<String>) -> Self
pub fn dataset_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (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 Amazon Resource Name (ARN) of the dataset.
sourcepub fn get_dataset_arn(&self) -> &Option<String>
pub fn get_dataset_arn(&self) -> &Option<String>
The Amazon Resource Name (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 get_dataset_name(&self) -> &Option<String>
pub fn get_dataset_name(&self) -> &Option<String>
The name of the dataset.
sourcepub fn set_domain(self, input: Option<Domain>) -> Self
pub fn set_domain(self, input: Option<Domain>) -> Self
The domain associated with the dataset.
sourcepub fn get_domain(&self) -> &Option<Domain>
pub fn get_domain(&self) -> &Option<Domain>
The domain associated with the dataset.
sourcepub fn dataset_type(self, input: DatasetType) -> Self
pub fn dataset_type(self, input: DatasetType) -> Self
The dataset type.
sourcepub fn set_dataset_type(self, input: Option<DatasetType>) -> Self
pub fn set_dataset_type(self, input: Option<DatasetType>) -> Self
The dataset type.
sourcepub fn get_dataset_type(&self) -> &Option<DatasetType>
pub fn get_dataset_type(&self) -> &Option<DatasetType>
The dataset type.
sourcepub fn data_frequency(self, input: impl Into<String>) -> Self
pub fn data_frequency(self, input: impl Into<String>) -> Self
The frequency of data collection.
Valid intervals are Y (Year), M (Month), W (Week), D (Day), H (Hour), 30min (30 minutes), 15min (15 minutes), 10min (10 minutes), 5min (5 minutes), and 1min (1 minute). For example, "M" indicates every month and "30min" indicates every 30 minutes.
sourcepub fn set_data_frequency(self, input: Option<String>) -> Self
pub fn set_data_frequency(self, input: Option<String>) -> Self
The frequency of data collection.
Valid intervals are Y (Year), M (Month), W (Week), D (Day), H (Hour), 30min (30 minutes), 15min (15 minutes), 10min (10 minutes), 5min (5 minutes), and 1min (1 minute). For example, "M" indicates every month and "30min" indicates every 30 minutes.
sourcepub fn get_data_frequency(&self) -> &Option<String>
pub fn get_data_frequency(&self) -> &Option<String>
The frequency of data collection.
Valid intervals are Y (Year), M (Month), W (Week), D (Day), H (Hour), 30min (30 minutes), 15min (15 minutes), 10min (10 minutes), 5min (5 minutes), and 1min (1 minute). For example, "M" indicates every month and "30min" indicates every 30 minutes.
sourcepub fn schema(self, input: Schema) -> Self
pub fn schema(self, input: Schema) -> Self
An array of SchemaAttribute
objects that specify the dataset fields. Each SchemaAttribute
specifies the name and data type of a field.
sourcepub fn set_schema(self, input: Option<Schema>) -> Self
pub fn set_schema(self, input: Option<Schema>) -> Self
An array of SchemaAttribute
objects that specify the dataset fields. Each SchemaAttribute
specifies the name and data type of a field.
sourcepub fn get_schema(&self) -> &Option<Schema>
pub fn get_schema(&self) -> &Option<Schema>
An array of SchemaAttribute
objects that specify the dataset fields. Each SchemaAttribute
specifies the name and data type of a field.
sourcepub fn encryption_config(self, input: EncryptionConfig) -> Self
pub fn encryption_config(self, input: EncryptionConfig) -> Self
The Key Management Service (KMS) key and the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key.
sourcepub fn set_encryption_config(self, input: Option<EncryptionConfig>) -> Self
pub fn set_encryption_config(self, input: Option<EncryptionConfig>) -> Self
The Key Management Service (KMS) key and the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key.
sourcepub fn get_encryption_config(&self) -> &Option<EncryptionConfig>
pub fn get_encryption_config(&self) -> &Option<EncryptionConfig>
The Key Management Service (KMS) key and the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key.
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
The status of the dataset. States include:
-
ACTIVE
-
CREATE_PENDING
,CREATE_IN_PROGRESS
,CREATE_FAILED
-
DELETE_PENDING
,DELETE_IN_PROGRESS
,DELETE_FAILED
-
UPDATE_PENDING
,UPDATE_IN_PROGRESS
,UPDATE_FAILED
The UPDATE
states apply while data is imported to the dataset from a call to the CreateDatasetImportJob operation and reflect the status of the dataset import job. For example, when the import job status is CREATE_IN_PROGRESS
, the status of the dataset is UPDATE_IN_PROGRESS
.
The Status
of the dataset must be ACTIVE
before you can import training data.
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The status of the dataset. States include:
-
ACTIVE
-
CREATE_PENDING
,CREATE_IN_PROGRESS
,CREATE_FAILED
-
DELETE_PENDING
,DELETE_IN_PROGRESS
,DELETE_FAILED
-
UPDATE_PENDING
,UPDATE_IN_PROGRESS
,UPDATE_FAILED
The UPDATE
states apply while data is imported to the dataset from a call to the CreateDatasetImportJob operation and reflect the status of the dataset import job. For example, when the import job status is CREATE_IN_PROGRESS
, the status of the dataset is UPDATE_IN_PROGRESS
.
The Status
of the dataset must be ACTIVE
before you can import training data.
sourcepub fn get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
The status of the dataset. States include:
-
ACTIVE
-
CREATE_PENDING
,CREATE_IN_PROGRESS
,CREATE_FAILED
-
DELETE_PENDING
,DELETE_IN_PROGRESS
,DELETE_FAILED
-
UPDATE_PENDING
,UPDATE_IN_PROGRESS
,UPDATE_FAILED
The UPDATE
states apply while data is imported to the dataset from a call to the CreateDatasetImportJob operation and reflect the status of the dataset import job. For example, when the import job status is CREATE_IN_PROGRESS
, the status of the dataset is UPDATE_IN_PROGRESS
.
The Status
of the dataset must be ACTIVE
before you can import training data.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
When the dataset was created.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
When the dataset was created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
When the dataset was created.
sourcepub fn last_modification_time(self, input: DateTime) -> Self
pub fn last_modification_time(self, input: DateTime) -> Self
When you create a dataset, LastModificationTime
is the same as CreationTime
. While data is being imported to the dataset, LastModificationTime
is the current time of the DescribeDataset
call. After a CreateDatasetImportJob operation has finished, LastModificationTime
is when the import job completed or failed.
sourcepub fn set_last_modification_time(self, input: Option<DateTime>) -> Self
pub fn set_last_modification_time(self, input: Option<DateTime>) -> Self
When you create a dataset, LastModificationTime
is the same as CreationTime
. While data is being imported to the dataset, LastModificationTime
is the current time of the DescribeDataset
call. After a CreateDatasetImportJob operation has finished, LastModificationTime
is when the import job completed or failed.
sourcepub fn get_last_modification_time(&self) -> &Option<DateTime>
pub fn get_last_modification_time(&self) -> &Option<DateTime>
When you create a dataset, LastModificationTime
is the same as CreationTime
. While data is being imported to the dataset, LastModificationTime
is the current time of the DescribeDataset
call. After a CreateDatasetImportJob operation has finished, LastModificationTime
is when the import job completed or failed.
sourcepub fn build(self) -> DescribeDatasetOutput
pub fn build(self) -> DescribeDatasetOutput
Consumes the builder and constructs a DescribeDatasetOutput
.
Trait Implementations§
source§impl Clone for DescribeDatasetOutputBuilder
impl Clone for DescribeDatasetOutputBuilder
source§fn clone(&self) -> DescribeDatasetOutputBuilder
fn clone(&self) -> DescribeDatasetOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeDatasetOutputBuilder
impl Debug for DescribeDatasetOutputBuilder
source§impl Default for DescribeDatasetOutputBuilder
impl Default for DescribeDatasetOutputBuilder
source§fn default() -> DescribeDatasetOutputBuilder
fn default() -> DescribeDatasetOutputBuilder
source§impl PartialEq for DescribeDatasetOutputBuilder
impl PartialEq for DescribeDatasetOutputBuilder
source§fn eq(&self, other: &DescribeDatasetOutputBuilder) -> bool
fn eq(&self, other: &DescribeDatasetOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeDatasetOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeDatasetOutputBuilder
impl RefUnwindSafe for DescribeDatasetOutputBuilder
impl Send for DescribeDatasetOutputBuilder
impl Sync for DescribeDatasetOutputBuilder
impl Unpin for DescribeDatasetOutputBuilder
impl UnwindSafe for DescribeDatasetOutputBuilder
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> 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