Interface DescribeAutoPredictorResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeAutoPredictorResponse.Builder,DescribeAutoPredictorResponse>,ForecastResponse.Builder,SdkBuilder<DescribeAutoPredictorResponse.Builder,DescribeAutoPredictorResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeAutoPredictorResponse
public static interface DescribeAutoPredictorResponse.Builder extends ForecastResponse.Builder, SdkPojo, CopyableBuilder<DescribeAutoPredictorResponse.Builder,DescribeAutoPredictorResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeAutoPredictorResponse.BuildercreationTime(Instant creationTime)The timestamp of the CreateAutoPredictor request.default DescribeAutoPredictorResponse.BuilderdataConfig(Consumer<DataConfig.Builder> dataConfig)The data configuration for your dataset group and any additional datasets.DescribeAutoPredictorResponse.BuilderdataConfig(DataConfig dataConfig)The data configuration for your dataset group and any additional datasets.DescribeAutoPredictorResponse.BuilderdatasetImportJobArns(String... datasetImportJobArns)An array of the ARNs of the dataset import jobs used to import training data for the predictor.DescribeAutoPredictorResponse.BuilderdatasetImportJobArns(Collection<String> datasetImportJobArns)An array of the ARNs of the dataset import jobs used to import training data for the predictor.default DescribeAutoPredictorResponse.BuilderencryptionConfig(Consumer<EncryptionConfig.Builder> encryptionConfig)Sets the value of the EncryptionConfig property for this object.DescribeAutoPredictorResponse.BuilderencryptionConfig(EncryptionConfig encryptionConfig)Sets the value of the EncryptionConfig property for this object.DescribeAutoPredictorResponse.BuilderestimatedTimeRemainingInMinutes(Long estimatedTimeRemainingInMinutes)The estimated time remaining in minutes for the predictor training job to complete.default DescribeAutoPredictorResponse.BuilderexplainabilityInfo(Consumer<ExplainabilityInfo.Builder> explainabilityInfo)Provides the status and ARN of the Predictor Explainability.DescribeAutoPredictorResponse.BuilderexplainabilityInfo(ExplainabilityInfo explainabilityInfo)Provides the status and ARN of the Predictor Explainability.DescribeAutoPredictorResponse.BuilderforecastDimensions(String... forecastDimensions)An array of dimension (field) names that specify the attributes used to group your time series.DescribeAutoPredictorResponse.BuilderforecastDimensions(Collection<String> forecastDimensions)An array of dimension (field) names that specify the attributes used to group your time series.DescribeAutoPredictorResponse.BuilderforecastFrequency(String forecastFrequency)The frequency of predictions in a forecast.DescribeAutoPredictorResponse.BuilderforecastHorizon(Integer forecastHorizon)The number of time-steps that the model predicts.DescribeAutoPredictorResponse.BuilderforecastTypes(String... forecastTypes)The forecast types used during predictor training.DescribeAutoPredictorResponse.BuilderforecastTypes(Collection<String> forecastTypes)The forecast types used during predictor training.DescribeAutoPredictorResponse.BuilderlastModificationTime(Instant lastModificationTime)The last time the resource was modified.DescribeAutoPredictorResponse.Buildermessage(String message)In the event of an error, a message detailing the cause of the error.default DescribeAutoPredictorResponse.BuildermonitorInfo(Consumer<MonitorInfo.Builder> monitorInfo)A object with the Amazon Resource Name (ARN) and status of the monitor resource.DescribeAutoPredictorResponse.BuildermonitorInfo(MonitorInfo monitorInfo)A object with the Amazon Resource Name (ARN) and status of the monitor resource.DescribeAutoPredictorResponse.BuilderoptimizationMetric(String optimizationMetric)The accuracy metric used to optimize the predictor.DescribeAutoPredictorResponse.BuilderoptimizationMetric(OptimizationMetric optimizationMetric)The accuracy metric used to optimize the predictor.DescribeAutoPredictorResponse.BuilderpredictorArn(String predictorArn)The Amazon Resource Name (ARN) of the predictorDescribeAutoPredictorResponse.BuilderpredictorName(String predictorName)The name of the predictor.default DescribeAutoPredictorResponse.BuilderreferencePredictorSummary(Consumer<ReferencePredictorSummary.Builder> referencePredictorSummary)The ARN and state of the reference predictor.DescribeAutoPredictorResponse.BuilderreferencePredictorSummary(ReferencePredictorSummary referencePredictorSummary)The ARN and state of the reference predictor.DescribeAutoPredictorResponse.Builderstatus(String status)The status of the predictor.default DescribeAutoPredictorResponse.BuildertimeAlignmentBoundary(Consumer<TimeAlignmentBoundary.Builder> timeAlignmentBoundary)The time boundary Forecast uses when aggregating data.DescribeAutoPredictorResponse.BuildertimeAlignmentBoundary(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 Detail
-
predictorArn
DescribeAutoPredictorResponse.Builder predictorArn(String 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
DescribeAutoPredictorResponse.Builder predictorName(String 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
DescribeAutoPredictorResponse.Builder forecastHorizon(Integer 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
DescribeAutoPredictorResponse.Builder forecastTypes(Collection<String> 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
DescribeAutoPredictorResponse.Builder forecastTypes(String... 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
DescribeAutoPredictorResponse.Builder forecastFrequency(String 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
DescribeAutoPredictorResponse.Builder forecastDimensions(Collection<String> 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
DescribeAutoPredictorResponse.Builder forecastDimensions(String... 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
DescribeAutoPredictorResponse.Builder datasetImportJobArns(Collection<String> 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
DescribeAutoPredictorResponse.Builder datasetImportJobArns(String... 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
DescribeAutoPredictorResponse.Builder dataConfig(DataConfig 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
default DescribeAutoPredictorResponse.Builder dataConfig(Consumer<DataConfig.Builder> dataConfig)
The data configuration for your dataset group and any additional datasets.
This is a convenience method that creates an instance of theDataConfig.Builderavoiding the need to create one manually viaDataConfig.builder().When the
Consumercompletes,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:
dataConfig(DataConfig)
-
encryptionConfig
DescribeAutoPredictorResponse.Builder encryptionConfig(EncryptionConfig 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.Builderavoiding the need to create one manually viaEncryptionConfig.builder().When the
Consumercompletes,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:
encryptionConfig(EncryptionConfig)
-
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.Builderavoiding the need to create one manually viaReferencePredictorSummary.builder().When the
Consumercompletes,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:
referencePredictorSummary(ReferencePredictorSummary)
-
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
DescribeAutoPredictorResponse.Builder status(String 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
DescribeAutoPredictorResponse.Builder message(String 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
DescribeAutoPredictorResponse.Builder creationTime(Instant 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
DescribeAutoPredictorResponse.Builder lastModificationTime(Instant 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. -
ACTIVEorCREATE_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. -
ACTIVEorCREATE_FAILED- When the job finished or failed.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
optimizationMetric
DescribeAutoPredictorResponse.Builder optimizationMetric(String 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,OptimizationMetric
-
optimizationMetric
DescribeAutoPredictorResponse.Builder optimizationMetric(OptimizationMetric 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,OptimizationMetric
-
explainabilityInfo
DescribeAutoPredictorResponse.Builder explainabilityInfo(ExplainabilityInfo 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.Builderavoiding the need to create one manually viaExplainabilityInfo.builder().When the
Consumercompletes,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:
explainabilityInfo(ExplainabilityInfo)
-
monitorInfo
DescribeAutoPredictorResponse.Builder monitorInfo(MonitorInfo 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.Builderavoiding the need to create one manually viaMonitorInfo.builder().When the
Consumercompletes,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:
monitorInfo(MonitorInfo)
-
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.Builderavoiding the need to create one manually viaTimeAlignmentBoundary.builder().When the
Consumercompletes,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:
timeAlignmentBoundary(TimeAlignmentBoundary)
-
-