Interface WhatIfForecastExportSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<WhatIfForecastExportSummary.Builder,WhatIfForecastExportSummary>,SdkBuilder<WhatIfForecastExportSummary.Builder,WhatIfForecastExportSummary>,SdkPojo
- Enclosing class:
- WhatIfForecastExportSummary
public static interface WhatIfForecastExportSummary.Builder extends SdkPojo, CopyableBuilder<WhatIfForecastExportSummary.Builder,WhatIfForecastExportSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description WhatIfForecastExportSummary.BuildercreationTime(Instant creationTime)When the what-if forecast export was created.default WhatIfForecastExportSummary.Builderdestination(Consumer<DataDestination.Builder> destination)The path to the Amazon Simple Storage Service (Amazon S3) bucket where the forecast is exported.WhatIfForecastExportSummary.Builderdestination(DataDestination destination)The path to the Amazon Simple Storage Service (Amazon S3) bucket where the forecast is exported.WhatIfForecastExportSummary.BuilderlastModificationTime(Instant lastModificationTime)The last time the resource was modified.WhatIfForecastExportSummary.Buildermessage(String message)If an error occurred, an informational message about the error.WhatIfForecastExportSummary.Builderstatus(String status)The status of the what-if forecast export.WhatIfForecastExportSummary.BuilderwhatIfForecastArns(String... whatIfForecastArns)An array of Amazon Resource Names (ARNs) that define the what-if forecasts included in the export.WhatIfForecastExportSummary.BuilderwhatIfForecastArns(Collection<String> whatIfForecastArns)An array of Amazon Resource Names (ARNs) that define the what-if forecasts included in the export.WhatIfForecastExportSummary.BuilderwhatIfForecastExportArn(String whatIfForecastExportArn)The Amazon Resource Name (ARN) of the what-if forecast export.WhatIfForecastExportSummary.BuilderwhatIfForecastExportName(String whatIfForecastExportName)The what-if forecast export name.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
whatIfForecastExportArn
WhatIfForecastExportSummary.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.
-
whatIfForecastArns
WhatIfForecastExportSummary.Builder whatIfForecastArns(Collection<String> whatIfForecastArns)
An array of Amazon Resource Names (ARNs) that define the what-if forecasts included in the export.
- Parameters:
whatIfForecastArns- An array of Amazon Resource Names (ARNs) that define the what-if forecasts included in the export.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
whatIfForecastArns
WhatIfForecastExportSummary.Builder whatIfForecastArns(String... whatIfForecastArns)
An array of Amazon Resource Names (ARNs) that define the what-if forecasts included in the export.
- Parameters:
whatIfForecastArns- An array of Amazon Resource Names (ARNs) that define the what-if forecasts included in the export.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
whatIfForecastExportName
WhatIfForecastExportSummary.Builder whatIfForecastExportName(String whatIfForecastExportName)
The what-if forecast export name.
- Parameters:
whatIfForecastExportName- The what-if forecast export name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destination
WhatIfForecastExportSummary.Builder destination(DataDestination destination)
The path to the Amazon Simple Storage Service (Amazon S3) bucket where the forecast is exported.
- Parameters:
destination- The path to the Amazon Simple Storage Service (Amazon S3) bucket where the forecast is exported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destination
default WhatIfForecastExportSummary.Builder destination(Consumer<DataDestination.Builder> destination)
The path to the Amazon Simple Storage Service (Amazon S3) bucket where the forecast is exported.
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)
-
status
WhatIfForecastExportSummary.Builder status(String status)
The status of the what-if forecast export. 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 forecast export. 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
WhatIfForecastExportSummary.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
WhatIfForecastExportSummary.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.
-
lastModificationTime
WhatIfForecastExportSummary.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.
-
-
-