/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.cloudwatch.model; import java.io.Serializable; import javax.annotation.Generated; /** *
* The details about a composite alarm. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class CompositeAlarm implements Serializable, Cloneable { /** ** Indicates whether actions should be executed during any changes to the alarm state. *
*/ private Boolean actionsEnabled; /** ** The actions to execute when this alarm transitions to the ALARM state from any other state. Each action is * specified as an Amazon Resource Name (ARN). *
*/ private com.amazonaws.internal.SdkInternalList* The Amazon Resource Name (ARN) of the alarm. *
*/ private String alarmArn; /** ** The time stamp of the last update to the alarm configuration. *
*/ private java.util.Date alarmConfigurationUpdatedTimestamp; /** ** The description of the alarm. *
*/ private String alarmDescription; /** ** The name of the alarm. *
*/ private String alarmName; /** ** The rule that this alarm uses to evaluate its alarm state. *
*/ private String alarmRule; /** ** The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. Each * action is specified as an Amazon Resource Name (ARN). *
*/ private com.amazonaws.internal.SdkInternalList* The actions to execute when this alarm transitions to the OK state from any other state. Each action is specified * as an Amazon Resource Name (ARN). *
*/ private com.amazonaws.internal.SdkInternalList* An explanation for the alarm state, in text format. *
*/ private String stateReason; /** ** An explanation for the alarm state, in JSON format. *
*/ private String stateReasonData; /** *
* Tracks the timestamp of any state update, even if StateValue
doesn't change.
*
* The state value for the alarm. *
*/ private String stateValue; /** *
* The timestamp of the last change to the alarm's StateValue
.
*
* When the value is ALARM
, it means that the actions are suppressed because the suppressor alarm is in
* ALARM
When the value is WaitPeriod
, it means that the actions are suppressed because
* the composite alarm is waiting for the suppressor alarm to go into into the ALARM
state. The maximum
* waiting time is as specified in ActionsSuppressorWaitPeriod
. After this time, the composite alarm
* performs its actions. When the value is ExtensionPeriod
, it means that the actions are suppressed
* because the composite alarm is waiting after the suppressor alarm went out of the ALARM
state. The
* maximum waiting time is as specified in ActionsSuppressorExtensionPeriod
. After this time, the
* composite alarm performs its actions.
*
* Captures the reason for action suppression. *
*/ private String actionsSuppressedReason; /** *
* Actions will be suppressed if the suppressor alarm is in the ALARM
state.
* ActionsSuppressor
can be an AlarmName or an Amazon Resource Name (ARN) from an existing alarm.
*
* The maximum time in seconds that the composite alarm waits for the suppressor alarm to go into the
* ALARM
state. After this time, the composite alarm performs its actions.
*
* WaitPeriod
is required only when ActionsSuppressor
is specified.
*
* The maximum time in seconds that the composite alarm waits after suppressor alarm goes out of the
* ALARM
state. After this time, the composite alarm performs its actions.
*
* ExtensionPeriod
is required only when ActionsSuppressor
is specified.
*
* Indicates whether actions should be executed during any changes to the alarm state. *
* * @param actionsEnabled * Indicates whether actions should be executed during any changes to the alarm state. */ public void setActionsEnabled(Boolean actionsEnabled) { this.actionsEnabled = actionsEnabled; } /** ** Indicates whether actions should be executed during any changes to the alarm state. *
* * @return Indicates whether actions should be executed during any changes to the alarm state. */ public Boolean getActionsEnabled() { return this.actionsEnabled; } /** ** Indicates whether actions should be executed during any changes to the alarm state. *
* * @param actionsEnabled * Indicates whether actions should be executed during any changes to the alarm state. * @return Returns a reference to this object so that method calls can be chained together. */ public CompositeAlarm withActionsEnabled(Boolean actionsEnabled) { setActionsEnabled(actionsEnabled); return this; } /** ** Indicates whether actions should be executed during any changes to the alarm state. *
* * @return Indicates whether actions should be executed during any changes to the alarm state. */ public Boolean isActionsEnabled() { return this.actionsEnabled; } /** ** The actions to execute when this alarm transitions to the ALARM state from any other state. Each action is * specified as an Amazon Resource Name (ARN). *
* * @return The actions to execute when this alarm transitions to the ALARM state from any other state. Each action * is specified as an Amazon Resource Name (ARN). */ public java.util.List* The actions to execute when this alarm transitions to the ALARM state from any other state. Each action is * specified as an Amazon Resource Name (ARN). *
* * @param alarmActions * The actions to execute when this alarm transitions to the ALARM state from any other state. Each action is * specified as an Amazon Resource Name (ARN). */ public void setAlarmActions(java.util.Collection* The actions to execute when this alarm transitions to the ALARM state from any other state. Each action is * specified as an Amazon Resource Name (ARN). *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setAlarmActions(java.util.Collection)} or {@link #withAlarmActions(java.util.Collection)} if you want to * override the existing values. *
* * @param alarmActions * The actions to execute when this alarm transitions to the ALARM state from any other state. Each action is * specified as an Amazon Resource Name (ARN). * @return Returns a reference to this object so that method calls can be chained together. */ public CompositeAlarm withAlarmActions(String... alarmActions) { if (this.alarmActions == null) { setAlarmActions(new com.amazonaws.internal.SdkInternalList* The actions to execute when this alarm transitions to the ALARM state from any other state. Each action is * specified as an Amazon Resource Name (ARN). *
* * @param alarmActions * The actions to execute when this alarm transitions to the ALARM state from any other state. Each action is * specified as an Amazon Resource Name (ARN). * @return Returns a reference to this object so that method calls can be chained together. */ public CompositeAlarm withAlarmActions(java.util.Collection* The Amazon Resource Name (ARN) of the alarm. *
* * @param alarmArn * The Amazon Resource Name (ARN) of the alarm. */ public void setAlarmArn(String alarmArn) { this.alarmArn = alarmArn; } /** ** The Amazon Resource Name (ARN) of the alarm. *
* * @return The Amazon Resource Name (ARN) of the alarm. */ public String getAlarmArn() { return this.alarmArn; } /** ** The Amazon Resource Name (ARN) of the alarm. *
* * @param alarmArn * The Amazon Resource Name (ARN) of the alarm. * @return Returns a reference to this object so that method calls can be chained together. */ public CompositeAlarm withAlarmArn(String alarmArn) { setAlarmArn(alarmArn); return this; } /** ** The time stamp of the last update to the alarm configuration. *
* * @param alarmConfigurationUpdatedTimestamp * The time stamp of the last update to the alarm configuration. */ public void setAlarmConfigurationUpdatedTimestamp(java.util.Date alarmConfigurationUpdatedTimestamp) { this.alarmConfigurationUpdatedTimestamp = alarmConfigurationUpdatedTimestamp; } /** ** The time stamp of the last update to the alarm configuration. *
* * @return The time stamp of the last update to the alarm configuration. */ public java.util.Date getAlarmConfigurationUpdatedTimestamp() { return this.alarmConfigurationUpdatedTimestamp; } /** ** The time stamp of the last update to the alarm configuration. *
* * @param alarmConfigurationUpdatedTimestamp * The time stamp of the last update to the alarm configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public CompositeAlarm withAlarmConfigurationUpdatedTimestamp(java.util.Date alarmConfigurationUpdatedTimestamp) { setAlarmConfigurationUpdatedTimestamp(alarmConfigurationUpdatedTimestamp); return this; } /** ** The description of the alarm. *
* * @param alarmDescription * The description of the alarm. */ public void setAlarmDescription(String alarmDescription) { this.alarmDescription = alarmDescription; } /** ** The description of the alarm. *
* * @return The description of the alarm. */ public String getAlarmDescription() { return this.alarmDescription; } /** ** The description of the alarm. *
* * @param alarmDescription * The description of the alarm. * @return Returns a reference to this object so that method calls can be chained together. */ public CompositeAlarm withAlarmDescription(String alarmDescription) { setAlarmDescription(alarmDescription); return this; } /** ** The name of the alarm. *
* * @param alarmName * The name of the alarm. */ public void setAlarmName(String alarmName) { this.alarmName = alarmName; } /** ** The name of the alarm. *
* * @return The name of the alarm. */ public String getAlarmName() { return this.alarmName; } /** ** The name of the alarm. *
* * @param alarmName * The name of the alarm. * @return Returns a reference to this object so that method calls can be chained together. */ public CompositeAlarm withAlarmName(String alarmName) { setAlarmName(alarmName); return this; } /** ** The rule that this alarm uses to evaluate its alarm state. *
* * @param alarmRule * The rule that this alarm uses to evaluate its alarm state. */ public void setAlarmRule(String alarmRule) { this.alarmRule = alarmRule; } /** ** The rule that this alarm uses to evaluate its alarm state. *
* * @return The rule that this alarm uses to evaluate its alarm state. */ public String getAlarmRule() { return this.alarmRule; } /** ** The rule that this alarm uses to evaluate its alarm state. *
* * @param alarmRule * The rule that this alarm uses to evaluate its alarm state. * @return Returns a reference to this object so that method calls can be chained together. */ public CompositeAlarm withAlarmRule(String alarmRule) { setAlarmRule(alarmRule); return this; } /** ** The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. Each * action is specified as an Amazon Resource Name (ARN). *
* * @return The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. * Each action is specified as an Amazon Resource Name (ARN). */ public java.util.List* The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. Each * action is specified as an Amazon Resource Name (ARN). *
* * @param insufficientDataActions * The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. * Each action is specified as an Amazon Resource Name (ARN). */ public void setInsufficientDataActions(java.util.Collection* The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. Each * action is specified as an Amazon Resource Name (ARN). *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setInsufficientDataActions(java.util.Collection)} or * {@link #withInsufficientDataActions(java.util.Collection)} if you want to override the existing values. *
* * @param insufficientDataActions * The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. * Each action is specified as an Amazon Resource Name (ARN). * @return Returns a reference to this object so that method calls can be chained together. */ public CompositeAlarm withInsufficientDataActions(String... insufficientDataActions) { if (this.insufficientDataActions == null) { setInsufficientDataActions(new com.amazonaws.internal.SdkInternalList* The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. Each * action is specified as an Amazon Resource Name (ARN). *
* * @param insufficientDataActions * The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. * Each action is specified as an Amazon Resource Name (ARN). * @return Returns a reference to this object so that method calls can be chained together. */ public CompositeAlarm withInsufficientDataActions(java.util.Collection* The actions to execute when this alarm transitions to the OK state from any other state. Each action is specified * as an Amazon Resource Name (ARN). *
* * @return The actions to execute when this alarm transitions to the OK state from any other state. Each action is * specified as an Amazon Resource Name (ARN). */ public java.util.List* The actions to execute when this alarm transitions to the OK state from any other state. Each action is specified * as an Amazon Resource Name (ARN). *
* * @param oKActions * The actions to execute when this alarm transitions to the OK state from any other state. Each action is * specified as an Amazon Resource Name (ARN). */ public void setOKActions(java.util.Collection* The actions to execute when this alarm transitions to the OK state from any other state. Each action is specified * as an Amazon Resource Name (ARN). *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setOKActions(java.util.Collection)} or {@link #withOKActions(java.util.Collection)} if you want to * override the existing values. *
* * @param oKActions * The actions to execute when this alarm transitions to the OK state from any other state. Each action is * specified as an Amazon Resource Name (ARN). * @return Returns a reference to this object so that method calls can be chained together. */ public CompositeAlarm withOKActions(String... oKActions) { if (this.oKActions == null) { setOKActions(new com.amazonaws.internal.SdkInternalList* The actions to execute when this alarm transitions to the OK state from any other state. Each action is specified * as an Amazon Resource Name (ARN). *
* * @param oKActions * The actions to execute when this alarm transitions to the OK state from any other state. Each action is * specified as an Amazon Resource Name (ARN). * @return Returns a reference to this object so that method calls can be chained together. */ public CompositeAlarm withOKActions(java.util.Collection* An explanation for the alarm state, in text format. *
* * @param stateReason * An explanation for the alarm state, in text format. */ public void setStateReason(String stateReason) { this.stateReason = stateReason; } /** ** An explanation for the alarm state, in text format. *
* * @return An explanation for the alarm state, in text format. */ public String getStateReason() { return this.stateReason; } /** ** An explanation for the alarm state, in text format. *
* * @param stateReason * An explanation for the alarm state, in text format. * @return Returns a reference to this object so that method calls can be chained together. */ public CompositeAlarm withStateReason(String stateReason) { setStateReason(stateReason); return this; } /** ** An explanation for the alarm state, in JSON format. *
* * @param stateReasonData * An explanation for the alarm state, in JSON format. */ public void setStateReasonData(String stateReasonData) { this.stateReasonData = stateReasonData; } /** ** An explanation for the alarm state, in JSON format. *
* * @return An explanation for the alarm state, in JSON format. */ public String getStateReasonData() { return this.stateReasonData; } /** ** An explanation for the alarm state, in JSON format. *
* * @param stateReasonData * An explanation for the alarm state, in JSON format. * @return Returns a reference to this object so that method calls can be chained together. */ public CompositeAlarm withStateReasonData(String stateReasonData) { setStateReasonData(stateReasonData); return this; } /** *
* Tracks the timestamp of any state update, even if StateValue
doesn't change.
*
StateValue
doesn't change.
*/
public void setStateUpdatedTimestamp(java.util.Date stateUpdatedTimestamp) {
this.stateUpdatedTimestamp = stateUpdatedTimestamp;
}
/**
*
* Tracks the timestamp of any state update, even if StateValue
doesn't change.
*
StateValue
doesn't change.
*/
public java.util.Date getStateUpdatedTimestamp() {
return this.stateUpdatedTimestamp;
}
/**
*
* Tracks the timestamp of any state update, even if StateValue
doesn't change.
*
StateValue
doesn't change.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CompositeAlarm withStateUpdatedTimestamp(java.util.Date stateUpdatedTimestamp) {
setStateUpdatedTimestamp(stateUpdatedTimestamp);
return this;
}
/**
* * The state value for the alarm. *
* * @param stateValue * The state value for the alarm. * @see StateValue */ public void setStateValue(String stateValue) { this.stateValue = stateValue; } /** ** The state value for the alarm. *
* * @return The state value for the alarm. * @see StateValue */ public String getStateValue() { return this.stateValue; } /** ** The state value for the alarm. *
* * @param stateValue * The state value for the alarm. * @return Returns a reference to this object so that method calls can be chained together. * @see StateValue */ public CompositeAlarm withStateValue(String stateValue) { setStateValue(stateValue); return this; } /** ** The state value for the alarm. *
* * @param stateValue * The state value for the alarm. * @return Returns a reference to this object so that method calls can be chained together. * @see StateValue */ public CompositeAlarm withStateValue(StateValue stateValue) { this.stateValue = stateValue.toString(); return this; } /** *
* The timestamp of the last change to the alarm's StateValue
.
*
StateValue
.
*/
public void setStateTransitionedTimestamp(java.util.Date stateTransitionedTimestamp) {
this.stateTransitionedTimestamp = stateTransitionedTimestamp;
}
/**
*
* The timestamp of the last change to the alarm's StateValue
.
*
StateValue
.
*/
public java.util.Date getStateTransitionedTimestamp() {
return this.stateTransitionedTimestamp;
}
/**
*
* The timestamp of the last change to the alarm's StateValue
.
*
StateValue
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CompositeAlarm withStateTransitionedTimestamp(java.util.Date stateTransitionedTimestamp) {
setStateTransitionedTimestamp(stateTransitionedTimestamp);
return this;
}
/**
*
* When the value is ALARM
, it means that the actions are suppressed because the suppressor alarm is in
* ALARM
When the value is WaitPeriod
, it means that the actions are suppressed because
* the composite alarm is waiting for the suppressor alarm to go into into the ALARM
state. The maximum
* waiting time is as specified in ActionsSuppressorWaitPeriod
. After this time, the composite alarm
* performs its actions. When the value is ExtensionPeriod
, it means that the actions are suppressed
* because the composite alarm is waiting after the suppressor alarm went out of the ALARM
state. The
* maximum waiting time is as specified in ActionsSuppressorExtensionPeriod
. After this time, the
* composite alarm performs its actions.
*
ALARM
, it means that the actions are suppressed because the suppressor
* alarm is in ALARM
When the value is WaitPeriod
, it means that the actions are
* suppressed because the composite alarm is waiting for the suppressor alarm to go into into the
* ALARM
state. The maximum waiting time is as specified in
* ActionsSuppressorWaitPeriod
. After this time, the composite alarm performs its actions. When
* the value is ExtensionPeriod
, it means that the actions are suppressed because the composite
* alarm is waiting after the suppressor alarm went out of the ALARM
state. The maximum waiting
* time is as specified in ActionsSuppressorExtensionPeriod
. After this time, the composite
* alarm performs its actions.
* @see ActionsSuppressedBy
*/
public void setActionsSuppressedBy(String actionsSuppressedBy) {
this.actionsSuppressedBy = actionsSuppressedBy;
}
/**
*
* When the value is ALARM
, it means that the actions are suppressed because the suppressor alarm is in
* ALARM
When the value is WaitPeriod
, it means that the actions are suppressed because
* the composite alarm is waiting for the suppressor alarm to go into into the ALARM
state. The maximum
* waiting time is as specified in ActionsSuppressorWaitPeriod
. After this time, the composite alarm
* performs its actions. When the value is ExtensionPeriod
, it means that the actions are suppressed
* because the composite alarm is waiting after the suppressor alarm went out of the ALARM
state. The
* maximum waiting time is as specified in ActionsSuppressorExtensionPeriod
. After this time, the
* composite alarm performs its actions.
*
ALARM
, it means that the actions are suppressed because the suppressor
* alarm is in ALARM
When the value is WaitPeriod
, it means that the actions are
* suppressed because the composite alarm is waiting for the suppressor alarm to go into into the
* ALARM
state. The maximum waiting time is as specified in
* ActionsSuppressorWaitPeriod
. After this time, the composite alarm performs its actions. When
* the value is ExtensionPeriod
, it means that the actions are suppressed because the composite
* alarm is waiting after the suppressor alarm went out of the ALARM
state. The maximum waiting
* time is as specified in ActionsSuppressorExtensionPeriod
. After this time, the composite
* alarm performs its actions.
* @see ActionsSuppressedBy
*/
public String getActionsSuppressedBy() {
return this.actionsSuppressedBy;
}
/**
*
* When the value is ALARM
, it means that the actions are suppressed because the suppressor alarm is in
* ALARM
When the value is WaitPeriod
, it means that the actions are suppressed because
* the composite alarm is waiting for the suppressor alarm to go into into the ALARM
state. The maximum
* waiting time is as specified in ActionsSuppressorWaitPeriod
. After this time, the composite alarm
* performs its actions. When the value is ExtensionPeriod
, it means that the actions are suppressed
* because the composite alarm is waiting after the suppressor alarm went out of the ALARM
state. The
* maximum waiting time is as specified in ActionsSuppressorExtensionPeriod
. After this time, the
* composite alarm performs its actions.
*
ALARM
, it means that the actions are suppressed because the suppressor
* alarm is in ALARM
When the value is WaitPeriod
, it means that the actions are
* suppressed because the composite alarm is waiting for the suppressor alarm to go into into the
* ALARM
state. The maximum waiting time is as specified in
* ActionsSuppressorWaitPeriod
. After this time, the composite alarm performs its actions. When
* the value is ExtensionPeriod
, it means that the actions are suppressed because the composite
* alarm is waiting after the suppressor alarm went out of the ALARM
state. The maximum waiting
* time is as specified in ActionsSuppressorExtensionPeriod
. After this time, the composite
* alarm performs its actions.
* @return Returns a reference to this object so that method calls can be chained together.
* @see ActionsSuppressedBy
*/
public CompositeAlarm withActionsSuppressedBy(String actionsSuppressedBy) {
setActionsSuppressedBy(actionsSuppressedBy);
return this;
}
/**
*
* When the value is ALARM
, it means that the actions are suppressed because the suppressor alarm is in
* ALARM
When the value is WaitPeriod
, it means that the actions are suppressed because
* the composite alarm is waiting for the suppressor alarm to go into into the ALARM
state. The maximum
* waiting time is as specified in ActionsSuppressorWaitPeriod
. After this time, the composite alarm
* performs its actions. When the value is ExtensionPeriod
, it means that the actions are suppressed
* because the composite alarm is waiting after the suppressor alarm went out of the ALARM
state. The
* maximum waiting time is as specified in ActionsSuppressorExtensionPeriod
. After this time, the
* composite alarm performs its actions.
*
ALARM
, it means that the actions are suppressed because the suppressor
* alarm is in ALARM
When the value is WaitPeriod
, it means that the actions are
* suppressed because the composite alarm is waiting for the suppressor alarm to go into into the
* ALARM
state. The maximum waiting time is as specified in
* ActionsSuppressorWaitPeriod
. After this time, the composite alarm performs its actions. When
* the value is ExtensionPeriod
, it means that the actions are suppressed because the composite
* alarm is waiting after the suppressor alarm went out of the ALARM
state. The maximum waiting
* time is as specified in ActionsSuppressorExtensionPeriod
. After this time, the composite
* alarm performs its actions.
* @return Returns a reference to this object so that method calls can be chained together.
* @see ActionsSuppressedBy
*/
public CompositeAlarm withActionsSuppressedBy(ActionsSuppressedBy actionsSuppressedBy) {
this.actionsSuppressedBy = actionsSuppressedBy.toString();
return this;
}
/**
* * Captures the reason for action suppression. *
* * @param actionsSuppressedReason * Captures the reason for action suppression. */ public void setActionsSuppressedReason(String actionsSuppressedReason) { this.actionsSuppressedReason = actionsSuppressedReason; } /** ** Captures the reason for action suppression. *
* * @return Captures the reason for action suppression. */ public String getActionsSuppressedReason() { return this.actionsSuppressedReason; } /** ** Captures the reason for action suppression. *
* * @param actionsSuppressedReason * Captures the reason for action suppression. * @return Returns a reference to this object so that method calls can be chained together. */ public CompositeAlarm withActionsSuppressedReason(String actionsSuppressedReason) { setActionsSuppressedReason(actionsSuppressedReason); return this; } /** *
* Actions will be suppressed if the suppressor alarm is in the ALARM
state.
* ActionsSuppressor
can be an AlarmName or an Amazon Resource Name (ARN) from an existing alarm.
*
ALARM
state.
* ActionsSuppressor
can be an AlarmName or an Amazon Resource Name (ARN) from an existing
* alarm.
*/
public void setActionsSuppressor(String actionsSuppressor) {
this.actionsSuppressor = actionsSuppressor;
}
/**
*
* Actions will be suppressed if the suppressor alarm is in the ALARM
state.
* ActionsSuppressor
can be an AlarmName or an Amazon Resource Name (ARN) from an existing alarm.
*
ALARM
state.
* ActionsSuppressor
can be an AlarmName or an Amazon Resource Name (ARN) from an existing
* alarm.
*/
public String getActionsSuppressor() {
return this.actionsSuppressor;
}
/**
*
* Actions will be suppressed if the suppressor alarm is in the ALARM
state.
* ActionsSuppressor
can be an AlarmName or an Amazon Resource Name (ARN) from an existing alarm.
*
ALARM
state.
* ActionsSuppressor
can be an AlarmName or an Amazon Resource Name (ARN) from an existing
* alarm.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CompositeAlarm withActionsSuppressor(String actionsSuppressor) {
setActionsSuppressor(actionsSuppressor);
return this;
}
/**
*
* The maximum time in seconds that the composite alarm waits for the suppressor alarm to go into the
* ALARM
state. After this time, the composite alarm performs its actions.
*
* WaitPeriod
is required only when ActionsSuppressor
is specified.
*
ALARM
state. After this time, the composite alarm performs its actions.
* WaitPeriod
is required only when ActionsSuppressor
is specified.
*
* The maximum time in seconds that the composite alarm waits for the suppressor alarm to go into the
* ALARM
state. After this time, the composite alarm performs its actions.
*
* WaitPeriod
is required only when ActionsSuppressor
is specified.
*
ALARM
state. After this time, the composite alarm performs its actions.
* WaitPeriod
is required only when ActionsSuppressor
is specified.
*
* The maximum time in seconds that the composite alarm waits for the suppressor alarm to go into the
* ALARM
state. After this time, the composite alarm performs its actions.
*
* WaitPeriod
is required only when ActionsSuppressor
is specified.
*
ALARM
state. After this time, the composite alarm performs its actions.
* WaitPeriod
is required only when ActionsSuppressor
is specified.
*
* The maximum time in seconds that the composite alarm waits after suppressor alarm goes out of the
* ALARM
state. After this time, the composite alarm performs its actions.
*
* ExtensionPeriod
is required only when ActionsSuppressor
is specified.
*
ALARM
state. After this time, the composite alarm performs its actions.
* ExtensionPeriod
is required only when ActionsSuppressor
is specified.
*
* The maximum time in seconds that the composite alarm waits after suppressor alarm goes out of the
* ALARM
state. After this time, the composite alarm performs its actions.
*
* ExtensionPeriod
is required only when ActionsSuppressor
is specified.
*
ALARM
state. After this time, the composite alarm performs its actions.
* ExtensionPeriod
is required only when ActionsSuppressor
is specified.
*
* The maximum time in seconds that the composite alarm waits after suppressor alarm goes out of the
* ALARM
state. After this time, the composite alarm performs its actions.
*
* ExtensionPeriod
is required only when ActionsSuppressor
is specified.
*
ALARM
state. After this time, the composite alarm performs its actions.
* ExtensionPeriod
is required only when ActionsSuppressor
is specified.
*