public class EnableAlarmActionsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
alarmNames
The names of the alarms to enable actions for.
|
NOOP
Constructor and Description |
---|
EnableAlarmActionsRequest() |
Modifier and Type | Method and Description |
---|---|
EnableAlarmActionsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getAlarmNames()
The names of the alarms to enable actions for.
|
int |
hashCode() |
void |
setAlarmNames(java.util.Collection<java.lang.String> alarmNames)
The names of the alarms to enable actions for.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EnableAlarmActionsRequest |
withAlarmNames(java.util.Collection<java.lang.String> alarmNames)
The names of the alarms to enable actions for.
|
EnableAlarmActionsRequest |
withAlarmNames(java.lang.String... alarmNames)
The names of the alarms to enable actions for.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private SdkInternalList<java.lang.String> alarmNames
The names of the alarms to enable actions for.
public java.util.List<java.lang.String> getAlarmNames()
The names of the alarms to enable actions for.
public void setAlarmNames(java.util.Collection<java.lang.String> alarmNames)
The names of the alarms to enable actions for.
alarmNames
- The names of the alarms to enable actions for.public EnableAlarmActionsRequest withAlarmNames(java.lang.String... alarmNames)
The names of the alarms to enable actions for.
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 to enable actions for.public EnableAlarmActionsRequest withAlarmNames(java.util.Collection<java.lang.String> alarmNames)
The names of the alarms to enable actions for.
alarmNames
- The names of the alarms to enable actions for.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public EnableAlarmActionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()