com.amazonaws.services.cloudwatch.model
Class DeleteAlarmsRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.cloudwatch.model.DeleteAlarmsRequest

public class DeleteAlarmsRequest
extends AmazonWebServiceRequest

Container for the parameters to the DeleteAlarms operation.

Deletes all specified alarms. In the event of an error, no alarms are deleted.

See Also:
AmazonCloudWatch.deleteAlarms(DeleteAlarmsRequest)

Constructor Summary
DeleteAlarmsRequest()
           
 
Method Summary
 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.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeleteAlarmsRequest

public DeleteAlarmsRequest()
Method Detail

getAlarmNames

public List<String> getAlarmNames()
A list of alarms to be deleted.

Constraints:
Length: 0 - 100

Returns:
A list of alarms to be deleted.

setAlarmNames

public void setAlarmNames(Collection<String> alarmNames)
A list of alarms to be deleted.

Constraints:
Length: 0 - 100

Parameters:
alarmNames - A list of alarms to be deleted.

withAlarmNames

public DeleteAlarmsRequest withAlarmNames(String... alarmNames)
A list of alarms to be deleted.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 100

Parameters:
alarmNames - A list of alarms to be deleted.
Returns:
A reference to this updated object so that method calls can be chained together.

withAlarmNames

public DeleteAlarmsRequest withAlarmNames(Collection<String> alarmNames)
A list of alarms to be deleted.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 100

Parameters:
alarmNames - A list of alarms to be deleted.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.