Interface DescribeWhatIfForecastExportResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeWhatIfForecastExportResponse.Builder,
,DescribeWhatIfForecastExportResponse> ForecastResponse.Builder
,SdkBuilder<DescribeWhatIfForecastExportResponse.Builder,
,DescribeWhatIfForecastExportResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeWhatIfForecastExportResponse
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime
(Instant creationTime) When the what-if forecast export was created.destination
(Consumer<DataDestination.Builder> destination) Sets the value of the Destination property for this object.destination
(DataDestination destination) Sets the value of the Destination property for this object.estimatedTimeRemainingInMinutes
(Long estimatedTimeRemainingInMinutes) The approximate time remaining to complete the what-if forecast export, in minutes.The format of the exported data, CSV or PARQUET.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.whatIfForecastArns
(String... whatIfForecastArns) An array of Amazon Resource Names (ARNs) that represent all of the what-if forecasts exported in this resource.whatIfForecastArns
(Collection<String> whatIfForecastArns) An array of Amazon Resource Names (ARNs) that represent all of the what-if forecasts exported in this resource.whatIfForecastExportArn
(String whatIfForecastExportArn) The Amazon Resource Name (ARN) of the what-if forecast export.whatIfForecastExportName
(String whatIfForecastExportName) The name of the what-if forecast export.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
-
whatIfForecastExportArn
DescribeWhatIfForecastExportResponse.Builder whatIfForecastExportArn(String whatIfForecastExportArn) The Amazon Resource Name (ARN) of the what-if forecast export.
- Parameters:
whatIfForecastExportArn
- The Amazon Resource Name (ARN) of the what-if forecast export.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
whatIfForecastExportName
DescribeWhatIfForecastExportResponse.Builder whatIfForecastExportName(String whatIfForecastExportName) The name of the what-if forecast export.
- Parameters:
whatIfForecastExportName
- The name of the what-if forecast export.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
whatIfForecastArns
DescribeWhatIfForecastExportResponse.Builder whatIfForecastArns(Collection<String> whatIfForecastArns) An array of Amazon Resource Names (ARNs) that represent all of the what-if forecasts exported in this resource.
- Parameters:
whatIfForecastArns
- An array of Amazon Resource Names (ARNs) that represent all of the what-if forecasts exported in this resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
whatIfForecastArns
An array of Amazon Resource Names (ARNs) that represent all of the what-if forecasts exported in this resource.
- Parameters:
whatIfForecastArns
- An array of Amazon Resource Names (ARNs) that represent all of the what-if forecasts exported in this resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destination
Sets the value of the Destination property for this object.- Parameters:
destination
- The new value for the Destination property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destination
default DescribeWhatIfForecastExportResponse.Builder destination(Consumer<DataDestination.Builder> destination) Sets the value of the Destination property for this object. This is a convenience method that creates an instance of theDataDestination.Builder
avoiding the need to create one manually viaDataDestination.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todestination(DataDestination)
.- Parameters:
destination
- a consumer that will call methods onDataDestination.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
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 export must beACTIVE
before you can access the forecast export.- 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 export must beACTIVE
before you can access the forecast export.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
creationTime
When the what-if forecast export was created.
- Parameters:
creationTime
- When the what-if forecast export was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedTimeRemainingInMinutes
DescribeWhatIfForecastExportResponse.Builder estimatedTimeRemainingInMinutes(Long estimatedTimeRemainingInMinutes) The approximate time remaining to complete the what-if forecast export, in minutes.
- Parameters:
estimatedTimeRemainingInMinutes
- The approximate time remaining to complete the what-if forecast export, in minutes.- 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.
-
-
format
The format of the exported data, CSV or PARQUET.
- Parameters:
format
- The format of the exported data, CSV or PARQUET.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-