Class ListMonitoringAlertHistoryRequest

    • Method Detail

      • monitoringScheduleName

        public final String monitoringScheduleName()

        The name of a monitoring schedule.

        Returns:
        The name of a monitoring schedule.
      • monitoringAlertName

        public final String monitoringAlertName()

        The name of a monitoring alert.

        Returns:
        The name of a monitoring alert.
      • sortOrder

        public final SortOrder sortOrder()

        The sort order, whether Ascending or Descending, of the alert history. The default is Descending.

        If the service returns an enum value that is not available in the current SDK version, sortOrder will return SortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from sortOrderAsString().

        Returns:
        The sort order, whether Ascending or Descending, of the alert history. The default is Descending.
        See Also:
        SortOrder
      • sortOrderAsString

        public final String sortOrderAsString()

        The sort order, whether Ascending or Descending, of the alert history. The default is Descending.

        If the service returns an enum value that is not available in the current SDK version, sortOrder will return SortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from sortOrderAsString().

        Returns:
        The sort order, whether Ascending or Descending, of the alert history. The default is Descending.
        See Also:
        SortOrder
      • nextToken

        public final String nextToken()

        If the result of the previous ListMonitoringAlertHistory request was truncated, the response includes a NextToken. To retrieve the next set of alerts in the history, use the token in the next request.

        Returns:
        If the result of the previous ListMonitoringAlertHistory request was truncated, the response includes a NextToken. To retrieve the next set of alerts in the history, use the token in the next request.
      • maxResults

        public final Integer maxResults()

        The maximum number of results to display. The default is 100.

        Returns:
        The maximum number of results to display. The default is 100.
      • creationTimeBefore

        public final Instant creationTimeBefore()

        A filter that returns only alerts created on or before the specified time.

        Returns:
        A filter that returns only alerts created on or before the specified time.
      • creationTimeAfter

        public final Instant creationTimeAfter()

        A filter that returns only alerts created on or after the specified time.

        Returns:
        A filter that returns only alerts created on or after the specified time.
      • statusEqualsAsString

        public final String statusEqualsAsString()

        A filter that retrieves only alerts with a specific status.

        If the service returns an enum value that is not available in the current SDK version, statusEquals will return MonitoringAlertStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusEqualsAsString().

        Returns:
        A filter that retrieves only alerts with a specific status.
        See Also:
        MonitoringAlertStatus
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object