Class DescribeAlarmHistoryRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.cloudwatch.model.DescribeAlarmHistoryRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class DescribeAlarmHistoryRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
See Also:
  • Constructor Details

    • DescribeAlarmHistoryRequest

      public DescribeAlarmHistoryRequest()
  • Method Details

    • setAlarmName

      public void setAlarmName(String alarmName)

      The name of the alarm.

      Parameters:
      alarmName - The name of the alarm.
    • getAlarmName

      public String getAlarmName()

      The name of the alarm.

      Returns:
      The name of the alarm.
    • withAlarmName

      public DescribeAlarmHistoryRequest withAlarmName(String alarmName)

      The name of the alarm.

      Parameters:
      alarmName - The name of the alarm.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setHistoryItemType

      public void setHistoryItemType(String historyItemType)

      The type of alarm histories to retrieve.

      Parameters:
      historyItemType - The type of alarm histories to retrieve.
      See Also:
    • getHistoryItemType

      public String getHistoryItemType()

      The type of alarm histories to retrieve.

      Returns:
      The type of alarm histories to retrieve.
      See Also:
    • withHistoryItemType

      public DescribeAlarmHistoryRequest withHistoryItemType(String historyItemType)

      The type of alarm histories to retrieve.

      Parameters:
      historyItemType - The type of alarm histories to retrieve.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setHistoryItemType

      public void setHistoryItemType(HistoryItemType historyItemType)

      The type of alarm histories to retrieve.

      Parameters:
      historyItemType - The type of alarm histories to retrieve.
      See Also:
    • withHistoryItemType

      public DescribeAlarmHistoryRequest withHistoryItemType(HistoryItemType historyItemType)

      The type of alarm histories to retrieve.

      Parameters:
      historyItemType - The type of alarm histories to retrieve.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setStartDate

      public void setStartDate(Date startDate)

      The starting date to retrieve alarm history.

      Parameters:
      startDate - The starting date to retrieve alarm history.
    • getStartDate

      public Date getStartDate()

      The starting date to retrieve alarm history.

      Returns:
      The starting date to retrieve alarm history.
    • withStartDate

      public DescribeAlarmHistoryRequest withStartDate(Date startDate)

      The starting date to retrieve alarm history.

      Parameters:
      startDate - The starting date to retrieve alarm history.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setEndDate

      public void setEndDate(Date endDate)

      The ending date to retrieve alarm history.

      Parameters:
      endDate - The ending date to retrieve alarm history.
    • getEndDate

      public Date getEndDate()

      The ending date to retrieve alarm history.

      Returns:
      The ending date to retrieve alarm history.
    • withEndDate

      public DescribeAlarmHistoryRequest withEndDate(Date endDate)

      The ending date to retrieve alarm history.

      Parameters:
      endDate - The ending date to retrieve alarm history.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setMaxRecords

      public void setMaxRecords(Integer maxRecords)

      The maximum number of alarm history records to retrieve.

      Parameters:
      maxRecords - The maximum number of alarm history records to retrieve.
    • getMaxRecords

      public Integer getMaxRecords()

      The maximum number of alarm history records to retrieve.

      Returns:
      The maximum number of alarm history records to retrieve.
    • withMaxRecords

      public DescribeAlarmHistoryRequest withMaxRecords(Integer maxRecords)

      The maximum number of alarm history records to retrieve.

      Parameters:
      maxRecords - The maximum number of alarm history records to retrieve.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setNextToken

      public void setNextToken(String nextToken)

      The token returned by a previous call to indicate that there is more data available.

      Parameters:
      nextToken - The token returned by a previous call to indicate that there is more data available.
    • getNextToken

      public String getNextToken()

      The token returned by a previous call to indicate that there is more data available.

      Returns:
      The token returned by a previous call to indicate that there is more data available.
    • withNextToken

      public DescribeAlarmHistoryRequest withNextToken(String nextToken)

      The token returned by a previous call to indicate that there is more data available.

      Parameters:
      nextToken - The token returned by a previous call to indicate that there is more data available.
      Returns:
      Returns a reference to this 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:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: