Class DescribeMonitorResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.forecast.model.ForecastResponse
-
- software.amazon.awssdk.services.forecast.model.DescribeMonitorResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeMonitorResponse.Builder,DescribeMonitorResponse>
@Generated("software.amazon.awssdk:codegen") public final class DescribeMonitorResponse extends ForecastResponse implements ToCopyableBuilder<DescribeMonitorResponse.Builder,DescribeMonitorResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribeMonitorResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Baselinebaseline()Metrics you can use as a baseline for comparison purposes.static DescribeMonitorResponse.Builderbuilder()InstantcreationTime()The timestamp for when the monitor resource was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)LongestimatedEvaluationTimeRemainingInMinutes()The estimated number of minutes remaining before the monitor resource finishes its current evaluation.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlastEvaluationState()The state of the monitor's latest evaluation.InstantlastEvaluationTime()The timestamp of the latest evaluation completed by the monitor.InstantlastModificationTime()The timestamp of the latest modification to the monitor.Stringmessage()An error message, if any, for the monitor.StringmonitorArn()The Amazon Resource Name (ARN) of the monitor resource described.StringmonitorName()The name of the monitor.StringresourceArn()The Amazon Resource Name (ARN) of the auto predictor being monitored.List<SdkField<?>>sdkFields()static Class<? extends DescribeMonitorResponse.Builder>serializableBuilderClass()Stringstatus()The status of the monitor resource.DescribeMonitorResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.forecast.model.ForecastResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
monitorName
public final String monitorName()
The name of the monitor.
- Returns:
- The name of the monitor.
-
monitorArn
public final String monitorArn()
The Amazon Resource Name (ARN) of the monitor resource described.
- Returns:
- The Amazon Resource Name (ARN) of the monitor resource described.
-
resourceArn
public final String resourceArn()
The Amazon Resource Name (ARN) of the auto predictor being monitored.
- Returns:
- The Amazon Resource Name (ARN) of the auto predictor being monitored.
-
status
public final String status()
The status of the monitor resource.
- Returns:
- The status of the monitor resource.
-
lastEvaluationTime
public final Instant lastEvaluationTime()
The timestamp of the latest evaluation completed by the monitor.
- Returns:
- The timestamp of the latest evaluation completed by the monitor.
-
lastEvaluationState
public final String lastEvaluationState()
The state of the monitor's latest evaluation.
- Returns:
- The state of the monitor's latest evaluation.
-
baseline
public final Baseline baseline()
Metrics you can use as a baseline for comparison purposes. Use these values you interpret monitoring results for an auto predictor.
- Returns:
- Metrics you can use as a baseline for comparison purposes. Use these values you interpret monitoring results for an auto predictor.
-
message
public final String message()
An error message, if any, for the monitor.
- Returns:
- An error message, if any, for the monitor.
-
creationTime
public final Instant creationTime()
The timestamp for when the monitor resource was created.
- Returns:
- The timestamp for when the monitor resource was created.
-
lastModificationTime
public final Instant lastModificationTime()
The timestamp of the latest modification to the monitor.
- Returns:
- The timestamp of the latest modification to the monitor.
-
estimatedEvaluationTimeRemainingInMinutes
public final Long estimatedEvaluationTimeRemainingInMinutes()
The estimated number of minutes remaining before the monitor resource finishes its current evaluation.
- Returns:
- The estimated number of minutes remaining before the monitor resource finishes its current evaluation.
-
toBuilder
public DescribeMonitorResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeMonitorResponse.Builder,DescribeMonitorResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static DescribeMonitorResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeMonitorResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-