Interface NotificationEventSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<NotificationEventSummary.Builder,NotificationEventSummary>,SdkBuilder<NotificationEventSummary.Builder,NotificationEventSummary>,SdkPojo
- Enclosing class:
- NotificationEventSummary
public static interface NotificationEventSummary.Builder extends SdkPojo, CopyableBuilder<NotificationEventSummary.Builder,NotificationEventSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description NotificationEventSummary.BuildereventStatus(String eventStatus)Provides additional information about the current status of theNotificationEvent.NotificationEventSummary.BuildereventStatus(EventStatus eventStatus)Provides additional information about the current status of theNotificationEvent.default NotificationEventSummary.BuildermessageComponents(Consumer<MessageComponentsSummary.Builder> messageComponents)The message components of a notification event.NotificationEventSummary.BuildermessageComponents(MessageComponentsSummary messageComponents)The message components of a notification event.NotificationEventSummary.BuildernotificationType(String notificationType)The type of event causing the notification.NotificationEventSummary.BuildernotificationType(NotificationType notificationType)The type of event causing the notification.NotificationEventSummary.BuilderschemaVersion(String schemaVersion)The schema version of the Notification Event.NotificationEventSummary.BuilderschemaVersion(SchemaVersion schemaVersion)The schema version of the Notification Event.default NotificationEventSummary.BuildersourceEventMetadata(Consumer<SourceEventMetadataSummary.Builder> sourceEventMetadata)The source event metadata.NotificationEventSummary.BuildersourceEventMetadata(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 Detail
-
schemaVersion
NotificationEventSummary.Builder schemaVersion(String 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,SchemaVersion
-
schemaVersion
NotificationEventSummary.Builder schemaVersion(SchemaVersion 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,SchemaVersion
-
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.Builderavoiding the need to create one manually viaSourceEventMetadataSummary.builder().When the
Consumercompletes,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:
sourceEventMetadata(SourceEventMetadataSummary)
-
messageComponents
NotificationEventSummary.Builder messageComponents(MessageComponentsSummary 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.Builderavoiding the need to create one manually viaMessageComponentsSummary.builder().When the
Consumercompletes,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:
messageComponents(MessageComponentsSummary)
-
eventStatus
NotificationEventSummary.Builder eventStatus(String eventStatus)
Provides additional information about the current status of the
NotificationEvent.-
Values:
-
HEALTHY-
All
EventRulesareACTIVE.
-
-
UNHEALTHY-
Some
EventRulesareACTIVEand some areINACTIVE.
-
-
- Parameters:
eventStatus- Provides additional information about the current status of theNotificationEvent.-
Values:
-
HEALTHY-
All
EventRulesareACTIVE.
-
-
UNHEALTHY-
Some
EventRulesareACTIVEand some areINACTIVE.
-
-
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EventStatus,EventStatus
-
-
eventStatus
NotificationEventSummary.Builder eventStatus(EventStatus eventStatus)
Provides additional information about the current status of the
NotificationEvent.-
Values:
-
HEALTHY-
All
EventRulesareACTIVE.
-
-
UNHEALTHY-
Some
EventRulesareACTIVEand some areINACTIVE.
-
-
- Parameters:
eventStatus- Provides additional information about the current status of theNotificationEvent.-
Values:
-
HEALTHY-
All
EventRulesareACTIVE.
-
-
UNHEALTHY-
Some
EventRulesareACTIVEand some areINACTIVE.
-
-
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EventStatus,EventStatus
-
-
notificationType
NotificationEventSummary.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,NotificationType
-
-
notificationType
NotificationEventSummary.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:
NotificationType,NotificationType
-
-
-