Class MonitoringAlertHistorySummary
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.MonitoringAlertHistorySummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MonitoringAlertHistorySummary.Builder,MonitoringAlertHistorySummary>
@Generated("software.amazon.awssdk:codegen") public final class MonitoringAlertHistorySummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MonitoringAlertHistorySummary.Builder,MonitoringAlertHistorySummary>
Provides summary information of an alert's history.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMonitoringAlertHistorySummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MonitoringAlertStatusalertStatus()The current alert status of an alert.StringalertStatusAsString()The current alert status of an alert.static MonitoringAlertHistorySummary.Builderbuilder()InstantcreationTime()A timestamp that indicates when the first alert transition occurred in an alert history.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmonitoringAlertName()The name of a monitoring alert.StringmonitoringScheduleName()The name of a monitoring schedule.List<SdkField<?>>sdkFields()static Class<? extends MonitoringAlertHistorySummary.Builder>serializableBuilderClass()MonitoringAlertHistorySummary.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
-
monitoringScheduleName
public final String monitoringScheduleName()
The name of a monitoring schedule.
- Returns:
- The name of a monitoring schedule.
-
monitoringAlertName
public final String monitoringAlertName()
The name of a monitoring alert.
- Returns:
- The name of a monitoring alert.
-
creationTime
public final Instant creationTime()
A timestamp that indicates when the first alert transition occurred in an alert history. An alert transition can be from status
InAlerttoOK, or fromOKtoInAlert.- Returns:
- A timestamp that indicates when the first alert transition occurred in an alert history. An alert
transition can be from status
InAlerttoOK, or fromOKtoInAlert.
-
alertStatus
public final MonitoringAlertStatus alertStatus()
The current alert status of an alert.
If the service returns an enum value that is not available in the current SDK version,
alertStatuswill returnMonitoringAlertStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromalertStatusAsString().- Returns:
- The current alert status of an alert.
- See Also:
MonitoringAlertStatus
-
alertStatusAsString
public final String alertStatusAsString()
The current alert status of an alert.
If the service returns an enum value that is not available in the current SDK version,
alertStatuswill returnMonitoringAlertStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromalertStatusAsString().- Returns:
- The current alert status of an alert.
- See Also:
MonitoringAlertStatus
-
toBuilder
public MonitoringAlertHistorySummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MonitoringAlertHistorySummary.Builder,MonitoringAlertHistorySummary>
-
builder
public static MonitoringAlertHistorySummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends MonitoringAlertHistorySummary.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.
-
-