public class DescribeAlarmsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
actionPrefix
The action name prefix.
|
private java.lang.String |
alarmNamePrefix
The alarm name prefix.
|
private SdkInternalList<java.lang.String> |
alarmNames
A list of alarm names to retrieve information for.
|
private java.lang.Integer |
maxRecords
The maximum number of alarm descriptions to retrieve.
|
private java.lang.String |
nextToken
The token returned by a previous call to indicate that there is more data
available.
|
private java.lang.String |
stateValue
The state value to be used in matching alarms.
|
NOOP
Constructor and Description |
---|
DescribeAlarmsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeAlarmsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getActionPrefix()
The action name prefix.
|
java.lang.String |
getAlarmNamePrefix()
The alarm name prefix.
|
java.util.List<java.lang.String> |
getAlarmNames()
A list of alarm names to retrieve information for.
|
java.lang.Integer |
getMaxRecords()
The maximum number of alarm descriptions to retrieve.
|
java.lang.String |
getNextToken()
The token returned by a previous call to indicate that there is more data
available.
|
java.lang.String |
getStateValue()
The state value to be used in matching alarms.
|
int |
hashCode() |
void |
setActionPrefix(java.lang.String actionPrefix)
The action name prefix.
|
void |
setAlarmNamePrefix(java.lang.String alarmNamePrefix)
The alarm name prefix.
|
void |
setAlarmNames(java.util.Collection<java.lang.String> alarmNames)
A list of alarm names to retrieve information for.
|
void |
setMaxRecords(java.lang.Integer maxRecords)
The maximum number of alarm descriptions to retrieve.
|
void |
setNextToken(java.lang.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(java.lang.String stateValue)
The state value to be used in matching alarms.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeAlarmsRequest |
withActionPrefix(java.lang.String actionPrefix)
The action name prefix.
|
DescribeAlarmsRequest |
withAlarmNamePrefix(java.lang.String alarmNamePrefix)
The alarm name prefix.
|
DescribeAlarmsRequest |
withAlarmNames(java.util.Collection<java.lang.String> alarmNames)
A list of alarm names to retrieve information for.
|
DescribeAlarmsRequest |
withAlarmNames(java.lang.String... alarmNames)
A list of alarm names to retrieve information for.
|
DescribeAlarmsRequest |
withMaxRecords(java.lang.Integer maxRecords)
The maximum number of alarm descriptions to retrieve.
|
DescribeAlarmsRequest |
withNextToken(java.lang.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(java.lang.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
private SdkInternalList<java.lang.String> alarmNames
A list of alarm names to retrieve information for.
private java.lang.String alarmNamePrefix
The alarm name prefix. AlarmNames
cannot be specified if
this parameter is specified.
private java.lang.String stateValue
The state value to be used in matching alarms.
private java.lang.String actionPrefix
The action name prefix.
private java.lang.Integer maxRecords
The maximum number of alarm descriptions to retrieve.
private java.lang.String nextToken
The token returned by a previous call to indicate that there is more data available.
public java.util.List<java.lang.String> getAlarmNames()
A list of alarm names to retrieve information for.
public void setAlarmNames(java.util.Collection<java.lang.String> alarmNames)
A list of alarm names to retrieve information for.
alarmNames
- A list of alarm names to retrieve information for.public DescribeAlarmsRequest withAlarmNames(java.lang.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(java.util.Collection<java.lang.String> alarmNames)
A list of alarm names to retrieve information for.
alarmNames
- A list of alarm names to retrieve information for.public void setAlarmNamePrefix(java.lang.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 java.lang.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(java.lang.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(java.lang.String stateValue)
The state value to be used in matching alarms.
stateValue
- The state value to be used in matching alarms.StateValue
public java.lang.String getStateValue()
The state value to be used in matching alarms.
StateValue
public DescribeAlarmsRequest withStateValue(java.lang.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(java.lang.String actionPrefix)
The action name prefix.
actionPrefix
- The action name prefix.public java.lang.String getActionPrefix()
The action name prefix.
public DescribeAlarmsRequest withActionPrefix(java.lang.String actionPrefix)
The action name prefix.
actionPrefix
- The action name prefix.public void setMaxRecords(java.lang.Integer maxRecords)
The maximum number of alarm descriptions to retrieve.
maxRecords
- The maximum number of alarm descriptions to retrieve.public java.lang.Integer getMaxRecords()
The maximum number of alarm descriptions to retrieve.
public DescribeAlarmsRequest withMaxRecords(java.lang.Integer maxRecords)
The maximum number of alarm descriptions to retrieve.
maxRecords
- The maximum number of alarm descriptions to retrieve.public void setNextToken(java.lang.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 java.lang.String getNextToken()
The token returned by a previous call to indicate that there is more data available.
public DescribeAlarmsRequest withNextToken(java.lang.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 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 DescribeAlarmsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()