Class MonitorSummary
- java.lang.Object
-
- software.amazon.awssdk.services.forecast.model.MonitorSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MonitorSummary.Builder,MonitorSummary>
@Generated("software.amazon.awssdk:codegen") public final class MonitorSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MonitorSummary.Builder,MonitorSummary>
Provides a summary of the monitor properties used in the ListMonitors operation. To get a complete set of properties, call the DescribeMonitor operation, and provide the listed
MonitorArn.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMonitorSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MonitorSummary.Builderbuilder()InstantcreationTime()When the monitor resource was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastModificationTime()The last time the monitor resource was modified.StringmonitorArn()The Amazon Resource Name (ARN) of the monitor resource.StringmonitorName()The name of the monitor resource.StringresourceArn()The Amazon Resource Name (ARN) of the predictor being monitored.List<SdkField<?>>sdkFields()static Class<? extends MonitorSummary.Builder>serializableBuilderClass()Stringstatus()The status of the monitor.MonitorSummary.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
-
monitorArn
public final String monitorArn()
The Amazon Resource Name (ARN) of the monitor resource.
- Returns:
- The Amazon Resource Name (ARN) of the monitor resource.
-
monitorName
public final String monitorName()
The name of the monitor resource.
- Returns:
- The name of the monitor resource.
-
resourceArn
public final String resourceArn()
The Amazon Resource Name (ARN) of the predictor being monitored.
- Returns:
- The Amazon Resource Name (ARN) of the predictor being monitored.
-
status
public final String status()
The status of the monitor. States include:
-
ACTIVE -
ACTIVE_STOPPING,ACTIVE_STOPPED -
UPDATE_IN_PROGRESS -
CREATE_PENDING,CREATE_IN_PROGRESS,CREATE_FAILED -
DELETE_PENDING,DELETE_IN_PROGRESS,DELETE_FAILED
- Returns:
- The status of the monitor. States include:
-
ACTIVE -
ACTIVE_STOPPING,ACTIVE_STOPPED -
UPDATE_IN_PROGRESS -
CREATE_PENDING,CREATE_IN_PROGRESS,CREATE_FAILED -
DELETE_PENDING,DELETE_IN_PROGRESS,DELETE_FAILED
-
-
-
creationTime
public final Instant creationTime()
When the monitor resource was created.
- Returns:
- When the monitor resource was created.
-
lastModificationTime
public final Instant lastModificationTime()
The last time the monitor resource was modified. The timestamp depends on the status of the job:
-
CREATE_PENDING- TheCreationTime. -
CREATE_IN_PROGRESS- The current timestamp. -
STOPPED- When the resource stopped. -
ACTIVEorCREATE_FAILED- When the monitor creation finished or failed.
- Returns:
- The last time the monitor resource was modified. The timestamp depends on the status of the job:
-
CREATE_PENDING- TheCreationTime. -
CREATE_IN_PROGRESS- The current timestamp. -
STOPPED- When the resource stopped. -
ACTIVEorCREATE_FAILED- When the monitor creation finished or failed.
-
-
-
toBuilder
public MonitorSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MonitorSummary.Builder,MonitorSummary>
-
builder
public static MonitorSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends MonitorSummary.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.
-
-