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 interface
MonitoringAlertHistorySummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MonitoringAlertStatus
alertStatus()
The current alert status of an alert.String
alertStatusAsString()
The current alert status of an alert.static MonitoringAlertHistorySummary.Builder
builder()
Instant
creationTime()
A timestamp that indicates when the first alert transition occurred in an alert history.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
monitoringAlertName()
The name of a monitoring alert.String
monitoringScheduleName()
The name of a monitoring schedule.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends MonitoringAlertHistorySummary.Builder>
serializableBuilderClass()
MonitoringAlertHistorySummary.Builder
toBuilder()
String
toString()
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
InAlert
toOK
, or fromOK
toInAlert
.- Returns:
- A timestamp that indicates when the first alert transition occurred in an alert history. An alert
transition can be from status
InAlert
toOK
, or fromOK
toInAlert
.
-
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,
alertStatus
will 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,
alertStatus
will 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:
toBuilder
in 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:
equalsBySdkFields
in 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:
sdkFieldNameToField
in interfaceSdkPojo
-
-