CreateAlertRequest

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Idempotency token for safe retries. Retrying with the same token within the idempotency window returns the original alert instead of creating a duplicate.

Link copied to clipboard

An optional description of the alert.

Link copied to clipboard
val name: String?

Alert name, for display. Max 256 (the AlarmName budget). Not the alert's identity: the backend mints a separate uuid as the {@link AlertId}, so the name need not be unique within a space and addressing an alert never depends on it. UpdateAlert accepts a new name to rename the alert.

Link copied to clipboard

The notification rules that determine when and where notifications are sent.

Link copied to clipboard

Whether actions (notifications) are enabled for this alert. Defaults to true when omitted.

Link copied to clipboard

The ID of the access profile the alert uses to evaluate its query and execute notifications. The caller supplies it: there is no managed alert profile, and the service does not pick one on the caller's behalf.

Link copied to clipboard
val rule: Rule?

The rule that defines how the alert is evaluated.

Link copied to clipboard

The unique ID of the space to create the alert in.

Link copied to clipboard

The tags to associate with the alert.

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String