public class DescribeAlarmsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DescribeAlarmsRequest() |
| Modifier and Type | Method and Description |
|---|---|
DescribeAlarmsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getActionPrefix()
The action name prefix.
|
String |
getAlarmNamePrefix()
The alarm name prefix.
|
List<String> |
getAlarmNames()
A list of alarm names to retrieve information for.
|
Integer |
getMaxRecords()
The maximum number of alarm descriptions to retrieve.
|
String |
getNextToken()
The token returned by a previous call to indicate that there is more data
available.
|
String |
getStateValue()
The state value to be used in matching alarms.
|
int |
hashCode() |
void |
setActionPrefix(String actionPrefix)
The action name prefix.
|
void |
setAlarmNamePrefix(String alarmNamePrefix)
The alarm name prefix.
|
void |
setAlarmNames(Collection<String> alarmNames)
A list of alarm names to retrieve information for.
|
void |
setMaxRecords(Integer maxRecords)
The maximum number of alarm descriptions to retrieve.
|
void |
setNextToken(String nextToken)
The token returned by a previous call to indicate that there is more data
available.
|
void |
setStateValue(StateValue stateValue)
The state value to be used in matching alarms.
|
void |
setStateValue(String stateValue)
The state value to be used in matching alarms.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeAlarmsRequest |
withActionPrefix(String actionPrefix)
The action name prefix.
|
DescribeAlarmsRequest |
withAlarmNamePrefix(String alarmNamePrefix)
The alarm name prefix.
|
DescribeAlarmsRequest |
withAlarmNames(Collection<String> alarmNames)
A list of alarm names to retrieve information for.
|
DescribeAlarmsRequest |
withAlarmNames(String... alarmNames)
A list of alarm names to retrieve information for.
|
DescribeAlarmsRequest |
withMaxRecords(Integer maxRecords)
The maximum number of alarm descriptions to retrieve.
|
DescribeAlarmsRequest |
withNextToken(String nextToken)
The token returned by a previous call to indicate that there is more data
available.
|
DescribeAlarmsRequest |
withStateValue(StateValue stateValue)
The state value to be used in matching alarms.
|
DescribeAlarmsRequest |
withStateValue(String stateValue)
The state value to be used in matching alarms.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic List<String> getAlarmNames()
A list of alarm names to retrieve information for.
public void setAlarmNames(Collection<String> alarmNames)
A list of alarm names to retrieve information for.
alarmNames - A list of alarm names to retrieve information for.public DescribeAlarmsRequest withAlarmNames(String... alarmNames)
A list of alarm names to retrieve information 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 - A list of alarm names to retrieve information for.public DescribeAlarmsRequest withAlarmNames(Collection<String> alarmNames)
A list of alarm names to retrieve information for.
alarmNames - A list of alarm names to retrieve information for.public void setAlarmNamePrefix(String alarmNamePrefix)
The alarm name prefix. AlarmNames cannot be specified if
this parameter is specified.
alarmNamePrefix - The alarm name prefix. AlarmNames cannot be specified
if this parameter is specified.public String getAlarmNamePrefix()
The alarm name prefix. AlarmNames cannot be specified if
this parameter is specified.
AlarmNames cannot be
specified if this parameter is specified.public DescribeAlarmsRequest withAlarmNamePrefix(String alarmNamePrefix)
The alarm name prefix. AlarmNames cannot be specified if
this parameter is specified.
alarmNamePrefix - The alarm name prefix. AlarmNames cannot be specified
if this parameter is specified.public void setStateValue(String stateValue)
The state value to be used in matching alarms.
stateValue - The state value to be used in matching alarms.StateValuepublic String getStateValue()
The state value to be used in matching alarms.
StateValuepublic DescribeAlarmsRequest withStateValue(String stateValue)
The state value to be used in matching alarms.
stateValue - The state value to be used in matching alarms.StateValuepublic void setStateValue(StateValue stateValue)
The state value to be used in matching alarms.
stateValue - The state value to be used in matching alarms.StateValuepublic DescribeAlarmsRequest withStateValue(StateValue stateValue)
The state value to be used in matching alarms.
stateValue - The state value to be used in matching alarms.StateValuepublic void setActionPrefix(String actionPrefix)
The action name prefix.
actionPrefix - The action name prefix.public String getActionPrefix()
The action name prefix.
public DescribeAlarmsRequest withActionPrefix(String actionPrefix)
The action name prefix.
actionPrefix - The action name prefix.public void setMaxRecords(Integer maxRecords)
The maximum number of alarm descriptions to retrieve.
maxRecords - The maximum number of alarm descriptions to retrieve.public Integer getMaxRecords()
The maximum number of alarm descriptions to retrieve.
public DescribeAlarmsRequest withMaxRecords(Integer maxRecords)
The maximum number of alarm descriptions to retrieve.
maxRecords - The maximum number of alarm descriptions to retrieve.public void setNextToken(String nextToken)
The token returned by a previous call to indicate that there is more data available.
nextToken - The token returned by a previous call to indicate that there is
more data available.public String getNextToken()
The token returned by a previous call to indicate that there is more data available.
public DescribeAlarmsRequest withNextToken(String nextToken)
The token returned by a previous call to indicate that there is more data available.
nextToken - The token returned by a previous call to indicate that there is
more data available.public String toString()
toString in class ObjectObject.toString()public DescribeAlarmsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.