Class TestWindowSummary
- java.lang.Object
-
- software.amazon.awssdk.services.forecast.model.TestWindowSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TestWindowSummary.Builder,TestWindowSummary>
@Generated("software.amazon.awssdk:codegen") public final class TestWindowSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TestWindowSummary.Builder,TestWindowSummary>
The status, start time, and end time of a backtest, as well as a failure reason if applicable.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTestWindowSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TestWindowSummary.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringmessage()If the test failed, the reason why it failed.List<SdkField<?>>sdkFields()static Class<? extends TestWindowSummary.Builder>serializableBuilderClass()Stringstatus()The status of the test.InstanttestWindowEnd()The time at which the test ended.InstanttestWindowStart()The time at which the test began.TestWindowSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
testWindowStart
public final Instant testWindowStart()
The time at which the test began.
- Returns:
- The time at which the test began.
-
testWindowEnd
public final Instant testWindowEnd()
The time at which the test ended.
- Returns:
- The time at which the test ended.
-
status
public final String status()
The status of the test. Possible status values are:
-
ACTIVE -
CREATE_IN_PROGRESS -
CREATE_FAILED
- Returns:
- The status of the test. Possible status values are:
-
ACTIVE -
CREATE_IN_PROGRESS -
CREATE_FAILED
-
-
-
message
public final String message()
If the test failed, the reason why it failed.
- Returns:
- If the test failed, the reason why it failed.
-
toBuilder
public TestWindowSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TestWindowSummary.Builder,TestWindowSummary>
-
builder
public static TestWindowSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends TestWindowSummary.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.
-
-