com.amazonaws.services.cloudwatch.model
Class DescribeAlarmHistoryResult

java.lang.Object
  extended by com.amazonaws.services.cloudwatch.model.DescribeAlarmHistoryResult
All Implemented Interfaces:
java.io.Serializable

public class DescribeAlarmHistoryResult
extends java.lang.Object
implements java.io.Serializable

The output for the DescribeAlarmHistory action.

See Also:
Serialized Form

Constructor Summary
DescribeAlarmHistoryResult()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.List<AlarmHistoryItem> getAlarmHistoryItems()
          A list of alarm histories in JSON format.
 java.lang.String getNextToken()
          A string that marks the start of the next batch of returned results.
 int hashCode()
           
 void setAlarmHistoryItems(java.util.Collection<AlarmHistoryItem> alarmHistoryItems)
          A list of alarm histories in JSON format.
 void setNextToken(java.lang.String nextToken)
          A string that marks the start of the next batch of returned results.
 java.lang.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(java.util.Collection<AlarmHistoryItem> alarmHistoryItems)
          A list of alarm histories in JSON format.
 DescribeAlarmHistoryResult withNextToken(java.lang.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 java.util.List<AlarmHistoryItem> getAlarmHistoryItems()
A list of alarm histories in JSON format.

Returns:
A list of alarm histories in JSON format.

setAlarmHistoryItems

public void setAlarmHistoryItems(java.util.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(java.util.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 java.lang.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(java.lang.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(java.lang.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 java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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