public class DescribeAlarmHistoryResult extends Object implements Serializable
The output for the DescribeAlarmHistory action.
Constructor and Description |
---|
DescribeAlarmHistoryResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<AlarmHistoryItem> |
getAlarmHistoryItems()
A list of alarm histories in JSON format.
|
String |
getNextToken()
A string that marks the start of the next batch of returned results.
|
int |
hashCode() |
void |
setAlarmHistoryItems(Collection<AlarmHistoryItem> alarmHistoryItems)
A list of alarm histories in JSON format.
|
void |
setNextToken(String nextToken)
A string that marks the start of the next batch of returned results.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeAlarmHistoryResult |
withAlarmHistoryItems(AlarmHistoryItem... alarmHistoryItems)
A list of alarm histories in JSON format.
|
DescribeAlarmHistoryResult |
withAlarmHistoryItems(Collection<AlarmHistoryItem> alarmHistoryItems)
A list of alarm histories in JSON format.
|
DescribeAlarmHistoryResult |
withNextToken(String nextToken)
A string that marks the start of the next batch of returned results.
|
public List<AlarmHistoryItem> getAlarmHistoryItems()
public void setAlarmHistoryItems(Collection<AlarmHistoryItem> alarmHistoryItems)
alarmHistoryItems
- A list of alarm histories in JSON format.public DescribeAlarmHistoryResult withAlarmHistoryItems(AlarmHistoryItem... alarmHistoryItems)
Returns a reference to this object so that method calls can be chained together.
alarmHistoryItems
- A list of alarm histories in JSON format.public DescribeAlarmHistoryResult withAlarmHistoryItems(Collection<AlarmHistoryItem> alarmHistoryItems)
Returns a reference to this object so that method calls can be chained together.
alarmHistoryItems
- A list of alarm histories in JSON format.public String getNextToken()
public void setNextToken(String nextToken)
nextToken
- A string that marks the start of the next batch of returned results.public DescribeAlarmHistoryResult withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
nextToken
- A string that marks the start of the next batch of returned results.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.