Interface NotificationEvent.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<NotificationEvent.Builder,,- NotificationEvent> - SdkBuilder<NotificationEvent.Builder,,- NotificationEvent> - SdkPojo
- Enclosing class:
- NotificationEvent
- 
Method SummaryModifier and TypeMethodDescriptionaggregateNotificationEventArn(String aggregateNotificationEventArn) If the value ofaggregationEventTypeis 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.BuilderaggregationSummary(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.BuildermessageComponents(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.organizationalUnitId(String organizationalUnitId) The unique identifier of the organizational unit associated with the notification event.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.BuildersourceEventMetadata(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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
schemaVersionThe 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:
 
- 
schemaVersionThe 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:
 
- 
idThe unique identifier for a NotificationEvent.- Parameters:
- id- The unique identifier for a- NotificationEvent.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
sourceEventMetadataThe source event metadata. - Parameters:
- sourceEventMetadata- The source event metadata.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
sourceEventMetadatadefault NotificationEvent.Builder sourceEventMetadata(Consumer<SourceEventMetadata.Builder> sourceEventMetadata) The source event metadata. This is a convenience method that creates an instance of theSourceEventMetadata.Builderavoiding the need to create one manually viaSourceEventMetadata.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceEventMetadata(SourceEventMetadata).- Parameters:
- sourceEventMetadata- a consumer that will call methods on- SourceEventMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
messageComponentsSets 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.
 
- 
messageComponentsdefault 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.Builderavoiding the need to create one manually viaMessageComponents.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomessageComponents(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:
 
- 
sourceEventDetailUrlThe source event URL. - Parameters:
- sourceEventDetailUrl- The source event URL.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
sourceEventDetailUrlDisplayTextThe 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.
 
- 
notificationTypeThe 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:
 
- 
 
- 
notificationTypeThe 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:
 
- 
 
- 
eventStatusThe assessed nature of the event. - 
 Values: - 
 HEALTHY- 
 All EventRulesareACTIVEand any call can be run.
 
- 
 
- 
 UNHEALTHY- 
 Some EventRulesareACTIVEand some areINACTIVE. Any call can be run.
 
- 
 
 
- 
 
 - Parameters:
- eventStatus- The assessed nature of the event.- 
        Values: - 
        HEALTHY- 
        All EventRulesareACTIVEand any call can be run.
 
- 
        
- 
        UNHEALTHY- 
        Some EventRulesareACTIVEand some areINACTIVE. Any call can be run.
 
- 
        
 
- 
        
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
- 
eventStatusThe assessed nature of the event. - 
 Values: - 
 HEALTHY- 
 All EventRulesareACTIVEand any call can be run.
 
- 
 
- 
 UNHEALTHY- 
 Some EventRulesareACTIVEand some areINACTIVE. Any call can be run.
 
- 
 
 
- 
 
 - Parameters:
- eventStatus- The assessed nature of the event.- 
        Values: - 
        HEALTHY- 
        All EventRulesareACTIVEand any call can be run.
 
- 
        
- 
        UNHEALTHY- 
        Some EventRulesareACTIVEand some areINACTIVE. Any call can be run.
 
- 
        
 
- 
        
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
- 
aggregationEventTypeThe 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 EventRulesareACTIVEand some areINACTIVE. Any call can be run.
 
- 
 
- 
 NONE- 
 The notification isn't aggregated. 
 
- 
 
 
- 
 
 - Parameters:
- 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 EventRulesareACTIVEand 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:
 
- 
 
- 
aggregationEventTypeThe 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 EventRulesareACTIVEand some areINACTIVE. Any call can be run.
 
- 
 
- 
 NONE- 
 The notification isn't aggregated. 
 
- 
 
 
- 
 
 - Parameters:
- 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 EventRulesareACTIVEand 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:
 
- 
 
- 
aggregateNotificationEventArnIf the value of aggregationEventTypeis 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 of- aggregationEventTypeis not- NONE, 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.
 
- 
aggregationSummaryProvides 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.
 
- 
aggregationSummarydefault 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.Builderavoiding the need to create one manually viaAggregationSummary.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaggregationSummary(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:
 
- 
startTimeThe 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.
 
- 
endTimeThe 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.
 
- 
textPartsA 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.
 
- 
mediaA 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.
 
- 
mediaA 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.
 
- 
mediaA list of media elements. This is a convenience method that creates an instance of theMediaElement.Builderavoiding the need to create one manually viaMediaElement.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomedia(List<MediaElement>).- Parameters:
- media- a consumer that will call methods on- MediaElement.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
organizationalUnitIdThe unique identifier of the organizational unit associated with the notification event. - Parameters:
- organizationalUnitId- The unique identifier of the organizational unit associated with the notification event.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-