public class DisableAlarmActionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DisableAlarmActions operation
.
Disables actions for the specified alarms. When an alarm's actions are disabled the alarm's state may change, but none of the alarm's actions will execute.
NOOP
Constructor and Description |
---|
DisableAlarmActionsRequest() |
Modifier and Type | Method and Description |
---|---|
DisableAlarmActionsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
List<String> |
getAlarmNames()
The names of the alarms to disable actions for.
|
int |
hashCode() |
void |
setAlarmNames(Collection<String> alarmNames)
The names of the alarms to disable actions for.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DisableAlarmActionsRequest |
withAlarmNames(Collection<String> alarmNames)
The names of the alarms to disable actions for.
|
DisableAlarmActionsRequest |
withAlarmNames(String... alarmNames)
The names of the alarms to disable actions for.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public List<String> getAlarmNames()
Constraints:
Length: 0 - 100
public void setAlarmNames(Collection<String> alarmNames)
Constraints:
Length: 0 - 100
alarmNames
- The names of the alarms to disable actions for.public DisableAlarmActionsRequest withAlarmNames(String... alarmNames)
NOTE: This method appends the values to the existing list (if
any). Use setAlarmNames(java.util.Collection)
or withAlarmNames(java.util.Collection)
if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 100
alarmNames
- The names of the alarms to disable actions for.public DisableAlarmActionsRequest withAlarmNames(Collection<String> alarmNames)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 100
alarmNames
- The names of the alarms to disable actions for.public String toString()
toString
in class Object
Object.toString()
public DisableAlarmActionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.