Class AlarmStateInformation
- java.lang.Object
-
- software.amazon.awssdk.services.ssm.model.AlarmStateInformation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AlarmStateInformation.Builder,AlarmStateInformation>
@Generated("software.amazon.awssdk:codegen") public final class AlarmStateInformation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AlarmStateInformation.Builder,AlarmStateInformation>
The details about the state of your CloudWatch alarm.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAlarmStateInformation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AlarmStateInformation.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of your CloudWatch alarm.List<SdkField<?>>sdkFields()static Class<? extends AlarmStateInformation.Builder>serializableBuilderClass()ExternalAlarmStatestate()The state of your CloudWatch alarm.StringstateAsString()The state of your CloudWatch alarm.AlarmStateInformation.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
-
name
public final String name()
The name of your CloudWatch alarm.
- Returns:
- The name of your CloudWatch alarm.
-
state
public final ExternalAlarmState state()
The state of your CloudWatch alarm.
If the service returns an enum value that is not available in the current SDK version,
statewill returnExternalAlarmState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of your CloudWatch alarm.
- See Also:
ExternalAlarmState
-
stateAsString
public final String stateAsString()
The state of your CloudWatch alarm.
If the service returns an enum value that is not available in the current SDK version,
statewill returnExternalAlarmState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of your CloudWatch alarm.
- See Also:
ExternalAlarmState
-
toBuilder
public AlarmStateInformation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AlarmStateInformation.Builder,AlarmStateInformation>
-
builder
public static AlarmStateInformation.Builder builder()
-
serializableBuilderClass
public static Class<? extends AlarmStateInformation.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.
-
-