Interface ManagedNotificationEvent.Builder

  • Method Details

    • schemaVersion

      ManagedNotificationEvent.Builder schemaVersion(String schemaVersion)

      Version of the ManagedNotificationEvent schema.

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

      ManagedNotificationEvent.Builder schemaVersion(SchemaVersion schemaVersion)

      Version of the ManagedNotificationEvent schema.

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

      Unique identifier for a ManagedNotificationEvent.

      Parameters:
      id - Unique identifier for a ManagedNotificationEvent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • messageComponents

      ManagedNotificationEvent.Builder messageComponents(MessageComponents 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

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

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

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

      ManagedNotificationEvent.Builder sourceEventDetailUrl(String sourceEventDetailUrl)

      URL defined by Source Service to be used by notification consumers to get additional information about event.

      Parameters:
      sourceEventDetailUrl - URL defined by Source Service to be used by notification consumers to get additional information about event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceEventDetailUrlDisplayText

      ManagedNotificationEvent.Builder sourceEventDetailUrlDisplayText(String sourceEventDetailUrlDisplayText)

      Text that needs to be hyperlinked with the sourceEventDetailUrl. For example, the description of the sourceEventDetailUrl.

      Parameters:
      sourceEventDetailUrlDisplayText - Text that needs to be hyperlinked with the sourceEventDetailUrl. For example, the description of the sourceEventDetailUrl.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • notificationType

      ManagedNotificationEvent.Builder notificationType(String notificationType)

      The nature of the event causing this 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 nature of the event causing this 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

      ManagedNotificationEvent.Builder notificationType(NotificationType notificationType)

      The nature of the event causing this 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 nature of the event causing this 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:
    • eventStatus

      ManagedNotificationEvent.Builder eventStatus(String eventStatus)

      The status of an event.

      • Values:

        • HEALTHY

          • All EventRules are ACTIVE and any call can be run.

        • UNHEALTHY

          • Some EventRules are ACTIVE and some are INACTIVE. Any call can be run.

      Parameters:
      eventStatus - The status of an event.

      • Values:

        • HEALTHY

          • All EventRules are ACTIVE and any call can be run.

        • UNHEALTHY

          • Some EventRules are ACTIVE and some are INACTIVE. Any call can be run.

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

      The status of an event.

      • Values:

        • HEALTHY

          • All EventRules are ACTIVE and any call can be run.

        • UNHEALTHY

          • Some EventRules are ACTIVE and some are INACTIVE. Any call can be run.

      Parameters:
      eventStatus - The status of an event.

      • Values:

        • HEALTHY

          • All EventRules are ACTIVE and any call can be run.

        • UNHEALTHY

          • Some EventRules are ACTIVE and some are INACTIVE. Any call can be run.

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

      ManagedNotificationEvent.Builder aggregationEventType(String aggregationEventType)

      The notifications aggregation type.

      Parameters:
      aggregationEventType - The notifications aggregation type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • aggregationEventType

      ManagedNotificationEvent.Builder aggregationEventType(AggregationEventType aggregationEventType)

      The notifications aggregation type.

      Parameters:
      aggregationEventType - The notifications aggregation type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • aggregationSummary

      ManagedNotificationEvent.Builder aggregationSummary(AggregationSummary aggregationSummary)
      Sets the value of the AggregationSummary property for this object.
      Parameters:
      aggregationSummary - The new value for the AggregationSummary property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • aggregationSummary

      default ManagedNotificationEvent.Builder aggregationSummary(Consumer<AggregationSummary.Builder> aggregationSummary)
      Sets the value of the AggregationSummary property for this object. This is a convenience method that creates an instance of the AggregationSummary.Builder avoiding the need to create one manually via AggregationSummary.builder().

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

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

      The earliest time of events to return from this call.

      Parameters:
      startTime - The earliest time of events to return from this call.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endTime

      The end time of the notification event.

      Parameters:
      endTime - The end time of the notification event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • textParts

      A list of text values.

      Parameters:
      textParts - A list of text values.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • organizationalUnitId

      ManagedNotificationEvent.Builder organizationalUnitId(String organizationalUnitId)

      The Organizational Unit Id that an Amazon Web Services account belongs to.

      Parameters:
      organizationalUnitId - The Organizational Unit Id that an Amazon Web Services account belongs to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.