@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getActionPrefix()
The action name prefix.
|
String |
getAlarmNamePrefix()
The alarm name prefix.
|
List<String> |
getAlarmNames()
The names of the alarms.
|
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)
The names of the alarms.
|
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)
The names of the alarms.
|
DescribeAlarmsRequest |
withAlarmNames(String... alarmNames)
The names of the alarms.
|
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.
|
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 DescribeAlarmsRequest 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 DescribeAlarmsRequest withAlarmNames(Collection<String> alarmNames)
The names of the alarms.
alarmNames
- The names of the alarms.public void setAlarmNamePrefix(String alarmNamePrefix)
The alarm name prefix. If this parameter is specified, you cannot specify AlarmNames
.
alarmNamePrefix
- The alarm name prefix. If this parameter is specified, you cannot specify AlarmNames
.public String getAlarmNamePrefix()
The alarm name prefix. If this parameter is specified, you cannot specify AlarmNames
.
AlarmNames
.public DescribeAlarmsRequest withAlarmNamePrefix(String alarmNamePrefix)
The alarm name prefix. If this parameter is specified, you cannot specify AlarmNames
.
alarmNamePrefix
- The alarm name prefix. If this parameter is specified, you cannot specify AlarmNames
.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()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.