Interface NotificationEvent.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NotificationEvent.Builder,
,NotificationEvent> SdkBuilder<NotificationEvent.Builder,
,NotificationEvent> SdkPojo
- Enclosing class:
NotificationEvent
-
Method Summary
Modifier and TypeMethodDescriptionaggregateNotificationEventArn
(String aggregateNotificationEventArn) If the value ofaggregationEventType
is notNONE
, this is the Amazon Resource Event (ARN) of the parent aggregate notification.aggregationEventType
(String aggregationEventType) The aggregation type of theNotificationConfiguration
.aggregationEventType
(AggregationEventType aggregationEventType) The aggregation type of theNotificationConfiguration
.default NotificationEvent.Builder
aggregationSummary
(Consumer<AggregationSummary.Builder> aggregationSummary) Provides additional information about how multiple notifications are grouped.aggregationSummary
(AggregationSummary aggregationSummary) Provides additional information about how multiple notifications are grouped.The end time of the event.eventStatus
(String eventStatus) The assessed nature of the event.eventStatus
(EventStatus eventStatus) The assessed nature of the event.The unique identifier for aNotificationEvent
.media
(Collection<MediaElement> media) A list of media elements.media
(Consumer<MediaElement.Builder>... media) A list of media elements.media
(MediaElement... media) A list of media elements.default NotificationEvent.Builder
messageComponents
(Consumer<MessageComponents.Builder> messageComponents) Sets the value of the MessageComponents property for this object.messageComponents
(MessageComponents 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 the Notification Event.schemaVersion
(SchemaVersion schemaVersion) The schema version of the Notification Event.sourceEventDetailUrl
(String sourceEventDetailUrl) The source event URL.sourceEventDetailUrlDisplayText
(String sourceEventDetailUrlDisplayText) The detailed URL for the source event.default NotificationEvent.Builder
sourceEventMetadata
(Consumer<SourceEventMetadata.Builder> sourceEventMetadata) The source event metadata.sourceEventMetadata
(SourceEventMetadata sourceEventMetadata) The source event metadata.The notification event start time.textParts
(Map<String, TextPartValue> textParts) A list of text values.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:
-
id
The unique identifier for a
NotificationEvent
.- Parameters:
id
- The unique identifier for aNotificationEvent
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 NotificationEvent.Builder sourceEventMetadata(Consumer<SourceEventMetadata.Builder> sourceEventMetadata) The source event metadata.
This is a convenience method that creates an instance of theSourceEventMetadata.Builder
avoiding the need to create one manually viaSourceEventMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosourceEventMetadata(SourceEventMetadata)
.- Parameters:
sourceEventMetadata
- a consumer that will call methods onSourceEventMetadata.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
default NotificationEvent.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 theMessageComponents.Builder
avoiding the need to create one manually viaMessageComponents.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomessageComponents(MessageComponents)
.- Parameters:
messageComponents
- a consumer that will call methods onMessageComponents.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceEventDetailUrl
The source event URL.
- Parameters:
sourceEventDetailUrl
- The source event URL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceEventDetailUrlDisplayText
The detailed URL for the source event.
- Parameters:
sourceEventDetailUrlDisplayText
- The detailed URL for the source event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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:
-
-
eventStatus
The assessed nature of the event.
-
Values:
-
HEALTHY
-
All
EventRules
areACTIVE
and any call can be run.
-
-
UNHEALTHY
-
Some
EventRules
areACTIVE
and some areINACTIVE
. Any call can be run.
-
-
- Parameters:
eventStatus
- The assessed nature of the event.-
Values:
-
HEALTHY
-
All
EventRules
areACTIVE
and any call can be run.
-
-
UNHEALTHY
-
Some
EventRules
areACTIVE
and some areINACTIVE
. Any call can be run.
-
-
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
eventStatus
The assessed nature of the event.
-
Values:
-
HEALTHY
-
All
EventRules
areACTIVE
and any call can be run.
-
-
UNHEALTHY
-
Some
EventRules
areACTIVE
and some areINACTIVE
. Any call can be run.
-
-
- Parameters:
eventStatus
- The assessed nature of the event.-
Values:
-
HEALTHY
-
All
EventRules
areACTIVE
and any call can be run.
-
-
UNHEALTHY
-
Some
EventRules
areACTIVE
and some areINACTIVE
. Any call can be run.
-
-
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
aggregationEventType
The aggregation type of the
NotificationConfiguration
.-
Values:
-
AGGREGATE
-
The notification event is an aggregate notification. Aggregate notifications summarize grouped events over a specified time period.
-
-
CHILD
-
Some
EventRules
areACTIVE
and some areINACTIVE
. Any call can be run.
-
-
NONE
-
The notification isn't aggregated.
-
-
- Parameters:
aggregationEventType
- The aggregation type of theNotificationConfiguration
.-
Values:
-
AGGREGATE
-
The notification event is an aggregate notification. Aggregate notifications summarize grouped events over a specified time period.
-
-
CHILD
-
Some
EventRules
areACTIVE
and some areINACTIVE
. Any call can be run.
-
-
NONE
-
The notification isn't aggregated.
-
-
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
aggregationEventType
The aggregation type of the
NotificationConfiguration
.-
Values:
-
AGGREGATE
-
The notification event is an aggregate notification. Aggregate notifications summarize grouped events over a specified time period.
-
-
CHILD
-
Some
EventRules
areACTIVE
and some areINACTIVE
. Any call can be run.
-
-
NONE
-
The notification isn't aggregated.
-
-
- Parameters:
aggregationEventType
- The aggregation type of theNotificationConfiguration
.-
Values:
-
AGGREGATE
-
The notification event is an aggregate notification. Aggregate notifications summarize grouped events over a specified time period.
-
-
CHILD
-
Some
EventRules
areACTIVE
and some areINACTIVE
. Any call can be run.
-
-
NONE
-
The notification isn't aggregated.
-
-
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
aggregateNotificationEventArn
If the value of
aggregationEventType
is notNONE
, this is the Amazon Resource Event (ARN) of the parent aggregate notification.This is omitted if notification isn't aggregated.
- Parameters:
aggregateNotificationEventArn
- If the value ofaggregationEventType
is notNONE
, this is the Amazon Resource Event (ARN) of the parent aggregate notification.This is omitted if notification isn't aggregated.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregationSummary
Provides additional information about how multiple notifications are grouped.
- Parameters:
aggregationSummary
- Provides additional information about how multiple notifications are grouped.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregationSummary
default NotificationEvent.Builder aggregationSummary(Consumer<AggregationSummary.Builder> aggregationSummary) Provides additional information about how multiple notifications are grouped.
This is a convenience method that creates an instance of theAggregationSummary.Builder
avoiding the need to create one manually viaAggregationSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaggregationSummary(AggregationSummary)
.- Parameters:
aggregationSummary
- a consumer that will call methods onAggregationSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startTime
The notification event start time.
- Parameters:
startTime
- The notification event start time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The end time of the event.
- Parameters:
endTime
- The end time of the 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.
-
media
A list of media elements.
- Parameters:
media
- A list of media elements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
media
A list of media elements.
- Parameters:
media
- A list of media elements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
media
A list of media elements.
This is a convenience method that creates an instance of theMediaElement.Builder
avoiding the need to create one manually viaMediaElement.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomedia(List<MediaElement>)
.- Parameters:
media
- a consumer that will call methods onMediaElement.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-