Interface DescribeWhatIfForecastExportResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeWhatIfForecastExportResponse.Builder,DescribeWhatIfForecastExportResponse>,ForecastResponse.Builder,SdkBuilder<DescribeWhatIfForecastExportResponse.Builder,DescribeWhatIfForecastExportResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeWhatIfForecastExportResponse
public static interface DescribeWhatIfForecastExportResponse.Builder extends ForecastResponse.Builder, SdkPojo, CopyableBuilder<DescribeWhatIfForecastExportResponse.Builder,DescribeWhatIfForecastExportResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeWhatIfForecastExportResponse.BuildercreationTime(Instant creationTime)When the what-if forecast export was created.default DescribeWhatIfForecastExportResponse.Builderdestination(Consumer<DataDestination.Builder> destination)Sets the value of the Destination property for this object.DescribeWhatIfForecastExportResponse.Builderdestination(DataDestination destination)Sets the value of the Destination property for this object.DescribeWhatIfForecastExportResponse.BuilderestimatedTimeRemainingInMinutes(Long estimatedTimeRemainingInMinutes)The approximate time remaining to complete the what-if forecast export, in minutes.DescribeWhatIfForecastExportResponse.Builderformat(String format)The format of the exported data, CSV or PARQUET.DescribeWhatIfForecastExportResponse.BuilderlastModificationTime(Instant lastModificationTime)The last time the resource was modified.DescribeWhatIfForecastExportResponse.Buildermessage(String message)If an error occurred, an informational message about the error.DescribeWhatIfForecastExportResponse.Builderstatus(String status)The status of the what-if forecast.DescribeWhatIfForecastExportResponse.BuilderwhatIfForecastArns(String... whatIfForecastArns)An array of Amazon Resource Names (ARNs) that represent all of the what-if forecasts exported in this resource.DescribeWhatIfForecastExportResponse.BuilderwhatIfForecastArns(Collection<String> whatIfForecastArns)An array of Amazon Resource Names (ARNs) that represent all of the what-if forecasts exported in this resource.DescribeWhatIfForecastExportResponse.BuilderwhatIfForecastExportArn(String whatIfForecastExportArn)The Amazon Resource Name (ARN) of the what-if forecast export.DescribeWhatIfForecastExportResponse.BuilderwhatIfForecastExportName(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 Detail
-
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
DescribeWhatIfForecastExportResponse.Builder whatIfForecastArns(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.
-
destination
DescribeWhatIfForecastExportResponse.Builder destination(DataDestination 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.Builderavoiding the need to create one manually viaDataDestination.builder().When the
Consumercompletes,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:
destination(DataDestination)
-
message
DescribeWhatIfForecastExportResponse.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.
-
status
DescribeWhatIfForecastExportResponse.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 export must beACTIVEbefore 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
Statusof the what-if forecast export must beACTIVEbefore you can access the forecast export.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
creationTime
DescribeWhatIfForecastExportResponse.Builder creationTime(Instant 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
DescribeWhatIfForecastExportResponse.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.
-
-
format
DescribeWhatIfForecastExportResponse.Builder format(String 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.
-
-