Interface ManagedNotificationEvent.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ManagedNotificationEvent.Builder,ManagedNotificationEvent>,SdkBuilder<ManagedNotificationEvent.Builder,ManagedNotificationEvent>,SdkPojo
- Enclosing class:
- ManagedNotificationEvent
public static interface ManagedNotificationEvent.Builder extends SdkPojo, CopyableBuilder<ManagedNotificationEvent.Builder,ManagedNotificationEvent>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ManagedNotificationEvent.BuilderaggregationEventType(String aggregationEventType)The notifications aggregation type.ManagedNotificationEvent.BuilderaggregationEventType(AggregationEventType aggregationEventType)The notifications aggregation type.default ManagedNotificationEvent.BuilderaggregationSummary(Consumer<AggregationSummary.Builder> aggregationSummary)Sets the value of the AggregationSummary property for this object.ManagedNotificationEvent.BuilderaggregationSummary(AggregationSummary aggregationSummary)Sets the value of the AggregationSummary property for this object.ManagedNotificationEvent.BuilderendTime(Instant endTime)The end time of the notification event.ManagedNotificationEvent.BuildereventStatus(String eventStatus)The status of an event.ManagedNotificationEvent.BuildereventStatus(EventStatus eventStatus)The status of an event.ManagedNotificationEvent.Builderid(String id)Unique identifier for aManagedNotificationEvent.default ManagedNotificationEvent.BuildermessageComponents(Consumer<MessageComponents.Builder> messageComponents)Sets the value of the MessageComponents property for this object.ManagedNotificationEvent.BuildermessageComponents(MessageComponents messageComponents)Sets the value of the MessageComponents property for this object.ManagedNotificationEvent.BuildernotificationType(String notificationType)The nature of the event causing this notification.ManagedNotificationEvent.BuildernotificationType(NotificationType notificationType)The nature of the event causing this notification.ManagedNotificationEvent.BuilderorganizationalUnitId(String organizationalUnitId)The Organizational Unit Id that an Amazon Web Services account belongs to.ManagedNotificationEvent.BuilderschemaVersion(String schemaVersion)Version of theManagedNotificationEventschema.ManagedNotificationEvent.BuilderschemaVersion(SchemaVersion schemaVersion)Version of theManagedNotificationEventschema.ManagedNotificationEvent.BuildersourceEventDetailUrl(String sourceEventDetailUrl)URL defined by Source Service to be used by notification consumers to get additional information about event.ManagedNotificationEvent.BuildersourceEventDetailUrlDisplayText(String sourceEventDetailUrlDisplayText)Text that needs to be hyperlinked with the sourceEventDetailUrl.ManagedNotificationEvent.BuilderstartTime(Instant startTime)The earliest time of events to return from this call.ManagedNotificationEvent.BuildertextParts(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 Detail
-
schemaVersion
ManagedNotificationEvent.Builder schemaVersion(String schemaVersion)
Version of the
ManagedNotificationEventschema.- Parameters:
schemaVersion- Version of theManagedNotificationEventschema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SchemaVersion,SchemaVersion
-
schemaVersion
ManagedNotificationEvent.Builder schemaVersion(SchemaVersion schemaVersion)
Version of the
ManagedNotificationEventschema.- Parameters:
schemaVersion- Version of theManagedNotificationEventschema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SchemaVersion,SchemaVersion
-
id
ManagedNotificationEvent.Builder id(String 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
ManagedNotificationEvent.Builder messageComponents(MessageComponents 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.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 onMessageComponents.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
messageComponents(MessageComponents)
-
sourceEventDetailUrl
ManagedNotificationEvent.Builder sourceEventDetailUrl(String 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
ManagedNotificationEvent.Builder notificationType(String 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,NotificationType
-
-
notificationType
ManagedNotificationEvent.Builder notificationType(NotificationType 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,NotificationType
-
-
eventStatus
ManagedNotificationEvent.Builder eventStatus(String eventStatus)
The status of an event.
-
Values:
-
HEALTHY-
All EventRules are
ACTIVEand any call can be run.
-
-
UNHEALTHY-
Some EventRules are
ACTIVEand some areINACTIVE. Any call can be run.
-
-
- Parameters:
eventStatus- The status of an event.-
Values:
-
HEALTHY-
All EventRules are
ACTIVEand any call can be run.
-
-
UNHEALTHY-
Some EventRules are
ACTIVEand 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,EventStatus
-
-
eventStatus
ManagedNotificationEvent.Builder eventStatus(EventStatus eventStatus)
The status of an event.
-
Values:
-
HEALTHY-
All EventRules are
ACTIVEand any call can be run.
-
-
UNHEALTHY-
Some EventRules are
ACTIVEand some areINACTIVE. Any call can be run.
-
-
- Parameters:
eventStatus- The status of an event.-
Values:
-
HEALTHY-
All EventRules are
ACTIVEand any call can be run.
-
-
UNHEALTHY-
Some EventRules are
ACTIVEand 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,EventStatus
-
-
aggregationEventType
ManagedNotificationEvent.Builder aggregationEventType(String 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,AggregationEventType
-
aggregationEventType
ManagedNotificationEvent.Builder aggregationEventType(AggregationEventType 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,AggregationEventType
-
aggregationSummary
ManagedNotificationEvent.Builder aggregationSummary(AggregationSummary 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.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 onAggregationSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
aggregationSummary(AggregationSummary)
-
startTime
ManagedNotificationEvent.Builder startTime(Instant 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
ManagedNotificationEvent.Builder endTime(Instant 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
ManagedNotificationEvent.Builder textParts(Map<String,TextPartValue> 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
ManagedNotificationEvent.Builder organizationalUnitId(String 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.
-
-