Interface NotificationEventSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NotificationEventSummary.Builder,
,NotificationEventSummary> SdkBuilder<NotificationEventSummary.Builder,
,NotificationEventSummary> SdkPojo
- Enclosing class:
NotificationEventSummary
-
Method Summary
Modifier and TypeMethodDescriptioneventStatus
(String eventStatus) Provides additional information about the current status of theNotificationEvent
.eventStatus
(EventStatus eventStatus) Provides additional information about the current status of theNotificationEvent
.default NotificationEventSummary.Builder
messageComponents
(Consumer<MessageComponentsSummary.Builder> messageComponents) The message components of a notification event.messageComponents
(MessageComponentsSummary messageComponents) The message components of a notification event.notificationType
(String notificationType) The type of event causing the notification.notificationType
(NotificationType notificationType) The type of event causing the notification.schemaVersion
(String schemaVersion) The schema version of the Notification Event.schemaVersion
(SchemaVersion schemaVersion) The schema version of the Notification Event.default NotificationEventSummary.Builder
sourceEventMetadata
(Consumer<SourceEventMetadataSummary.Builder> sourceEventMetadata) The source event metadata.sourceEventMetadata
(SourceEventMetadataSummary sourceEventMetadata) The source event metadata.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
schemaVersion
The schema version of the Notification Event.
- Parameters:
schemaVersion
- The schema version of the Notification Event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
schemaVersion
The schema version of the Notification Event.
- Parameters:
schemaVersion
- The schema version of the Notification Event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceEventMetadata
NotificationEventSummary.Builder sourceEventMetadata(SourceEventMetadataSummary sourceEventMetadata) The source event metadata.
- Parameters:
sourceEventMetadata
- The source event metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceEventMetadata
default NotificationEventSummary.Builder sourceEventMetadata(Consumer<SourceEventMetadataSummary.Builder> sourceEventMetadata) The source event metadata.
This is a convenience method that creates an instance of theSourceEventMetadataSummary.Builder
avoiding the need to create one manually viaSourceEventMetadataSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosourceEventMetadata(SourceEventMetadataSummary)
.- Parameters:
sourceEventMetadata
- a consumer that will call methods onSourceEventMetadataSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
messageComponents
The message components of a notification event.
- Parameters:
messageComponents
- The message components of a notification event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
messageComponents
default NotificationEventSummary.Builder messageComponents(Consumer<MessageComponentsSummary.Builder> messageComponents) The message components of a notification event.
This is a convenience method that creates an instance of theMessageComponentsSummary.Builder
avoiding the need to create one manually viaMessageComponentsSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomessageComponents(MessageComponentsSummary)
.- Parameters:
messageComponents
- a consumer that will call methods onMessageComponentsSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eventStatus
Provides additional information about the current status of the
NotificationEvent
.-
Values:
-
HEALTHY
-
All
EventRules
areACTIVE
.
-
-
UNHEALTHY
-
Some
EventRules
areACTIVE
and some areINACTIVE
.
-
-
- Parameters:
eventStatus
- Provides additional information about the current status of theNotificationEvent
.-
Values:
-
HEALTHY
-
All
EventRules
areACTIVE
.
-
-
UNHEALTHY
-
Some
EventRules
areACTIVE
and some areINACTIVE
.
-
-
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
eventStatus
Provides additional information about the current status of the
NotificationEvent
.-
Values:
-
HEALTHY
-
All
EventRules
areACTIVE
.
-
-
UNHEALTHY
-
Some
EventRules
areACTIVE
and some areINACTIVE
.
-
-
- Parameters:
eventStatus
- Provides additional information about the current status of theNotificationEvent
.-
Values:
-
HEALTHY
-
All
EventRules
areACTIVE
.
-
-
UNHEALTHY
-
Some
EventRules
areACTIVE
and some areINACTIVE
.
-
-
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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
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:
-
-