com.amazonaws.services.cloudwatch.model
Class DisableAlarmActionsRequest

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

public class DisableAlarmActionsRequest
extends AmazonWebServiceRequest

Container for the parameters to the 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.

See Also:
AmazonCloudWatch.disableAlarmActions(DisableAlarmActionsRequest)

Constructor Summary
DisableAlarmActionsRequest()
           
 
Method Summary
 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.
 
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

DisableAlarmActionsRequest

public DisableAlarmActionsRequest()
Method Detail

getAlarmNames

public List<String> getAlarmNames()
The names of the alarms to disable actions for.

Constraints:
Length: 0 - 100

Returns:
The names of the alarms to disable actions for.

setAlarmNames

public void setAlarmNames(Collection<String> alarmNames)
The names of the alarms to disable actions for.

Constraints:
Length: 0 - 100

Parameters:
alarmNames - The names of the alarms to disable actions for.

withAlarmNames

public DisableAlarmActionsRequest withAlarmNames(String... alarmNames)
The names of the alarms to disable actions for.

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

Constraints:
Length: 0 - 100

Parameters:
alarmNames - The names of the alarms to disable actions for.
Returns:
A reference to this updated object so that method calls can be chained together.

withAlarmNames

public DisableAlarmActionsRequest withAlarmNames(Collection<String> alarmNames)
The names of the alarms to disable actions for.

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

Constraints:
Length: 0 - 100

Parameters:
alarmNames - The names of the alarms to disable actions for.
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.