public class DeleteAlarmsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DeleteAlarms operation
.
Deletes all specified alarms. In the event of an error, no alarms are deleted.
NOOP
Constructor and Description |
---|
DeleteAlarmsRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteAlarmsRequest |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAlarmNames()
A list of alarms to be deleted.
|
int |
hashCode() |
void |
setAlarmNames(Collection<String> alarmNames)
A list of alarms to be deleted.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteAlarmsRequest |
withAlarmNames(Collection<String> alarmNames)
A list of alarms to be deleted.
|
DeleteAlarmsRequest |
withAlarmNames(String... alarmNames)
A list of alarms to be deleted.
|
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
- A list of alarms to be deleted.public DeleteAlarmsRequest 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
- A list of alarms to be deleted.public DeleteAlarmsRequest withAlarmNames(Collection<String> alarmNames)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 100
alarmNames
- A list of alarms to be deleted.public String toString()
toString
in class Object
Object.toString()
public DeleteAlarmsRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2015. All rights reserved.