Class WhatIfAnalysisSummary
- java.lang.Object
-
- software.amazon.awssdk.services.forecast.model.WhatIfAnalysisSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<WhatIfAnalysisSummary.Builder,WhatIfAnalysisSummary>
@Generated("software.amazon.awssdk:codegen") public final class WhatIfAnalysisSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WhatIfAnalysisSummary.Builder,WhatIfAnalysisSummary>
Provides a summary of the what-if analysis properties used in the ListWhatIfAnalyses operation. To get the complete set of properties, call the DescribeWhatIfAnalysis operation, and provide the
WhatIfAnalysisArnthat is listed in the summary.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceWhatIfAnalysisSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WhatIfAnalysisSummary.Builderbuilder()InstantcreationTime()When the what-if analysis was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringforecastArn()The Amazon Resource Name (ARN) of the baseline forecast that is being used in this what-if analysis.<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.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends WhatIfAnalysisSummary.Builder>serializableBuilderClass()Stringstatus()The status of the what-if analysis.WhatIfAnalysisSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringwhatIfAnalysisArn()The Amazon Resource Name (ARN) of the what-if analysis.StringwhatIfAnalysisName()The name of the what-if analysis.-
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
-
whatIfAnalysisArn
public final String whatIfAnalysisArn()
The Amazon Resource Name (ARN) of the what-if analysis.
- Returns:
- The Amazon Resource Name (ARN) of the what-if analysis.
-
whatIfAnalysisName
public final String whatIfAnalysisName()
The name of the what-if analysis.
- Returns:
- The name of the what-if analysis.
-
forecastArn
public final String forecastArn()
The Amazon Resource Name (ARN) of the baseline forecast that is being used in this what-if analysis.
- Returns:
- The Amazon Resource Name (ARN) of the baseline forecast that is being used in this what-if analysis.
-
status
public final 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.- Returns:
- 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. -
-
-
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 analysis was created.
- Returns:
- When the what-if analysis 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 WhatIfAnalysisSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<WhatIfAnalysisSummary.Builder,WhatIfAnalysisSummary>
-
builder
public static WhatIfAnalysisSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends WhatIfAnalysisSummary.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-