Interface DescribeWhatIfForecastResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeWhatIfForecastResponse.Builder,
,DescribeWhatIfForecastResponse> ForecastResponse.Builder
,SdkBuilder<DescribeWhatIfForecastResponse.Builder,
,DescribeWhatIfForecastResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeWhatIfForecastResponse
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime
(Instant creationTime) When the what-if forecast was created.estimatedTimeRemainingInMinutes
(Long estimatedTimeRemainingInMinutes) The approximate time remaining to complete the what-if forecast, in minutes.forecastTypes
(String... forecastTypes) The quantiles at which probabilistic forecasts are generated.forecastTypes
(Collection<String> forecastTypes) The quantiles at which probabilistic forecasts are generated.lastModificationTime
(Instant lastModificationTime) The last time the resource was modified.If an error occurred, an informational message about the error.The status of the what-if forecast.timeSeriesReplacementsDataSource
(Consumer<TimeSeriesReplacementsDataSource.Builder> timeSeriesReplacementsDataSource) An array ofS3Config
,Schema
, andFormat
elements that describe the replacement time series.timeSeriesReplacementsDataSource
(TimeSeriesReplacementsDataSource timeSeriesReplacementsDataSource) An array ofS3Config
,Schema
, andFormat
elements that describe the replacement time series.timeSeriesTransformations
(Collection<TimeSeriesTransformation> timeSeriesTransformations) An array ofAction
andTimeSeriesConditions
elements that describe what transformations were applied to which time series.timeSeriesTransformations
(Consumer<TimeSeriesTransformation.Builder>... timeSeriesTransformations) An array ofAction
andTimeSeriesConditions
elements that describe what transformations were applied to which time series.timeSeriesTransformations
(TimeSeriesTransformation... timeSeriesTransformations) An array ofAction
andTimeSeriesConditions
elements that describe what transformations were applied to which time series.whatIfAnalysisArn
(String whatIfAnalysisArn) The Amazon Resource Name (ARN) of the what-if analysis that contains this forecast.whatIfForecastArn
(String whatIfForecastArn) The Amazon Resource Name (ARN) of the what-if forecast.whatIfForecastName
(String whatIfForecastName) The name of the what-if forecast.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
-
whatIfForecastName
The name of the what-if forecast.
- Parameters:
whatIfForecastName
- The name of the what-if forecast.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
whatIfForecastArn
The Amazon Resource Name (ARN) of the what-if forecast.
- Parameters:
whatIfForecastArn
- The Amazon Resource Name (ARN) of the what-if forecast.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
whatIfAnalysisArn
The Amazon Resource Name (ARN) of the what-if analysis that contains this forecast.
- Parameters:
whatIfAnalysisArn
- The Amazon Resource Name (ARN) of the what-if analysis that contains this forecast.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedTimeRemainingInMinutes
DescribeWhatIfForecastResponse.Builder estimatedTimeRemainingInMinutes(Long estimatedTimeRemainingInMinutes) The approximate time remaining to complete the what-if forecast, in minutes.
- Parameters:
estimatedTimeRemainingInMinutes
- The approximate time remaining to complete the what-if forecast, in minutes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the what-if forecast. States include:
-
ACTIVE
-
CREATE_PENDING
,CREATE_IN_PROGRESS
,CREATE_FAILED
-
CREATE_STOPPING
,CREATE_STOPPED
-
DELETE_PENDING
,DELETE_IN_PROGRESS
,DELETE_FAILED
The
Status
of the what-if forecast must beACTIVE
before you can access the forecast.- Parameters:
status
- The status of the what-if forecast. States include:-
ACTIVE
-
CREATE_PENDING
,CREATE_IN_PROGRESS
,CREATE_FAILED
-
CREATE_STOPPING
,CREATE_STOPPED
-
DELETE_PENDING
,DELETE_IN_PROGRESS
,DELETE_FAILED
The
Status
of the what-if forecast must beACTIVE
before you can access the forecast.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
message
If an error occurred, an informational message about the error.
- Parameters:
message
- If an error occurred, an informational message about the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
When the what-if forecast was created.
- Parameters:
creationTime
- When the what-if forecast was created.- 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.
-
-
timeSeriesTransformations
DescribeWhatIfForecastResponse.Builder timeSeriesTransformations(Collection<TimeSeriesTransformation> timeSeriesTransformations) An array of
Action
andTimeSeriesConditions
elements that describe what transformations were applied to which time series.- Parameters:
timeSeriesTransformations
- An array ofAction
andTimeSeriesConditions
elements that describe what transformations were applied to which time series.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeSeriesTransformations
DescribeWhatIfForecastResponse.Builder timeSeriesTransformations(TimeSeriesTransformation... timeSeriesTransformations) An array of
Action
andTimeSeriesConditions
elements that describe what transformations were applied to which time series.- Parameters:
timeSeriesTransformations
- An array ofAction
andTimeSeriesConditions
elements that describe what transformations were applied to which time series.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeSeriesTransformations
DescribeWhatIfForecastResponse.Builder timeSeriesTransformations(Consumer<TimeSeriesTransformation.Builder>... timeSeriesTransformations) An array of
This is a convenience method that creates an instance of theAction
andTimeSeriesConditions
elements that describe what transformations were applied to which time series.TimeSeriesTransformation.Builder
avoiding the need to create one manually viaTimeSeriesTransformation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totimeSeriesTransformations(List<TimeSeriesTransformation>)
.- Parameters:
timeSeriesTransformations
- a consumer that will call methods onTimeSeriesTransformation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timeSeriesReplacementsDataSource
DescribeWhatIfForecastResponse.Builder timeSeriesReplacementsDataSource(TimeSeriesReplacementsDataSource timeSeriesReplacementsDataSource) An array of
S3Config
,Schema
, andFormat
elements that describe the replacement time series.- Parameters:
timeSeriesReplacementsDataSource
- An array ofS3Config
,Schema
, andFormat
elements that describe the replacement time series.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeSeriesReplacementsDataSource
default DescribeWhatIfForecastResponse.Builder timeSeriesReplacementsDataSource(Consumer<TimeSeriesReplacementsDataSource.Builder> timeSeriesReplacementsDataSource) An array of
This is a convenience method that creates an instance of theS3Config
,Schema
, andFormat
elements that describe the replacement time series.TimeSeriesReplacementsDataSource.Builder
avoiding the need to create one manually viaTimeSeriesReplacementsDataSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totimeSeriesReplacementsDataSource(TimeSeriesReplacementsDataSource)
.- Parameters:
timeSeriesReplacementsDataSource
- a consumer that will call methods onTimeSeriesReplacementsDataSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
forecastTypes
The quantiles at which probabilistic forecasts are generated. You can specify up to five quantiles per what-if forecast in the CreateWhatIfForecast operation. If you didn't specify quantiles, the default values are
["0.1", "0.5", "0.9"]
.- Parameters:
forecastTypes
- The quantiles at which probabilistic forecasts are generated. You can specify up to five quantiles per what-if forecast in the CreateWhatIfForecast operation. If you didn't specify quantiles, the default values are["0.1", "0.5", "0.9"]
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
forecastTypes
The quantiles at which probabilistic forecasts are generated. You can specify up to five quantiles per what-if forecast in the CreateWhatIfForecast operation. If you didn't specify quantiles, the default values are
["0.1", "0.5", "0.9"]
.- Parameters:
forecastTypes
- The quantiles at which probabilistic forecasts are generated. You can specify up to five quantiles per what-if forecast in the CreateWhatIfForecast operation. If you didn't specify quantiles, the default values are["0.1", "0.5", "0.9"]
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-