/** * <p> * The type of alarm history item. * </p> * * @param historyItemType * The type of alarm history item. * @see HistoryItemType */ public void setHistoryItemType(HistoryItemType historyItemType) { withHistoryItemType(historyItemType); }
/** * <p/> * * @param metrics * @return Returns a reference to this object so that method calls can be chained together. */ public MetricAlarm withMetrics(java.util.Collection<MetricDataQuery> metrics) { setMetrics(metrics); return this; }
/** * @param dashboardValidationMessages * @return Returns a reference to this object so that method calls can be chained together. */ public DashboardInvalidInputErrorException withDashboardValidationMessages(java.util.Collection<DashboardValidationMessage> dashboardValidationMessages) { setDashboardValidationMessages(dashboardValidationMessages); return this; }
/** * <p> * The unit of the metric. * </p> * * @param unit * The unit of the metric. * @see StandardUnit */ public void setUnit(StandardUnit unit) { withUnit(unit); }
/** * <p> * The name of the dimension. * </p> * * @param name * The name of the dimension. * @return Returns a reference to this object so that method calls can be chained together. */ public Dimension withName(String name) { setName(name); return this; }
/** * <p> * The minimum metric value for the data point. * </p> * * @param minimum * The minimum metric value for the data point. * @return Returns a reference to this object so that method calls can be chained together. */ public Datapoint withMinimum(Double minimum) { setMinimum(minimum); return this; }
/** * <p> * The names of the alarms. * </p> * * @param alarmNames * The names of the alarms. * @return Returns a reference to this object so that method calls can be chained together. */ public DisableAlarmActionsRequest withAlarmNames(java.util.Collection<String> alarmNames) { setAlarmNames(alarmNames); return this; }
/** * <p> * The time stamp of the last update to the alarm configuration. * </p> * * @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 MetricAlarm withAlarmConfigurationUpdatedTimestamp(java.util.Date alarmConfigurationUpdatedTimestamp) { setAlarmConfigurationUpdatedTimestamp(alarmConfigurationUpdatedTimestamp); return this; }
/** * <p> * Indicates whether actions should be executed during any changes to the alarm state. * </p> * * @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 MetricAlarm withActionsEnabled(Boolean actionsEnabled) { setActionsEnabled(actionsEnabled); return this; }
/** * <p> * The value of the dimension to be matched. * </p> * * @param value * The value of the dimension to be matched. * @return Returns a reference to this object so that method calls can be chained together. */ public DimensionFilter withValue(String value) { setValue(value); return this; }
/** * <p> * The unit for the metric. * </p> * * @param unit * The unit for the metric. * @see StandardUnit */ public void setUnit(StandardUnit unit) { withUnit(unit); }
/** * <p> * The unit of the metric associated with the alarm. * </p> * * @param unit * The unit of the metric associated with the alarm. * @see StandardUnit */ public void setUnit(StandardUnit unit) { withUnit(unit); }
/** * <p> * The value of the state. * </p> * * @param stateValue * The value of the state. * @see StateValue */ public void setStateValue(StateValue stateValue) { withStateValue(stateValue); }
/** * <p> * The state value to be used in matching alarms. * </p> * * @param stateValue * The state value to be used in matching alarms. * @see StateValue */ public void setStateValue(StateValue stateValue) { withStateValue(stateValue); }
/** * <p> * The standard unit for the data point. * </p> * * @param unit * The standard unit for the data point. * @see StandardUnit */ public void setUnit(StandardUnit unit) { withUnit(unit); }
/** * <p> * The type of alarm histories to retrieve. * </p> * * @param historyItemType * The type of alarm histories to retrieve. * @see HistoryItemType */ public void setHistoryItemType(HistoryItemType historyItemType) { withHistoryItemType(historyItemType); }
/** * <p> * The state value for the alarm. * </p> * * @param stateValue * The state value for the alarm. * @see StateValue */ public void setStateValue(StateValue stateValue) { withStateValue(stateValue); }
/** * <p> * The name for the alarm. This name must be unique within your AWS account. * </p> * * @param alarmName * The name for the alarm. This name must be unique within your AWS account. * @return Returns a reference to this object so that method calls can be chained together. */ public PutMetricAlarmRequest withAlarmName(String alarmName) { setAlarmName(alarmName); return this; }
/** * <p> * The number of datapoints that must be breaching to trigger the alarm. * </p> * * @param datapointsToAlarm * The number of datapoints that must be breaching to trigger the alarm. * @return Returns a reference to this object so that method calls can be chained together. */ public MetricAlarm withDatapointsToAlarm(Integer datapointsToAlarm) { setDatapointsToAlarm(datapointsToAlarm); return this; }
/** * <p> * The ending date to retrieve alarm history. * </p> * * @param endDate * The ending date to retrieve alarm history. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeAlarmHistoryRequest withEndDate(java.util.Date endDate) { setEndDate(endDate); return this; }