Class DescribeAlarmHistoryRequest

    • Constructor Detail

      • DescribeAlarmHistoryRequest

        public DescribeAlarmHistoryRequest()
    • Method Detail

      • 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:
        HistoryItemType
      • getHistoryItemType

        public String getHistoryItemType()

        The type of alarm histories to retrieve.

        Returns:
        The type of alarm histories to retrieve.
        See Also:
        HistoryItemType
      • 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:
        HistoryItemType
      • setHistoryItemType

        public void setHistoryItemType​(HistoryItemType historyItemType)

        The type of alarm histories to retrieve.

        Parameters:
        historyItemType - The type of alarm histories to retrieve.
        See Also:
        HistoryItemType
      • 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:
        HistoryItemType
      • 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object