Interface AlertSummary.Builder

  • Method Details

    • name

      The name of the alert.

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

      AlertSummary.Builder alertId(String alertId)

      The stable alert identifier (see Alert.alertId). Use it to address the alert; it is also the ARN's resource id.

      Parameters:
      alertId - The stable alert identifier (see Alert.alertId). Use it to address the alert; it is also the ARN's resource id.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • spaceId

      AlertSummary.Builder spaceId(String spaceId)

      The ID of the space the alert belongs to.

      Parameters:
      spaceId - The ID of the space the alert belongs to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • profileId

      AlertSummary.Builder profileId(String profileId)

      The ID of the access profile associated with the alert.

      Parameters:
      profileId - The ID of the access profile associated with the alert.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • notificationStatus

      AlertSummary.Builder notificationStatus(String notificationStatus)

      Whether notifications are enabled.

      Parameters:
      notificationStatus - Whether notifications are enabled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • notificationStatus

      AlertSummary.Builder notificationStatus(NotificationStatus notificationStatus)

      Whether notifications are enabled.

      Parameters:
      notificationStatus - Whether notifications are enabled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      Live evaluation state (read-only, system-managed).

      Parameters:
      state - Live evaluation state (read-only, system-managed).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      Live evaluation state (read-only, system-managed).

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

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

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

      AlertSummary.Builder createdAt(Instant createdAt)

      The timestamp when the alert was created.

      Parameters:
      createdAt - The timestamp when the alert was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      AlertSummary.Builder updatedAt(Instant updatedAt)

      The timestamp when the alert was last updated.

      Parameters:
      updatedAt - The timestamp when the alert was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • alertArn

      AlertSummary.Builder alertArn(String alertArn)

      The Amazon Resource Name (ARN) of the alert.

      Parameters:
      alertArn - The Amazon Resource Name (ARN) of the alert.
      Returns:
      Returns a reference to this object so that method calls can be chained together.