Interface ManagedNotificationEventSummary.Builder

  • Method Details

    • schemaVersion

      ManagedNotificationEventSummary.Builder schemaVersion(String schemaVersion)

      The schema version of the ManagedNotificationEvent.

      Parameters:
      schemaVersion - The schema version of the ManagedNotificationEvent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • schemaVersion

      The schema version of the ManagedNotificationEvent.

      Parameters:
      schemaVersion - The schema version of the ManagedNotificationEvent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sourceEventMetadata

      Contains metadata about the event that caused the ManagedNotificationEvent.

      Parameters:
      sourceEventMetadata - Contains metadata about the event that caused the ManagedNotificationEvent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceEventMetadata

      Contains metadata about the event that caused the ManagedNotificationEvent.

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

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

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

      Sets the value of the MessageComponents property for this object.
      Parameters:
      messageComponents - The new value for the MessageComponents property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • messageComponents

      Sets the value of the MessageComponents property for this object. This is a convenience method that creates an instance of the MessageComponentsSummary.Builder avoiding the need to create one manually via MessageComponentsSummary.builder().

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

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

      The managed notification event status.

      • Values:

        • HEALTHY

          • All EventRules are ACTIVE.

        • UNHEALTHY

          • Some EventRules are ACTIVE and some are INACTIVE.

      Parameters:
      eventStatus - The managed notification event status.

      • Values:

        • HEALTHY

          • All EventRules are ACTIVE.

        • UNHEALTHY

          • Some EventRules are ACTIVE and some are INACTIVE.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • eventStatus

      The managed notification event status.

      • Values:

        • HEALTHY

          • All EventRules are ACTIVE.

        • UNHEALTHY

          • Some EventRules are ACTIVE and some are INACTIVE.

      Parameters:
      eventStatus - The managed notification event status.

      • Values:

        • HEALTHY

          • All EventRules are ACTIVE.

        • UNHEALTHY

          • Some EventRules are ACTIVE and some are INACTIVE.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • notificationType

      ManagedNotificationEventSummary.Builder notificationType(String notificationType)

      The Type of event causing the notification.

      • Values:

        • ALERT

          • A notification about an event where something was triggered, initiated, reopened, deployed, or a threshold was breached.

        • WARNING

          • A notification about an event where an issue is about to arise. For example, something is approaching a threshold.

        • ANNOUNCEMENT

          • A notification about an important event. For example, a step in a workflow or escalation path or that a workflow was updated.

        • INFORMATIONAL

          • A notification about informational messages. For example, recommendations, service announcements, or reminders.

      Parameters:
      notificationType - The Type of event causing the notification.

      • Values:

        • ALERT

          • A notification about an event where something was triggered, initiated, reopened, deployed, or a threshold was breached.

        • WARNING

          • A notification about an event where an issue is about to arise. For example, something is approaching a threshold.

        • ANNOUNCEMENT

          • A notification about an important event. For example, a step in a workflow or escalation path or that a workflow was updated.

        • INFORMATIONAL

          • A notification about informational messages. For example, recommendations, service announcements, or reminders.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • notificationType

      ManagedNotificationEventSummary.Builder notificationType(NotificationType notificationType)

      The Type of event causing the notification.

      • Values:

        • ALERT

          • A notification about an event where something was triggered, initiated, reopened, deployed, or a threshold was breached.

        • WARNING

          • A notification about an event where an issue is about to arise. For example, something is approaching a threshold.

        • ANNOUNCEMENT

          • A notification about an important event. For example, a step in a workflow or escalation path or that a workflow was updated.

        • INFORMATIONAL

          • A notification about informational messages. For example, recommendations, service announcements, or reminders.

      Parameters:
      notificationType - The Type of event causing the notification.

      • Values:

        • ALERT

          • A notification about an event where something was triggered, initiated, reopened, deployed, or a threshold was breached.

        • WARNING

          • A notification about an event where an issue is about to arise. For example, something is approaching a threshold.

        • ANNOUNCEMENT

          • A notification about an important event. For example, a step in a workflow or escalation path or that a workflow was updated.

        • INFORMATIONAL

          • A notification about informational messages. For example, recommendations, service announcements, or reminders.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: