com.amazonaws.services.cloudwatch.model
Class EnableAlarmActionsRequest

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

public class EnableAlarmActionsRequest
extends AmazonWebServiceRequest

Container for the parameters to the EnableAlarmActions operation.

Enables actions for the specified alarms.

See Also:
AmazonCloudWatch.enableAlarmActions(EnableAlarmActionsRequest)

Constructor Summary
EnableAlarmActionsRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<String> getAlarmNames()
          The names of the alarms to enable actions for.
 int hashCode()
           
 void setAlarmNames(Collection<String> alarmNames)
          The names of the alarms to enable actions for.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 EnableAlarmActionsRequest withAlarmNames(Collection<String> alarmNames)
          The names of the alarms to enable actions for.
 EnableAlarmActionsRequest withAlarmNames(String... alarmNames)
          The names of the alarms to enable 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

EnableAlarmActionsRequest

public EnableAlarmActionsRequest()
Method Detail

getAlarmNames

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

Constraints:
Length: 0 - 100

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

setAlarmNames

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

Constraints:
Length: 0 - 100

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

withAlarmNames

public EnableAlarmActionsRequest withAlarmNames(String... alarmNames)
The names of the alarms to enable 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 enable actions for.
Returns:
A reference to this updated object so that method calls can be chained together.

withAlarmNames

public EnableAlarmActionsRequest withAlarmNames(Collection<String> alarmNames)
The names of the alarms to enable 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 enable 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.