Struct aws_sdk_forecast::operation::describe_dataset_import_job::builders::DescribeDatasetImportJobOutputBuilder
source · #[non_exhaustive]pub struct DescribeDatasetImportJobOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeDatasetImportJobOutput
.
Implementations§
source§impl DescribeDatasetImportJobOutputBuilder
impl DescribeDatasetImportJobOutputBuilder
sourcepub fn dataset_import_job_name(self, input: impl Into<String>) -> Self
pub fn dataset_import_job_name(self, input: impl Into<String>) -> Self
The name of the dataset import job.
sourcepub fn set_dataset_import_job_name(self, input: Option<String>) -> Self
pub fn set_dataset_import_job_name(self, input: Option<String>) -> Self
The name of the dataset import job.
sourcepub fn get_dataset_import_job_name(&self) -> &Option<String>
pub fn get_dataset_import_job_name(&self) -> &Option<String>
The name of the dataset import job.
sourcepub fn dataset_import_job_arn(self, input: impl Into<String>) -> Self
pub fn dataset_import_job_arn(self, input: impl Into<String>) -> Self
The ARN of the dataset import job.
sourcepub fn set_dataset_import_job_arn(self, input: Option<String>) -> Self
pub fn set_dataset_import_job_arn(self, input: Option<String>) -> Self
The ARN of the dataset import job.
sourcepub fn get_dataset_import_job_arn(&self) -> &Option<String>
pub fn get_dataset_import_job_arn(&self) -> &Option<String>
The ARN of the dataset import job.
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 that the training data was imported to.
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 that the training data was imported to.
sourcepub fn get_dataset_arn(&self) -> &Option<String>
pub fn get_dataset_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the dataset that the training data was imported to.
sourcepub fn timestamp_format(self, input: impl Into<String>) -> Self
pub fn timestamp_format(self, input: impl Into<String>) -> Self
The format of timestamps in the dataset. The format that you specify depends on the DataFrequency
specified when the dataset was created. The following formats are supported
-
"yyyy-MM-dd"
For the following data frequencies: Y, M, W, and D
-
"yyyy-MM-dd HH:mm:ss"
For the following data frequencies: H, 30min, 15min, and 1min; and optionally, for: Y, M, W, and D
sourcepub fn set_timestamp_format(self, input: Option<String>) -> Self
pub fn set_timestamp_format(self, input: Option<String>) -> Self
The format of timestamps in the dataset. The format that you specify depends on the DataFrequency
specified when the dataset was created. The following formats are supported
-
"yyyy-MM-dd"
For the following data frequencies: Y, M, W, and D
-
"yyyy-MM-dd HH:mm:ss"
For the following data frequencies: H, 30min, 15min, and 1min; and optionally, for: Y, M, W, and D
sourcepub fn get_timestamp_format(&self) -> &Option<String>
pub fn get_timestamp_format(&self) -> &Option<String>
The format of timestamps in the dataset. The format that you specify depends on the DataFrequency
specified when the dataset was created. The following formats are supported
-
"yyyy-MM-dd"
For the following data frequencies: Y, M, W, and D
-
"yyyy-MM-dd HH:mm:ss"
For the following data frequencies: H, 30min, 15min, and 1min; and optionally, for: Y, M, W, and D
sourcepub fn time_zone(self, input: impl Into<String>) -> Self
pub fn time_zone(self, input: impl Into<String>) -> Self
The single time zone applied to every item in the dataset
sourcepub fn set_time_zone(self, input: Option<String>) -> Self
pub fn set_time_zone(self, input: Option<String>) -> Self
The single time zone applied to every item in the dataset
sourcepub fn get_time_zone(&self) -> &Option<String>
pub fn get_time_zone(&self) -> &Option<String>
The single time zone applied to every item in the dataset
sourcepub fn use_geolocation_for_time_zone(self, input: bool) -> Self
pub fn use_geolocation_for_time_zone(self, input: bool) -> Self
Whether TimeZone
is automatically derived from the geolocation attribute.
sourcepub fn set_use_geolocation_for_time_zone(self, input: Option<bool>) -> Self
pub fn set_use_geolocation_for_time_zone(self, input: Option<bool>) -> Self
Whether TimeZone
is automatically derived from the geolocation attribute.
sourcepub fn get_use_geolocation_for_time_zone(&self) -> &Option<bool>
pub fn get_use_geolocation_for_time_zone(&self) -> &Option<bool>
Whether TimeZone
is automatically derived from the geolocation attribute.
sourcepub fn geolocation_format(self, input: impl Into<String>) -> Self
pub fn geolocation_format(self, input: impl Into<String>) -> Self
The format of the geolocation attribute. Valid Values:"LAT_LONG"
and "CC_POSTALCODE"
.
sourcepub fn set_geolocation_format(self, input: Option<String>) -> Self
pub fn set_geolocation_format(self, input: Option<String>) -> Self
The format of the geolocation attribute. Valid Values:"LAT_LONG"
and "CC_POSTALCODE"
.
sourcepub fn get_geolocation_format(&self) -> &Option<String>
pub fn get_geolocation_format(&self) -> &Option<String>
The format of the geolocation attribute. Valid Values:"LAT_LONG"
and "CC_POSTALCODE"
.
sourcepub fn data_source(self, input: DataSource) -> Self
pub fn data_source(self, input: DataSource) -> Self
The location of the training data to import and an Identity and Access Management (IAM) role that Amazon Forecast can assume to access the data.
If encryption is used, DataSource
includes an Key Management Service (KMS) key.
sourcepub fn set_data_source(self, input: Option<DataSource>) -> Self
pub fn set_data_source(self, input: Option<DataSource>) -> Self
The location of the training data to import and an Identity and Access Management (IAM) role that Amazon Forecast can assume to access the data.
If encryption is used, DataSource
includes an Key Management Service (KMS) key.
sourcepub fn get_data_source(&self) -> &Option<DataSource>
pub fn get_data_source(&self) -> &Option<DataSource>
The location of the training data to import and an Identity and Access Management (IAM) role that Amazon Forecast can assume to access the data.
If encryption is used, DataSource
includes an Key Management Service (KMS) key.
sourcepub fn estimated_time_remaining_in_minutes(self, input: i64) -> Self
pub fn estimated_time_remaining_in_minutes(self, input: i64) -> Self
The estimated time remaining in minutes for the dataset import job to complete.
sourcepub fn set_estimated_time_remaining_in_minutes(self, input: Option<i64>) -> Self
pub fn set_estimated_time_remaining_in_minutes(self, input: Option<i64>) -> Self
The estimated time remaining in minutes for the dataset import job to complete.
sourcepub fn get_estimated_time_remaining_in_minutes(&self) -> &Option<i64>
pub fn get_estimated_time_remaining_in_minutes(&self) -> &Option<i64>
The estimated time remaining in minutes for the dataset import job to complete.
sourcepub fn field_statistics(self, k: impl Into<String>, v: Statistics) -> Self
pub fn field_statistics(self, k: impl Into<String>, v: Statistics) -> Self
Adds a key-value pair to field_statistics
.
To override the contents of this collection use set_field_statistics
.
Statistical information about each field in the input data.
sourcepub fn set_field_statistics(
self,
input: Option<HashMap<String, Statistics>>
) -> Self
pub fn set_field_statistics( self, input: Option<HashMap<String, Statistics>> ) -> Self
Statistical information about each field in the input data.
sourcepub fn get_field_statistics(&self) -> &Option<HashMap<String, Statistics>>
pub fn get_field_statistics(&self) -> &Option<HashMap<String, Statistics>>
Statistical information about each field in the input data.
sourcepub fn data_size(self, input: f64) -> Self
pub fn data_size(self, input: f64) -> Self
The size of the dataset in gigabytes (GB) after the import job has finished.
sourcepub fn set_data_size(self, input: Option<f64>) -> Self
pub fn set_data_size(self, input: Option<f64>) -> Self
The size of the dataset in gigabytes (GB) after the import job has finished.
sourcepub fn get_data_size(&self) -> &Option<f64>
pub fn get_data_size(&self) -> &Option<f64>
The size of the dataset in gigabytes (GB) after the import job has finished.
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
The status of the dataset import job. States include:
-
ACTIVE
-
CREATE_PENDING
,CREATE_IN_PROGRESS
,CREATE_FAILED
-
DELETE_PENDING
,DELETE_IN_PROGRESS
,DELETE_FAILED
-
CREATE_STOPPING
,CREATE_STOPPED
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The status of the dataset import job. States include:
-
ACTIVE
-
CREATE_PENDING
,CREATE_IN_PROGRESS
,CREATE_FAILED
-
DELETE_PENDING
,DELETE_IN_PROGRESS
,DELETE_FAILED
-
CREATE_STOPPING
,CREATE_STOPPED
sourcepub fn get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
The status of the dataset import job. States include:
-
ACTIVE
-
CREATE_PENDING
,CREATE_IN_PROGRESS
,CREATE_FAILED
-
DELETE_PENDING
,DELETE_IN_PROGRESS
,DELETE_FAILED
-
CREATE_STOPPING
,CREATE_STOPPED
sourcepub fn message(self, input: impl Into<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
If an error occurred, an informational message about the error.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
If an error occurred, an informational message about the error.
sourcepub fn get_message(&self) -> &Option<String>
pub fn get_message(&self) -> &Option<String>
If an error occurred, an informational message about the error.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
When the dataset import job 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 import job was created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
When the dataset import job was created.
sourcepub fn last_modification_time(self, input: DateTime) -> Self
pub fn last_modification_time(self, input: DateTime) -> Self
The last time the resource was modified. The timestamp depends on the status of the job:
-
CREATE_PENDING
- TheCreationTime
. -
CREATE_IN_PROGRESS
- The current timestamp. -
CREATE_STOPPING
- The current timestamp. -
CREATE_STOPPED
- When the job stopped. -
ACTIVE
orCREATE_FAILED
- When the job finished or failed.
sourcepub fn set_last_modification_time(self, input: Option<DateTime>) -> Self
pub fn set_last_modification_time(self, input: Option<DateTime>) -> Self
The last time the resource was modified. The timestamp depends on the status of the job:
-
CREATE_PENDING
- TheCreationTime
. -
CREATE_IN_PROGRESS
- The current timestamp. -
CREATE_STOPPING
- The current timestamp. -
CREATE_STOPPED
- When the job stopped. -
ACTIVE
orCREATE_FAILED
- When the job finished or failed.
sourcepub fn get_last_modification_time(&self) -> &Option<DateTime>
pub fn get_last_modification_time(&self) -> &Option<DateTime>
The last time the resource was modified. The timestamp depends on the status of the job:
-
CREATE_PENDING
- TheCreationTime
. -
CREATE_IN_PROGRESS
- The current timestamp. -
CREATE_STOPPING
- The current timestamp. -
CREATE_STOPPED
- When the job stopped. -
ACTIVE
orCREATE_FAILED
- When the job finished or failed.
sourcepub fn format(self, input: impl Into<String>) -> Self
pub fn format(self, input: impl Into<String>) -> Self
The format of the imported data, CSV or PARQUET.
sourcepub fn set_format(self, input: Option<String>) -> Self
pub fn set_format(self, input: Option<String>) -> Self
The format of the imported data, CSV or PARQUET.
sourcepub fn get_format(&self) -> &Option<String>
pub fn get_format(&self) -> &Option<String>
The format of the imported data, CSV or PARQUET.
sourcepub fn import_mode(self, input: ImportMode) -> Self
pub fn import_mode(self, input: ImportMode) -> Self
The import mode of the dataset import job, FULL or INCREMENTAL.
sourcepub fn set_import_mode(self, input: Option<ImportMode>) -> Self
pub fn set_import_mode(self, input: Option<ImportMode>) -> Self
The import mode of the dataset import job, FULL or INCREMENTAL.
sourcepub fn get_import_mode(&self) -> &Option<ImportMode>
pub fn get_import_mode(&self) -> &Option<ImportMode>
The import mode of the dataset import job, FULL or INCREMENTAL.
sourcepub fn build(self) -> DescribeDatasetImportJobOutput
pub fn build(self) -> DescribeDatasetImportJobOutput
Consumes the builder and constructs a DescribeDatasetImportJobOutput
.
Trait Implementations§
source§impl Clone for DescribeDatasetImportJobOutputBuilder
impl Clone for DescribeDatasetImportJobOutputBuilder
source§fn clone(&self) -> DescribeDatasetImportJobOutputBuilder
fn clone(&self) -> DescribeDatasetImportJobOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeDatasetImportJobOutputBuilder
impl Default for DescribeDatasetImportJobOutputBuilder
source§fn default() -> DescribeDatasetImportJobOutputBuilder
fn default() -> DescribeDatasetImportJobOutputBuilder
source§impl PartialEq for DescribeDatasetImportJobOutputBuilder
impl PartialEq for DescribeDatasetImportJobOutputBuilder
source§fn eq(&self, other: &DescribeDatasetImportJobOutputBuilder) -> bool
fn eq(&self, other: &DescribeDatasetImportJobOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeDatasetImportJobOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeDatasetImportJobOutputBuilder
impl RefUnwindSafe for DescribeDatasetImportJobOutputBuilder
impl Send for DescribeDatasetImportJobOutputBuilder
impl Sync for DescribeDatasetImportJobOutputBuilder
impl Unpin for DescribeDatasetImportJobOutputBuilder
impl UnwindSafe for DescribeDatasetImportJobOutputBuilder
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