Interface ManagedNotificationEventSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ManagedNotificationEventSummary.Builder,ManagedNotificationEventSummary>,SdkBuilder<ManagedNotificationEventSummary.Builder,ManagedNotificationEventSummary>,SdkPojo
- Enclosing class:
- ManagedNotificationEventSummary
public static interface ManagedNotificationEventSummary.Builder extends SdkPojo, CopyableBuilder<ManagedNotificationEventSummary.Builder,ManagedNotificationEventSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ManagedNotificationEventSummary.BuildereventStatus(String eventStatus)The managed notification event status.ManagedNotificationEventSummary.BuildereventStatus(EventStatus eventStatus)The managed notification event status.default ManagedNotificationEventSummary.BuildermessageComponents(Consumer<MessageComponentsSummary.Builder> messageComponents)Sets the value of the MessageComponents property for this object.ManagedNotificationEventSummary.BuildermessageComponents(MessageComponentsSummary messageComponents)Sets the value of the MessageComponents property for this object.ManagedNotificationEventSummary.BuildernotificationType(String notificationType)The Type of event causing the notification.ManagedNotificationEventSummary.BuildernotificationType(NotificationType notificationType)The Type of event causing the notification.ManagedNotificationEventSummary.BuilderschemaVersion(String schemaVersion)The schema version of theManagedNotificationEvent.ManagedNotificationEventSummary.BuilderschemaVersion(SchemaVersion schemaVersion)The schema version of theManagedNotificationEvent.default ManagedNotificationEventSummary.BuildersourceEventMetadata(Consumer<ManagedSourceEventMetadataSummary.Builder> sourceEventMetadata)Contains metadata about the event that caused theManagedNotificationEvent.ManagedNotificationEventSummary.BuildersourceEventMetadata(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 Detail
-
schemaVersion
ManagedNotificationEventSummary.Builder schemaVersion(String 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,SchemaVersion
-
schemaVersion
ManagedNotificationEventSummary.Builder schemaVersion(SchemaVersion 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,SchemaVersion
-
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.Builderavoiding the need to create one manually viaManagedSourceEventMetadataSummary.builder().When the
Consumercompletes,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:
sourceEventMetadata(ManagedSourceEventMetadataSummary)
-
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.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
ManagedNotificationEventSummary.Builder eventStatus(String eventStatus)
The managed notification event status.
-
Values:
-
HEALTHY-
All
EventRulesareACTIVE.
-
-
UNHEALTHY-
Some
EventRulesareACTIVEand some areINACTIVE.
-
-
- Parameters:
eventStatus- The managed notification event status.-
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
ManagedNotificationEventSummary.Builder eventStatus(EventStatus eventStatus)
The managed notification event status.
-
Values:
-
HEALTHY-
All
EventRulesareACTIVE.
-
-
UNHEALTHY-
Some
EventRulesareACTIVEand some areINACTIVE.
-
-
- Parameters:
eventStatus- The managed notification event status.-
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
ManagedNotificationEventSummary.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
ManagedNotificationEventSummary.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
-
-
-