Interface DescribeAutoPredictorResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeAutoPredictorResponse.Builder,
,DescribeAutoPredictorResponse> ForecastResponse.Builder
,SdkBuilder<DescribeAutoPredictorResponse.Builder,
,DescribeAutoPredictorResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeAutoPredictorResponse
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime
(Instant creationTime) The timestamp of the CreateAutoPredictor request.dataConfig
(Consumer<DataConfig.Builder> dataConfig) The data configuration for your dataset group and any additional datasets.dataConfig
(DataConfig dataConfig) The data configuration for your dataset group and any additional datasets.datasetImportJobArns
(String... datasetImportJobArns) An array of the ARNs of the dataset import jobs used to import training data for the predictor.datasetImportJobArns
(Collection<String> datasetImportJobArns) An array of the ARNs of the dataset import jobs used to import training data for the predictor.encryptionConfig
(Consumer<EncryptionConfig.Builder> encryptionConfig) Sets the value of the EncryptionConfig property for this object.encryptionConfig
(EncryptionConfig encryptionConfig) Sets the value of the EncryptionConfig property for this object.estimatedTimeRemainingInMinutes
(Long estimatedTimeRemainingInMinutes) The estimated time remaining in minutes for the predictor training job to complete.explainabilityInfo
(Consumer<ExplainabilityInfo.Builder> explainabilityInfo) Provides the status and ARN of the Predictor Explainability.explainabilityInfo
(ExplainabilityInfo explainabilityInfo) Provides the status and ARN of the Predictor Explainability.forecastDimensions
(String... forecastDimensions) An array of dimension (field) names that specify the attributes used to group your time series.forecastDimensions
(Collection<String> forecastDimensions) An array of dimension (field) names that specify the attributes used to group your time series.forecastFrequency
(String forecastFrequency) The frequency of predictions in a forecast.forecastHorizon
(Integer forecastHorizon) The number of time-steps that the model predicts.forecastTypes
(String... forecastTypes) The forecast types used during predictor training.forecastTypes
(Collection<String> forecastTypes) The forecast types used during predictor training.lastModificationTime
(Instant lastModificationTime) The last time the resource was modified.In the event of an error, a message detailing the cause of the error.monitorInfo
(Consumer<MonitorInfo.Builder> monitorInfo) A object with the Amazon Resource Name (ARN) and status of the monitor resource.monitorInfo
(MonitorInfo monitorInfo) A object with the Amazon Resource Name (ARN) and status of the monitor resource.optimizationMetric
(String optimizationMetric) The accuracy metric used to optimize the predictor.optimizationMetric
(OptimizationMetric optimizationMetric) The accuracy metric used to optimize the predictor.predictorArn
(String predictorArn) The Amazon Resource Name (ARN) of the predictorpredictorName
(String predictorName) The name of the predictor.referencePredictorSummary
(Consumer<ReferencePredictorSummary.Builder> referencePredictorSummary) The ARN and state of the reference predictor.referencePredictorSummary
(ReferencePredictorSummary referencePredictorSummary) The ARN and state of the reference predictor.The status of the predictor.timeAlignmentBoundary
(Consumer<TimeAlignmentBoundary.Builder> timeAlignmentBoundary) The time boundary Forecast uses when aggregating data.timeAlignmentBoundary
(TimeAlignmentBoundary timeAlignmentBoundary) The time boundary Forecast uses when aggregating data.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.forecast.model.ForecastResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
predictorArn
The Amazon Resource Name (ARN) of the predictor
- Parameters:
predictorArn
- The Amazon Resource Name (ARN) of the predictor- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
predictorName
The name of the predictor.
- Parameters:
predictorName
- The name of the predictor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
forecastHorizon
The number of time-steps that the model predicts. The forecast horizon is also called the prediction length.
- Parameters:
forecastHorizon
- The number of time-steps that the model predicts. The forecast horizon is also called the prediction length.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
forecastTypes
The forecast types used during predictor training. Default value is ["0.1","0.5","0.9"].
- Parameters:
forecastTypes
- The forecast types used during predictor training. Default value is ["0.1","0.5","0.9"].- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
forecastTypes
The forecast types used during predictor training. Default value is ["0.1","0.5","0.9"].
- Parameters:
forecastTypes
- The forecast types used during predictor training. Default value is ["0.1","0.5","0.9"].- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
forecastFrequency
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.
- Parameters:
forecastFrequency
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
forecastDimensions
An array of dimension (field) names that specify the attributes used to group your time series.
- Parameters:
forecastDimensions
- An array of dimension (field) names that specify the attributes used to group your time series.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
forecastDimensions
An array of dimension (field) names that specify the attributes used to group your time series.
- Parameters:
forecastDimensions
- An array of dimension (field) names that specify the attributes used to group your time series.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetImportJobArns
An array of the ARNs of the dataset import jobs used to import training data for the predictor.
- Parameters:
datasetImportJobArns
- An array of the ARNs of the dataset import jobs used to import training data for the predictor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetImportJobArns
An array of the ARNs of the dataset import jobs used to import training data for the predictor.
- Parameters:
datasetImportJobArns
- An array of the ARNs of the dataset import jobs used to import training data for the predictor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataConfig
The data configuration for your dataset group and any additional datasets.
- Parameters:
dataConfig
- The data configuration for your dataset group and any additional datasets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataConfig
The data configuration for your dataset group and any additional datasets.
This is a convenience method that creates an instance of theDataConfig.Builder
avoiding the need to create one manually viaDataConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataConfig(DataConfig)
.- Parameters:
dataConfig
- a consumer that will call methods onDataConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
encryptionConfig
Sets the value of the EncryptionConfig property for this object.- Parameters:
encryptionConfig
- The new value for the EncryptionConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfig
default DescribeAutoPredictorResponse.Builder encryptionConfig(Consumer<EncryptionConfig.Builder> encryptionConfig) Sets the value of the EncryptionConfig property for this object. This is a convenience method that creates an instance of theEncryptionConfig.Builder
avoiding the need to create one manually viaEncryptionConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toencryptionConfig(EncryptionConfig)
.- Parameters:
encryptionConfig
- a consumer that will call methods onEncryptionConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
referencePredictorSummary
DescribeAutoPredictorResponse.Builder referencePredictorSummary(ReferencePredictorSummary referencePredictorSummary) The ARN and state of the reference predictor. This parameter is only valid for retrained or upgraded predictors.
- Parameters:
referencePredictorSummary
- The ARN and state of the reference predictor. This parameter is only valid for retrained or upgraded predictors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
referencePredictorSummary
default DescribeAutoPredictorResponse.Builder referencePredictorSummary(Consumer<ReferencePredictorSummary.Builder> referencePredictorSummary) The ARN and state of the reference predictor. This parameter is only valid for retrained or upgraded predictors.
This is a convenience method that creates an instance of theReferencePredictorSummary.Builder
avoiding the need to create one manually viaReferencePredictorSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreferencePredictorSummary(ReferencePredictorSummary)
.- Parameters:
referencePredictorSummary
- a consumer that will call methods onReferencePredictorSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
estimatedTimeRemainingInMinutes
DescribeAutoPredictorResponse.Builder estimatedTimeRemainingInMinutes(Long estimatedTimeRemainingInMinutes) The estimated time remaining in minutes for the predictor training job to complete.
- Parameters:
estimatedTimeRemainingInMinutes
- The estimated time remaining in minutes for the predictor training job to complete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
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
- Parameters:
status
- 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
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
message
In the event of an error, a message detailing the cause of the error.
- Parameters:
message
- In the event of an error, a message detailing the cause of the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The timestamp of the CreateAutoPredictor request.
- Parameters:
creationTime
- The timestamp of the CreateAutoPredictor request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModificationTime
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.
- Parameters:
lastModificationTime
- 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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
optimizationMetric
The accuracy metric used to optimize the predictor.
- Parameters:
optimizationMetric
- The accuracy metric used to optimize the predictor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
optimizationMetric
The accuracy metric used to optimize the predictor.
- Parameters:
optimizationMetric
- The accuracy metric used to optimize the predictor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
explainabilityInfo
Provides the status and ARN of the Predictor Explainability.
- Parameters:
explainabilityInfo
- Provides the status and ARN of the Predictor Explainability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
explainabilityInfo
default DescribeAutoPredictorResponse.Builder explainabilityInfo(Consumer<ExplainabilityInfo.Builder> explainabilityInfo) Provides the status and ARN of the Predictor Explainability.
This is a convenience method that creates an instance of theExplainabilityInfo.Builder
avoiding the need to create one manually viaExplainabilityInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexplainabilityInfo(ExplainabilityInfo)
.- Parameters:
explainabilityInfo
- a consumer that will call methods onExplainabilityInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
monitorInfo
A object with the Amazon Resource Name (ARN) and status of the monitor resource.
- Parameters:
monitorInfo
- A object with the Amazon Resource Name (ARN) and status of the monitor resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitorInfo
default DescribeAutoPredictorResponse.Builder monitorInfo(Consumer<MonitorInfo.Builder> monitorInfo) A object with the Amazon Resource Name (ARN) and status of the monitor resource.
This is a convenience method that creates an instance of theMonitorInfo.Builder
avoiding the need to create one manually viaMonitorInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomonitorInfo(MonitorInfo)
.- Parameters:
monitorInfo
- a consumer that will call methods onMonitorInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timeAlignmentBoundary
DescribeAutoPredictorResponse.Builder timeAlignmentBoundary(TimeAlignmentBoundary timeAlignmentBoundary) The time boundary Forecast uses when aggregating data.
- Parameters:
timeAlignmentBoundary
- The time boundary Forecast uses when aggregating data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeAlignmentBoundary
default DescribeAutoPredictorResponse.Builder timeAlignmentBoundary(Consumer<TimeAlignmentBoundary.Builder> timeAlignmentBoundary) The time boundary Forecast uses when aggregating data.
This is a convenience method that creates an instance of theTimeAlignmentBoundary.Builder
avoiding the need to create one manually viaTimeAlignmentBoundary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totimeAlignmentBoundary(TimeAlignmentBoundary)
.- Parameters:
timeAlignmentBoundary
- a consumer that will call methods onTimeAlignmentBoundary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-