public class DescribeAlarmsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Describes the inputs for DescribeAlarms.
NOOP
Constructor and Description |
---|
DescribeAlarmsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeAlarmsRequest |
clone() |
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.
|
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
public 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.StateValue
public String getStateValue()
The state value to be used in matching alarms.
StateValue
public DescribeAlarmsRequest withStateValue(String stateValue)
The state value to be used in matching alarms.
stateValue
- The state value to be used in matching alarms.StateValue
public void setStateValue(StateValue stateValue)
The state value to be used in matching alarms.
stateValue
- The state value to be used in matching alarms.StateValue
public DescribeAlarmsRequest withStateValue(StateValue stateValue)
The state value to be used in matching alarms.
stateValue
- The state value to be used in matching alarms.StateValue
public 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 Object
Object.toString()
public DescribeAlarmsRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2016. All rights reserved.