Class AlarmMuteRuleSummary
- java.lang.Object
-
- software.amazon.awssdk.services.cloudwatch.model.AlarmMuteRuleSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AlarmMuteRuleSummary.Builder,AlarmMuteRuleSummary>
@Generated("software.amazon.awssdk:codegen") public final class AlarmMuteRuleSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AlarmMuteRuleSummary.Builder,AlarmMuteRuleSummary>
Summary information about an alarm mute rule, including its name, status, and configuration details.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAlarmMuteRuleSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringalarmMuteRuleArn()The Amazon Resource Name (ARN) of the alarm mute rule.static AlarmMuteRuleSummary.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)InstantexpireDate()The date and time when the mute rule expires and is no longer evaluated.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastUpdatedTimestamp()The date and time when the mute rule was last updated.StringmuteType()Indicates whether the mute rule is one-time or recurring.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AlarmMuteRuleSummary.Builder>serializableBuilderClass()AlarmMuteRuleStatusstatus()The current status of the alarm mute rule.StringstatusAsString()The current status of the alarm mute rule.AlarmMuteRuleSummary.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
-
alarmMuteRuleArn
public final String alarmMuteRuleArn()
The Amazon Resource Name (ARN) of the alarm mute rule.
- Returns:
- The Amazon Resource Name (ARN) of the alarm mute rule.
-
expireDate
public final Instant expireDate()
The date and time when the mute rule expires and is no longer evaluated. This field is only present if an expiration date was configured.
- Returns:
- The date and time when the mute rule expires and is no longer evaluated. This field is only present if an expiration date was configured.
-
status
public final AlarmMuteRuleStatus status()
The current status of the alarm mute rule. Valid values are
SCHEDULED,ACTIVE, orEXPIRED.If the service returns an enum value that is not available in the current SDK version,
statuswill returnAlarmMuteRuleStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the alarm mute rule. Valid values are
SCHEDULED,ACTIVE, orEXPIRED. - See Also:
AlarmMuteRuleStatus
-
statusAsString
public final String statusAsString()
The current status of the alarm mute rule. Valid values are
SCHEDULED,ACTIVE, orEXPIRED.If the service returns an enum value that is not available in the current SDK version,
statuswill returnAlarmMuteRuleStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the alarm mute rule. Valid values are
SCHEDULED,ACTIVE, orEXPIRED. - See Also:
AlarmMuteRuleStatus
-
muteType
public final String muteType()
Indicates whether the mute rule is one-time or recurring. Valid values are
ONE_TIMEorRECURRING.- Returns:
- Indicates whether the mute rule is one-time or recurring. Valid values are
ONE_TIMEorRECURRING.
-
lastUpdatedTimestamp
public final Instant lastUpdatedTimestamp()
The date and time when the mute rule was last updated.
- Returns:
- The date and time when the mute rule was last updated.
-
toBuilder
public AlarmMuteRuleSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AlarmMuteRuleSummary.Builder,AlarmMuteRuleSummary>
-
builder
public static AlarmMuteRuleSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends AlarmMuteRuleSummary.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-