Interface ManagedNotificationEvent.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ManagedNotificationEvent.Builder,
,ManagedNotificationEvent> SdkBuilder<ManagedNotificationEvent.Builder,
,ManagedNotificationEvent> SdkPojo
- Enclosing class:
ManagedNotificationEvent
-
Method Summary
Modifier and TypeMethodDescriptionaggregationEventType
(String aggregationEventType) The notifications aggregation type.aggregationEventType
(AggregationEventType aggregationEventType) The notifications aggregation type.default ManagedNotificationEvent.Builder
aggregationSummary
(Consumer<AggregationSummary.Builder> aggregationSummary) Sets the value of the AggregationSummary property for this object.aggregationSummary
(AggregationSummary aggregationSummary) Sets the value of the AggregationSummary property for this object.The end time of the notification event.eventStatus
(String eventStatus) The status of an event.eventStatus
(EventStatus eventStatus) The status of an event.Unique identifier for aManagedNotificationEvent
.default ManagedNotificationEvent.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 nature of the event causing this notification.notificationType
(NotificationType notificationType) The nature of the event causing this notification.organizationalUnitId
(String organizationalUnitId) The Organizational Unit Id that an Amazon Web Services account belongs to.schemaVersion
(String schemaVersion) Version of theManagedNotificationEvent
schema.schemaVersion
(SchemaVersion schemaVersion) Version of theManagedNotificationEvent
schema.sourceEventDetailUrl
(String sourceEventDetailUrl) URL defined by Source Service to be used by notification consumers to get additional information about event.sourceEventDetailUrlDisplayText
(String sourceEventDetailUrlDisplayText) Text that needs to be hyperlinked with the sourceEventDetailUrl.The earliest time of events to return from this call.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
Version of the
ManagedNotificationEvent
schema.- Parameters:
schemaVersion
- Version of theManagedNotificationEvent
schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
schemaVersion
Version of the
ManagedNotificationEvent
schema.- Parameters:
schemaVersion
- Version of theManagedNotificationEvent
schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
id
Unique identifier for a
ManagedNotificationEvent
.- Parameters:
id
- Unique identifier for aManagedNotificationEvent
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 ManagedNotificationEvent.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
URL defined by Source Service to be used by notification consumers to get additional information about event.
- Parameters:
sourceEventDetailUrl
- URL defined by Source Service to be used by notification consumers to get additional information about event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceEventDetailUrlDisplayText
ManagedNotificationEvent.Builder sourceEventDetailUrlDisplayText(String sourceEventDetailUrlDisplayText) Text that needs to be hyperlinked with the sourceEventDetailUrl. For example, the description of the sourceEventDetailUrl.
- Parameters:
sourceEventDetailUrlDisplayText
- Text that needs to be hyperlinked with the sourceEventDetailUrl. For example, the description of the sourceEventDetailUrl.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationType
The nature of the event causing this 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 nature of the event causing this 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 nature of the event causing this 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 nature of the event causing this 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 status of an event.
-
Values:
-
HEALTHY
-
All EventRules are
ACTIVE
and any call can be run.
-
-
UNHEALTHY
-
Some EventRules are
ACTIVE
and some areINACTIVE
. Any call can be run.
-
-
- Parameters:
eventStatus
- The status of an event.-
Values:
-
HEALTHY
-
All EventRules are
ACTIVE
and any call can be run.
-
-
UNHEALTHY
-
Some EventRules are
ACTIVE
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 status of an event.
-
Values:
-
HEALTHY
-
All EventRules are
ACTIVE
and any call can be run.
-
-
UNHEALTHY
-
Some EventRules are
ACTIVE
and some areINACTIVE
. Any call can be run.
-
-
- Parameters:
eventStatus
- The status of an event.-
Values:
-
HEALTHY
-
All EventRules are
ACTIVE
and any call can be run.
-
-
UNHEALTHY
-
Some EventRules are
ACTIVE
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 notifications aggregation type.
- Parameters:
aggregationEventType
- The notifications aggregation type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
aggregationEventType
The notifications aggregation type.
- Parameters:
aggregationEventType
- The notifications aggregation type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
aggregationSummary
Sets the value of the AggregationSummary property for this object.- Parameters:
aggregationSummary
- The new value for the AggregationSummary property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregationSummary
default ManagedNotificationEvent.Builder aggregationSummary(Consumer<AggregationSummary.Builder> aggregationSummary) Sets the value of the AggregationSummary property for this object. 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 earliest time of events to return from this call.
- Parameters:
startTime
- The earliest time of events to return from this call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The end time of the notification event.
- Parameters:
endTime
- The end time of the notification 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.
-
organizationalUnitId
The Organizational Unit Id that an Amazon Web Services account belongs to.
- Parameters:
organizationalUnitId
- The Organizational Unit Id that an Amazon Web Services account belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-