@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeAlarmHistoryResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeAlarmHistoryResult() |
Modifier and Type | Method and Description |
---|---|
DescribeAlarmHistoryResult |
clone() |
boolean |
equals(Object obj) |
List<AlarmHistoryItem> |
getAlarmHistoryItems()
The alarm histories, in JSON format.
|
String |
getNextToken()
The token that marks the start of the next batch of returned results.
|
int |
hashCode() |
void |
setAlarmHistoryItems(Collection<AlarmHistoryItem> alarmHistoryItems)
The alarm histories, in JSON format.
|
void |
setNextToken(String nextToken)
The token that marks the start of the next batch of returned results.
|
String |
toString()
Returns a string representation of this object.
|
DescribeAlarmHistoryResult |
withAlarmHistoryItems(AlarmHistoryItem... alarmHistoryItems)
The alarm histories, in JSON format.
|
DescribeAlarmHistoryResult |
withAlarmHistoryItems(Collection<AlarmHistoryItem> alarmHistoryItems)
The alarm histories, in JSON format.
|
DescribeAlarmHistoryResult |
withNextToken(String nextToken)
The token that marks the start of the next batch of returned results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AlarmHistoryItem> getAlarmHistoryItems()
The alarm histories, in JSON format.
public void setAlarmHistoryItems(Collection<AlarmHistoryItem> alarmHistoryItems)
The alarm histories, in JSON format.
alarmHistoryItems
- The alarm histories, in JSON format.public DescribeAlarmHistoryResult withAlarmHistoryItems(AlarmHistoryItem... alarmHistoryItems)
The alarm histories, in JSON format.
NOTE: This method appends the values to the existing list (if any). Use
setAlarmHistoryItems(java.util.Collection)
or withAlarmHistoryItems(java.util.Collection)
if
you want to override the existing values.
alarmHistoryItems
- The alarm histories, in JSON format.public DescribeAlarmHistoryResult withAlarmHistoryItems(Collection<AlarmHistoryItem> alarmHistoryItems)
The alarm histories, in JSON format.
alarmHistoryItems
- The alarm histories, in JSON format.public void setNextToken(String nextToken)
The token that marks the start of the next batch of returned results.
nextToken
- The token that marks the start of the next batch of returned results.public String getNextToken()
The token that marks the start of the next batch of returned results.
public DescribeAlarmHistoryResult withNextToken(String nextToken)
The token that marks the start of the next batch of returned results.
nextToken
- The token that marks the start of the next batch of returned results.public String toString()
toString
in class Object
Object.toString()
public DescribeAlarmHistoryResult clone()
Copyright © 2023. All rights reserved.