Interface DescribeWhatIfForecastResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeWhatIfForecastResponse.Builder,DescribeWhatIfForecastResponse>,ForecastResponse.Builder,SdkBuilder<DescribeWhatIfForecastResponse.Builder,DescribeWhatIfForecastResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeWhatIfForecastResponse
public static interface DescribeWhatIfForecastResponse.Builder extends ForecastResponse.Builder, SdkPojo, CopyableBuilder<DescribeWhatIfForecastResponse.Builder,DescribeWhatIfForecastResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeWhatIfForecastResponse.BuildercreationTime(Instant creationTime)When the what-if forecast was created.DescribeWhatIfForecastResponse.BuilderestimatedTimeRemainingInMinutes(Long estimatedTimeRemainingInMinutes)The approximate time remaining to complete the what-if forecast, in minutes.DescribeWhatIfForecastResponse.BuilderforecastTypes(String... forecastTypes)The quantiles at which probabilistic forecasts are generated.DescribeWhatIfForecastResponse.BuilderforecastTypes(Collection<String> forecastTypes)The quantiles at which probabilistic forecasts are generated.DescribeWhatIfForecastResponse.BuilderlastModificationTime(Instant lastModificationTime)The last time the resource was modified.DescribeWhatIfForecastResponse.Buildermessage(String message)If an error occurred, an informational message about the error.DescribeWhatIfForecastResponse.Builderstatus(String status)The status of the what-if forecast.default DescribeWhatIfForecastResponse.BuildertimeSeriesReplacementsDataSource(Consumer<TimeSeriesReplacementsDataSource.Builder> timeSeriesReplacementsDataSource)An array ofS3Config,Schema, andFormatelements that describe the replacement time series.DescribeWhatIfForecastResponse.BuildertimeSeriesReplacementsDataSource(TimeSeriesReplacementsDataSource timeSeriesReplacementsDataSource)An array ofS3Config,Schema, andFormatelements that describe the replacement time series.DescribeWhatIfForecastResponse.BuildertimeSeriesTransformations(Collection<TimeSeriesTransformation> timeSeriesTransformations)An array ofActionandTimeSeriesConditionselements that describe what transformations were applied to which time series.DescribeWhatIfForecastResponse.BuildertimeSeriesTransformations(Consumer<TimeSeriesTransformation.Builder>... timeSeriesTransformations)An array ofActionandTimeSeriesConditionselements that describe what transformations were applied to which time series.DescribeWhatIfForecastResponse.BuildertimeSeriesTransformations(TimeSeriesTransformation... timeSeriesTransformations)An array ofActionandTimeSeriesConditionselements that describe what transformations were applied to which time series.DescribeWhatIfForecastResponse.BuilderwhatIfAnalysisArn(String whatIfAnalysisArn)The Amazon Resource Name (ARN) of the what-if analysis that contains this forecast.DescribeWhatIfForecastResponse.BuilderwhatIfForecastArn(String whatIfForecastArn)The Amazon Resource Name (ARN) of the what-if forecast.DescribeWhatIfForecastResponse.BuilderwhatIfForecastName(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
whatIfForecastName
DescribeWhatIfForecastResponse.Builder whatIfForecastName(String 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
DescribeWhatIfForecastResponse.Builder whatIfForecastArn(String 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
DescribeWhatIfForecastResponse.Builder whatIfAnalysisArn(String 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
DescribeWhatIfForecastResponse.Builder status(String 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
Statusof the what-if forecast must beACTIVEbefore 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
Statusof the what-if forecast must beACTIVEbefore you can access the forecast.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
message
DescribeWhatIfForecastResponse.Builder message(String 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
DescribeWhatIfForecastResponse.Builder creationTime(Instant 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
DescribeWhatIfForecastResponse.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.
-
-
timeSeriesTransformations
DescribeWhatIfForecastResponse.Builder timeSeriesTransformations(Collection<TimeSeriesTransformation> timeSeriesTransformations)
An array of
ActionandTimeSeriesConditionselements that describe what transformations were applied to which time series.- Parameters:
timeSeriesTransformations- An array ofActionandTimeSeriesConditionselements 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
ActionandTimeSeriesConditionselements that describe what transformations were applied to which time series.- Parameters:
timeSeriesTransformations- An array ofActionandTimeSeriesConditionselements 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 theActionandTimeSeriesConditionselements that describe what transformations were applied to which time series.TimeSeriesTransformation.Builderavoiding the need to create one manually viaTimeSeriesTransformation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#timeSeriesTransformations(List.) - 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:
#timeSeriesTransformations(java.util.Collection)
-
timeSeriesReplacementsDataSource
DescribeWhatIfForecastResponse.Builder timeSeriesReplacementsDataSource(TimeSeriesReplacementsDataSource timeSeriesReplacementsDataSource)
An array of
S3Config,Schema, andFormatelements that describe the replacement time series.- Parameters:
timeSeriesReplacementsDataSource- An array ofS3Config,Schema, andFormatelements 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, andFormatelements that describe the replacement time series.TimeSeriesReplacementsDataSource.Builderavoiding the need to create one manually viaTimeSeriesReplacementsDataSource.builder().When the
Consumercompletes,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:
timeSeriesReplacementsDataSource(TimeSeriesReplacementsDataSource)
-
forecastTypes
DescribeWhatIfForecastResponse.Builder forecastTypes(Collection<String> 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
DescribeWhatIfForecastResponse.Builder forecastTypes(String... 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.
-
-