@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnableAlarmActionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
EnableAlarmActionsRequest() |
Modifier and Type | Method and Description |
---|---|
EnableAlarmActionsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAlarmNames()
The names of the alarms.
|
int |
hashCode() |
void |
setAlarmNames(Collection<String> alarmNames)
The names of the alarms.
|
String |
toString()
Returns a string representation of this object.
|
EnableAlarmActionsRequest |
withAlarmNames(Collection<String> alarmNames)
The names of the alarms.
|
EnableAlarmActionsRequest |
withAlarmNames(String... alarmNames)
The names of the alarms.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<String> getAlarmNames()
The names of the alarms.
public void setAlarmNames(Collection<String> alarmNames)
The names of the alarms.
alarmNames
- The names of the alarms.public EnableAlarmActionsRequest withAlarmNames(String... alarmNames)
The names of the alarms.
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.
alarmNames
- The names of the alarms.public EnableAlarmActionsRequest withAlarmNames(Collection<String> alarmNames)
The names of the alarms.
alarmNames
- The names of the alarms.public String toString()
toString
in class Object
Object.toString()
public EnableAlarmActionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()