Interface MonitoringAlertSummary.Builder

    • Method Detail

      • monitoringAlertName

        MonitoringAlertSummary.Builder monitoringAlertName​(String monitoringAlertName)

        The name of a monitoring alert.

        Parameters:
        monitoringAlertName - The name of a monitoring alert.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationTime

        MonitoringAlertSummary.Builder creationTime​(Instant creationTime)

        A timestamp that indicates when a monitor alert was created.

        Parameters:
        creationTime - A timestamp that indicates when a monitor alert was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastModifiedTime

        MonitoringAlertSummary.Builder lastModifiedTime​(Instant lastModifiedTime)

        A timestamp that indicates when a monitor alert was last updated.

        Parameters:
        lastModifiedTime - A timestamp that indicates when a monitor alert was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • datapointsToAlert

        MonitoringAlertSummary.Builder datapointsToAlert​(Integer datapointsToAlert)

        Within EvaluationPeriod, how many execution failures will raise an alert.

        Parameters:
        datapointsToAlert - Within EvaluationPeriod, how many execution failures will raise an alert.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • evaluationPeriod

        MonitoringAlertSummary.Builder evaluationPeriod​(Integer evaluationPeriod)

        The number of most recent monitoring executions to consider when evaluating alert status.

        Parameters:
        evaluationPeriod - The number of most recent monitoring executions to consider when evaluating alert status.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • actions

        MonitoringAlertSummary.Builder actions​(MonitoringAlertActions actions)

        A list of alert actions taken in response to an alert going into InAlert status.

        Parameters:
        actions - A list of alert actions taken in response to an alert going into InAlert status.
        Returns:
        Returns a reference to this object so that method calls can be chained together.