Struct aws_sdk_forecast::operation::describe_auto_predictor::builders::DescribeAutoPredictorOutputBuilder
source · #[non_exhaustive]pub struct DescribeAutoPredictorOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeAutoPredictorOutput
.
Implementations§
source§impl DescribeAutoPredictorOutputBuilder
impl DescribeAutoPredictorOutputBuilder
sourcepub fn predictor_arn(self, input: impl Into<String>) -> Self
pub fn predictor_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the predictor
sourcepub fn set_predictor_arn(self, input: Option<String>) -> Self
pub fn set_predictor_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the predictor
sourcepub fn get_predictor_arn(&self) -> &Option<String>
pub fn get_predictor_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the predictor
sourcepub fn predictor_name(self, input: impl Into<String>) -> Self
pub fn predictor_name(self, input: impl Into<String>) -> Self
The name of the predictor.
sourcepub fn set_predictor_name(self, input: Option<String>) -> Self
pub fn set_predictor_name(self, input: Option<String>) -> Self
The name of the predictor.
sourcepub fn get_predictor_name(&self) -> &Option<String>
pub fn get_predictor_name(&self) -> &Option<String>
The name of the predictor.
sourcepub fn forecast_horizon(self, input: i32) -> Self
pub fn forecast_horizon(self, input: i32) -> Self
The number of time-steps that the model predicts. The forecast horizon is also called the prediction length.
sourcepub fn set_forecast_horizon(self, input: Option<i32>) -> Self
pub fn set_forecast_horizon(self, input: Option<i32>) -> Self
The number of time-steps that the model predicts. The forecast horizon is also called the prediction length.
sourcepub fn get_forecast_horizon(&self) -> &Option<i32>
pub fn get_forecast_horizon(&self) -> &Option<i32>
The number of time-steps that the model predicts. The forecast horizon is also called the prediction length.
sourcepub fn forecast_types(self, input: impl Into<String>) -> Self
pub fn forecast_types(self, input: impl Into<String>) -> Self
Appends an item to forecast_types
.
To override the contents of this collection use set_forecast_types
.
The forecast types used during predictor training. Default value is ["0.1","0.5","0.9"].
sourcepub fn set_forecast_types(self, input: Option<Vec<String>>) -> Self
pub fn set_forecast_types(self, input: Option<Vec<String>>) -> Self
The forecast types used during predictor training. Default value is ["0.1","0.5","0.9"].
sourcepub fn get_forecast_types(&self) -> &Option<Vec<String>>
pub fn get_forecast_types(&self) -> &Option<Vec<String>>
The forecast types used during predictor training. Default value is ["0.1","0.5","0.9"].
sourcepub fn forecast_frequency(self, input: impl Into<String>) -> Self
pub fn forecast_frequency(self, input: impl Into<String>) -> Self
The frequency of predictions in a forecast.
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, "Y" indicates every year and "5min" indicates every five minutes.
sourcepub fn set_forecast_frequency(self, input: Option<String>) -> Self
pub fn set_forecast_frequency(self, input: Option<String>) -> Self
The frequency of predictions in a forecast.
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, "Y" indicates every year and "5min" indicates every five minutes.
sourcepub fn get_forecast_frequency(&self) -> &Option<String>
pub fn get_forecast_frequency(&self) -> &Option<String>
The frequency of predictions in a forecast.
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, "Y" indicates every year and "5min" indicates every five minutes.
sourcepub fn forecast_dimensions(self, input: impl Into<String>) -> Self
pub fn forecast_dimensions(self, input: impl Into<String>) -> Self
Appends an item to forecast_dimensions
.
To override the contents of this collection use set_forecast_dimensions
.
An array of dimension (field) names that specify the attributes used to group your time series.
sourcepub fn set_forecast_dimensions(self, input: Option<Vec<String>>) -> Self
pub fn set_forecast_dimensions(self, input: Option<Vec<String>>) -> Self
An array of dimension (field) names that specify the attributes used to group your time series.
sourcepub fn get_forecast_dimensions(&self) -> &Option<Vec<String>>
pub fn get_forecast_dimensions(&self) -> &Option<Vec<String>>
An array of dimension (field) names that specify the attributes used to group your time series.
sourcepub fn dataset_import_job_arns(self, input: impl Into<String>) -> Self
pub fn dataset_import_job_arns(self, input: impl Into<String>) -> Self
Appends an item to dataset_import_job_arns
.
To override the contents of this collection use set_dataset_import_job_arns
.
An array of the ARNs of the dataset import jobs used to import training data for the predictor.
sourcepub fn set_dataset_import_job_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_dataset_import_job_arns(self, input: Option<Vec<String>>) -> Self
An array of the ARNs of the dataset import jobs used to import training data for the predictor.
sourcepub fn get_dataset_import_job_arns(&self) -> &Option<Vec<String>>
pub fn get_dataset_import_job_arns(&self) -> &Option<Vec<String>>
An array of the ARNs of the dataset import jobs used to import training data for the predictor.
sourcepub fn data_config(self, input: DataConfig) -> Self
pub fn data_config(self, input: DataConfig) -> Self
The data configuration for your dataset group and any additional datasets.
sourcepub fn set_data_config(self, input: Option<DataConfig>) -> Self
pub fn set_data_config(self, input: Option<DataConfig>) -> Self
The data configuration for your dataset group and any additional datasets.
sourcepub fn get_data_config(&self) -> &Option<DataConfig>
pub fn get_data_config(&self) -> &Option<DataConfig>
The data configuration for your dataset group and any additional datasets.
sourcepub fn encryption_config(self, input: EncryptionConfig) -> Self
pub fn encryption_config(self, input: EncryptionConfig) -> Self
An Key Management Service (KMS) key and an Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key. You can specify this optional object in the CreateDataset
and CreatePredictor
requests.
sourcepub fn set_encryption_config(self, input: Option<EncryptionConfig>) -> Self
pub fn set_encryption_config(self, input: Option<EncryptionConfig>) -> Self
An Key Management Service (KMS) key and an Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key. You can specify this optional object in the CreateDataset
and CreatePredictor
requests.
sourcepub fn get_encryption_config(&self) -> &Option<EncryptionConfig>
pub fn get_encryption_config(&self) -> &Option<EncryptionConfig>
An Key Management Service (KMS) key and an Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key. You can specify this optional object in the CreateDataset
and CreatePredictor
requests.
sourcepub fn reference_predictor_summary(
self,
input: ReferencePredictorSummary
) -> Self
pub fn reference_predictor_summary( self, input: ReferencePredictorSummary ) -> Self
The ARN and state of the reference predictor. This parameter is only valid for retrained or upgraded predictors.
sourcepub fn set_reference_predictor_summary(
self,
input: Option<ReferencePredictorSummary>
) -> Self
pub fn set_reference_predictor_summary( self, input: Option<ReferencePredictorSummary> ) -> Self
The ARN and state of the reference predictor. This parameter is only valid for retrained or upgraded predictors.
sourcepub fn get_reference_predictor_summary(
&self
) -> &Option<ReferencePredictorSummary>
pub fn get_reference_predictor_summary( &self ) -> &Option<ReferencePredictorSummary>
The ARN and state of the reference predictor. This parameter is only valid for retrained or upgraded predictors.
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 predictor training 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 predictor training 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 predictor training job to complete.
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
The status of the predictor. States include:
-
ACTIVE
-
CREATE_PENDING
,CREATE_IN_PROGRESS
,CREATE_FAILED
-
CREATE_STOPPING
,CREATE_STOPPED
-
DELETE_PENDING
,DELETE_IN_PROGRESS
,DELETE_FAILED
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The status of the predictor. States include:
-
ACTIVE
-
CREATE_PENDING
,CREATE_IN_PROGRESS
,CREATE_FAILED
-
CREATE_STOPPING
,CREATE_STOPPED
-
DELETE_PENDING
,DELETE_IN_PROGRESS
,DELETE_FAILED
sourcepub fn get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
The status of the predictor. States include:
-
ACTIVE
-
CREATE_PENDING
,CREATE_IN_PROGRESS
,CREATE_FAILED
-
CREATE_STOPPING
,CREATE_STOPPED
-
DELETE_PENDING
,DELETE_IN_PROGRESS
,DELETE_FAILED
sourcepub fn message(self, input: impl Into<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
In the event of an error, a message detailing the cause of the error.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
In the event of an error, a message detailing the cause of the error.
sourcepub fn get_message(&self) -> &Option<String>
pub fn get_message(&self) -> &Option<String>
In the event of an error, a message detailing the cause of the error.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The timestamp of the CreateAutoPredictor request.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The timestamp of the CreateAutoPredictor request.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The timestamp of the CreateAutoPredictor request.
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 optimization_metric(self, input: OptimizationMetric) -> Self
pub fn optimization_metric(self, input: OptimizationMetric) -> Self
The accuracy metric used to optimize the predictor.
sourcepub fn set_optimization_metric(self, input: Option<OptimizationMetric>) -> Self
pub fn set_optimization_metric(self, input: Option<OptimizationMetric>) -> Self
The accuracy metric used to optimize the predictor.
sourcepub fn get_optimization_metric(&self) -> &Option<OptimizationMetric>
pub fn get_optimization_metric(&self) -> &Option<OptimizationMetric>
The accuracy metric used to optimize the predictor.
sourcepub fn explainability_info(self, input: ExplainabilityInfo) -> Self
pub fn explainability_info(self, input: ExplainabilityInfo) -> Self
Provides the status and ARN of the Predictor Explainability.
sourcepub fn set_explainability_info(self, input: Option<ExplainabilityInfo>) -> Self
pub fn set_explainability_info(self, input: Option<ExplainabilityInfo>) -> Self
Provides the status and ARN of the Predictor Explainability.
sourcepub fn get_explainability_info(&self) -> &Option<ExplainabilityInfo>
pub fn get_explainability_info(&self) -> &Option<ExplainabilityInfo>
Provides the status and ARN of the Predictor Explainability.
sourcepub fn monitor_info(self, input: MonitorInfo) -> Self
pub fn monitor_info(self, input: MonitorInfo) -> Self
A object with the Amazon Resource Name (ARN) and status of the monitor resource.
sourcepub fn set_monitor_info(self, input: Option<MonitorInfo>) -> Self
pub fn set_monitor_info(self, input: Option<MonitorInfo>) -> Self
A object with the Amazon Resource Name (ARN) and status of the monitor resource.
sourcepub fn get_monitor_info(&self) -> &Option<MonitorInfo>
pub fn get_monitor_info(&self) -> &Option<MonitorInfo>
A object with the Amazon Resource Name (ARN) and status of the monitor resource.
sourcepub fn time_alignment_boundary(self, input: TimeAlignmentBoundary) -> Self
pub fn time_alignment_boundary(self, input: TimeAlignmentBoundary) -> Self
The time boundary Forecast uses when aggregating data.
sourcepub fn set_time_alignment_boundary(
self,
input: Option<TimeAlignmentBoundary>
) -> Self
pub fn set_time_alignment_boundary( self, input: Option<TimeAlignmentBoundary> ) -> Self
The time boundary Forecast uses when aggregating data.
sourcepub fn get_time_alignment_boundary(&self) -> &Option<TimeAlignmentBoundary>
pub fn get_time_alignment_boundary(&self) -> &Option<TimeAlignmentBoundary>
The time boundary Forecast uses when aggregating data.
sourcepub fn build(self) -> DescribeAutoPredictorOutput
pub fn build(self) -> DescribeAutoPredictorOutput
Consumes the builder and constructs a DescribeAutoPredictorOutput
.
Trait Implementations§
source§impl Clone for DescribeAutoPredictorOutputBuilder
impl Clone for DescribeAutoPredictorOutputBuilder
source§fn clone(&self) -> DescribeAutoPredictorOutputBuilder
fn clone(&self) -> DescribeAutoPredictorOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeAutoPredictorOutputBuilder
impl Default for DescribeAutoPredictorOutputBuilder
source§fn default() -> DescribeAutoPredictorOutputBuilder
fn default() -> DescribeAutoPredictorOutputBuilder
source§impl PartialEq for DescribeAutoPredictorOutputBuilder
impl PartialEq for DescribeAutoPredictorOutputBuilder
source§fn eq(&self, other: &DescribeAutoPredictorOutputBuilder) -> bool
fn eq(&self, other: &DescribeAutoPredictorOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeAutoPredictorOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeAutoPredictorOutputBuilder
impl RefUnwindSafe for DescribeAutoPredictorOutputBuilder
impl Send for DescribeAutoPredictorOutputBuilder
impl Sync for DescribeAutoPredictorOutputBuilder
impl Unpin for DescribeAutoPredictorOutputBuilder
impl UnwindSafe for DescribeAutoPredictorOutputBuilder
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