Interface MonitoringAlertSummary.Builder

  • Method Details

    • 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.
    • alertStatus

      MonitoringAlertSummary.Builder alertStatus(String alertStatus)

      The current status of an alert.

      Parameters:
      alertStatus - The current status of an alert.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • alertStatus

      The current status of an alert.

      Parameters:
      alertStatus - The current status of an alert.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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.
    • actions

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

      This is a convenience method that creates an instance of the MonitoringAlertActions.Builder avoiding the need to create one manually via MonitoringAlertActions.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to actions(MonitoringAlertActions).

      Parameters:
      actions - a consumer that will call methods on MonitoringAlertActions.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: