Interface DescribeWhatIfAnalysisResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeWhatIfAnalysisResponse.Builder,DescribeWhatIfAnalysisResponse>,ForecastResponse.Builder,SdkBuilder<DescribeWhatIfAnalysisResponse.Builder,DescribeWhatIfAnalysisResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeWhatIfAnalysisResponse
public static interface DescribeWhatIfAnalysisResponse.Builder extends ForecastResponse.Builder, SdkPojo, CopyableBuilder<DescribeWhatIfAnalysisResponse.Builder,DescribeWhatIfAnalysisResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeWhatIfAnalysisResponse.BuildercreationTime(Instant creationTime)When the what-if analysis was created.DescribeWhatIfAnalysisResponse.BuilderestimatedTimeRemainingInMinutes(Long estimatedTimeRemainingInMinutes)The approximate time remaining to complete the what-if analysis, in minutes.DescribeWhatIfAnalysisResponse.BuilderforecastArn(String forecastArn)The Amazon Resource Name (ARN) of the what-if forecast.DescribeWhatIfAnalysisResponse.BuilderlastModificationTime(Instant lastModificationTime)The last time the resource was modified.DescribeWhatIfAnalysisResponse.Buildermessage(String message)If an error occurred, an informational message about the error.DescribeWhatIfAnalysisResponse.Builderstatus(String status)The status of the what-if analysis.default DescribeWhatIfAnalysisResponse.BuildertimeSeriesSelector(Consumer<TimeSeriesSelector.Builder> timeSeriesSelector)Sets the value of the TimeSeriesSelector property for this object.DescribeWhatIfAnalysisResponse.BuildertimeSeriesSelector(TimeSeriesSelector timeSeriesSelector)Sets the value of the TimeSeriesSelector property for this object.DescribeWhatIfAnalysisResponse.BuilderwhatIfAnalysisArn(String whatIfAnalysisArn)The Amazon Resource Name (ARN) of the what-if analysis.DescribeWhatIfAnalysisResponse.BuilderwhatIfAnalysisName(String whatIfAnalysisName)The name of the what-if analysis.-
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
-
whatIfAnalysisName
DescribeWhatIfAnalysisResponse.Builder whatIfAnalysisName(String whatIfAnalysisName)
The name of the what-if analysis.
- Parameters:
whatIfAnalysisName- The name of the what-if analysis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
whatIfAnalysisArn
DescribeWhatIfAnalysisResponse.Builder whatIfAnalysisArn(String whatIfAnalysisArn)
The Amazon Resource Name (ARN) of the what-if analysis.
- Parameters:
whatIfAnalysisArn- The Amazon Resource Name (ARN) of the what-if analysis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
forecastArn
DescribeWhatIfAnalysisResponse.Builder forecastArn(String forecastArn)
The Amazon Resource Name (ARN) of the what-if forecast.
- Parameters:
forecastArn- 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.
-
estimatedTimeRemainingInMinutes
DescribeWhatIfAnalysisResponse.Builder estimatedTimeRemainingInMinutes(Long estimatedTimeRemainingInMinutes)
The approximate time remaining to complete the what-if analysis, in minutes.
- Parameters:
estimatedTimeRemainingInMinutes- The approximate time remaining to complete the what-if analysis, in minutes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
DescribeWhatIfAnalysisResponse.Builder status(String status)
The status of the what-if analysis. 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 analysis must beACTIVEbefore you can access the analysis.- Parameters:
status- The status of the what-if analysis. 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 analysis must beACTIVEbefore you can access the analysis.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
message
DescribeWhatIfAnalysisResponse.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
DescribeWhatIfAnalysisResponse.Builder creationTime(Instant creationTime)
When the what-if analysis was created.
- Parameters:
creationTime- When the what-if analysis was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModificationTime
DescribeWhatIfAnalysisResponse.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.
-
-
timeSeriesSelector
DescribeWhatIfAnalysisResponse.Builder timeSeriesSelector(TimeSeriesSelector timeSeriesSelector)
Sets the value of the TimeSeriesSelector property for this object.- Parameters:
timeSeriesSelector- The new value for the TimeSeriesSelector property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeSeriesSelector
default DescribeWhatIfAnalysisResponse.Builder timeSeriesSelector(Consumer<TimeSeriesSelector.Builder> timeSeriesSelector)
Sets the value of the TimeSeriesSelector property for this object. This is a convenience method that creates an instance of theTimeSeriesSelector.Builderavoiding the need to create one manually viaTimeSeriesSelector.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimeSeriesSelector(TimeSeriesSelector).- Parameters:
timeSeriesSelector- a consumer that will call methods onTimeSeriesSelector.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
timeSeriesSelector(TimeSeriesSelector)
-
-