Interface ManagedNotificationEventSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ManagedNotificationEventSummary.Builder,
,ManagedNotificationEventSummary> SdkBuilder<ManagedNotificationEventSummary.Builder,
,ManagedNotificationEventSummary> SdkPojo
- Enclosing class:
ManagedNotificationEventSummary
-
Method Summary
Modifier and TypeMethodDescriptioneventStatus
(String eventStatus) The managed notification event status.eventStatus
(EventStatus eventStatus) The managed notification event status.messageComponents
(Consumer<MessageComponentsSummary.Builder> messageComponents) Sets the value of the MessageComponents property for this object.messageComponents
(MessageComponentsSummary messageComponents) Sets the value of the MessageComponents property for this object.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 theManagedNotificationEvent
.schemaVersion
(SchemaVersion schemaVersion) The schema version of theManagedNotificationEvent
.sourceEventMetadata
(Consumer<ManagedSourceEventMetadataSummary.Builder> sourceEventMetadata) Contains metadata about the event that caused theManagedNotificationEvent
.sourceEventMetadata
(ManagedSourceEventMetadataSummary sourceEventMetadata) Contains metadata about the event that caused theManagedNotificationEvent
.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
ManagedNotificationEvent
.- Parameters:
schemaVersion
- The schema version of theManagedNotificationEvent
.- 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 theManagedNotificationEvent
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceEventMetadata
ManagedNotificationEventSummary.Builder sourceEventMetadata(ManagedSourceEventMetadataSummary sourceEventMetadata) Contains metadata about the event that caused the
ManagedNotificationEvent
.- Parameters:
sourceEventMetadata
- Contains metadata about the event that caused theManagedNotificationEvent
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceEventMetadata
default ManagedNotificationEventSummary.Builder sourceEventMetadata(Consumer<ManagedSourceEventMetadataSummary.Builder> sourceEventMetadata) Contains metadata about the event that caused the
This is a convenience method that creates an instance of theManagedNotificationEvent
.ManagedSourceEventMetadataSummary.Builder
avoiding the need to create one manually viaManagedSourceEventMetadataSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosourceEventMetadata(ManagedSourceEventMetadataSummary)
.- Parameters:
sourceEventMetadata
- a consumer that will call methods onManagedSourceEventMetadataSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
messageComponents
ManagedNotificationEventSummary.Builder messageComponents(MessageComponentsSummary 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 ManagedNotificationEventSummary.Builder messageComponents(Consumer<MessageComponentsSummary.Builder> messageComponents) Sets the value of the MessageComponents property for this object. 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
The managed notification event status.
-
Values:
-
HEALTHY
-
All
EventRules
areACTIVE
.
-
-
UNHEALTHY
-
Some
EventRules
areACTIVE
and some areINACTIVE
.
-
-
- Parameters:
eventStatus
- The managed notification event status.-
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
The managed notification event status.
-
Values:
-
HEALTHY
-
All
EventRules
areACTIVE
.
-
-
UNHEALTHY
-
Some
EventRules
areACTIVE
and some areINACTIVE
.
-
-
- Parameters:
eventStatus
- The managed notification event status.-
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:
-
-