com.amazonaws.services.cloudwatch.model
Class DescribeAlarmHistoryResult

java.lang.Object
  extended by com.amazonaws.services.cloudwatch.model.DescribeAlarmHistoryResult

public class DescribeAlarmHistoryResult
extends Object

The output for the DescribeAlarmHistory action.


Constructor Summary
DescribeAlarmHistoryResult()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeAlarmHistoryResult

public DescribeAlarmHistoryResult()
Method Detail

getAlarmHistoryItems

public List<AlarmHistoryItem> getAlarmHistoryItems()
A list of alarm histories in JSON format.

Returns:
A list of alarm histories in JSON format.

setAlarmHistoryItems

public void setAlarmHistoryItems(Collection<AlarmHistoryItem> alarmHistoryItems)
A list of alarm histories in JSON format.

Parameters:
alarmHistoryItems - A list of alarm histories in JSON format.

withAlarmHistoryItems

public DescribeAlarmHistoryResult withAlarmHistoryItems(AlarmHistoryItem... alarmHistoryItems)
A list of alarm histories in JSON format.

Returns a reference to this object so that method calls can be chained together.

Parameters:
alarmHistoryItems - A list of alarm histories in JSON format.
Returns:
A reference to this updated object so that method calls can be chained together.

withAlarmHistoryItems

public DescribeAlarmHistoryResult withAlarmHistoryItems(Collection<AlarmHistoryItem> alarmHistoryItems)
A list of alarm histories in JSON format.

Returns a reference to this object so that method calls can be chained together.

Parameters:
alarmHistoryItems - A list of alarm histories in JSON format.
Returns:
A reference to this updated object so that method calls can be chained together.

getNextToken

public String getNextToken()
A string that marks the start of the next batch of returned results.

Returns:
A string that marks the start of the next batch of returned results.

setNextToken

public void setNextToken(String nextToken)
A string that marks the start of the next batch of returned results.

Parameters:
nextToken - A string that marks the start of the next batch of returned results.

withNextToken

public DescribeAlarmHistoryResult withNextToken(String nextToken)
A string that marks the start of the next batch of returned results.

Returns a reference to this object so that method calls can be chained together.

Parameters:
nextToken - A string that marks the start of the next batch of returned results.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.