Class WhatIfForecastSummary
- java.lang.Object
-
- software.amazon.awssdk.services.forecast.model.WhatIfForecastSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<WhatIfForecastSummary.Builder,WhatIfForecastSummary>
@Generated("software.amazon.awssdk:codegen") public final class WhatIfForecastSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WhatIfForecastSummary.Builder,WhatIfForecastSummary>
Provides a summary of the what-if forecast properties used in the ListWhatIfForecasts operation. To get the complete set of properties, call the DescribeWhatIfForecast operation, and provide the
WhatIfForecastArnthat is listed in the summary.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceWhatIfForecastSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WhatIfForecastSummary.Builderbuilder()InstantcreationTime()When the what-if forecast was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastModificationTime()The last time the resource was modified.Stringmessage()If an error occurred, an informational message about the error.List<SdkField<?>>sdkFields()static Class<? extends WhatIfForecastSummary.Builder>serializableBuilderClass()Stringstatus()The status of the what-if forecast.WhatIfForecastSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringwhatIfAnalysisArn()The Amazon Resource Name (ARN) of the what-if analysis that contains this what-if forecast.StringwhatIfForecastArn()The Amazon Resource Name (ARN) of the what-if forecast.StringwhatIfForecastName()The name of the what-if forecast.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
whatIfForecastArn
public final String whatIfForecastArn()
The Amazon Resource Name (ARN) of the what-if forecast.
- Returns:
- The Amazon Resource Name (ARN) of the what-if forecast.
-
whatIfForecastName
public final String whatIfForecastName()
The name of the what-if forecast.
- Returns:
- The name of the what-if forecast.
-
whatIfAnalysisArn
public final String whatIfAnalysisArn()
The Amazon Resource Name (ARN) of the what-if analysis that contains this what-if forecast.
- Returns:
- The Amazon Resource Name (ARN) of the what-if analysis that contains this what-if forecast.
-
status
public final 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 analysis must beACTIVEbefore you can access the analysis.- Returns:
- 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 analysis must beACTIVEbefore you can access the analysis. -
-
-
message
public final String message()
If an error occurred, an informational message about the error.
- Returns:
- If an error occurred, an informational message about the error.
-
creationTime
public final Instant creationTime()
When the what-if forecast was created.
- Returns:
- When the what-if forecast was created.
-
lastModificationTime
public final 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.
- Returns:
- 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.
-
-
-
toBuilder
public WhatIfForecastSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<WhatIfForecastSummary.Builder,WhatIfForecastSummary>
-
builder
public static WhatIfForecastSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends WhatIfForecastSummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-