Interface ManagedNotificationEventOverview.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ManagedNotificationEventOverview.Builder,
,ManagedNotificationEventOverview> SdkBuilder<ManagedNotificationEventOverview.Builder,
,ManagedNotificationEventOverview> SdkPojo
- Enclosing class:
ManagedNotificationEventOverview
-
Method Summary
Modifier and TypeMethodDescriptionaggregatedNotificationRegions
(String... aggregatedNotificationRegions) The list of the regions where the aggregated notifications in thisNotificationEvent
originated.aggregatedNotificationRegions
(Collection<String> aggregatedNotificationRegions) The list of the regions where the aggregated notifications in thisNotificationEvent
originated.aggregationEventType
(String aggregationEventType) The notifications aggregation type.aggregationEventType
(AggregationEventType aggregationEventType) The notifications aggregation type.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 Amazon Resource Name (ARN) of the ManagedNotificationEvent.creationTime
(Instant creationTime) The creation time of theManagedNotificationEvent
.managedNotificationConfigurationArn
(String managedNotificationConfigurationArn) The Amazon Resource Name (ARN) of theManagedNotificationConfiguration
.notificationEvent
(Consumer<ManagedNotificationEventSummary.Builder> notificationEvent) Sets the value of the NotificationEvent property for this object.notificationEvent
(ManagedNotificationEventSummary notificationEvent) Sets the value of the NotificationEvent property for this object.organizationalUnitId
(String organizationalUnitId) The Organizational Unit Id that an Amazon Web Services account belongs to.relatedAccount
(String relatedAccount) The account that related to 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 Details
-
arn
The Amazon Resource Name (ARN) of the ManagedNotificationEvent.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the ManagedNotificationEvent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedNotificationConfigurationArn
ManagedNotificationEventOverview.Builder managedNotificationConfigurationArn(String managedNotificationConfigurationArn) The Amazon Resource Name (ARN) of the
ManagedNotificationConfiguration
.- Parameters:
managedNotificationConfigurationArn
- The Amazon Resource Name (ARN) of theManagedNotificationConfiguration
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The creation time of the
ManagedNotificationEvent
.- Parameters:
creationTime
- The creation time of theManagedNotificationEvent
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationEvent
ManagedNotificationEventOverview.Builder notificationEvent(ManagedNotificationEventSummary notificationEvent) Sets the value of the NotificationEvent property for this object.- Parameters:
notificationEvent
- The new value for the NotificationEvent property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationEvent
default ManagedNotificationEventOverview.Builder notificationEvent(Consumer<ManagedNotificationEventSummary.Builder> notificationEvent) Sets the value of the NotificationEvent property for this object. This is a convenience method that creates an instance of theManagedNotificationEventSummary.Builder
avoiding the need to create one manually viaManagedNotificationEventSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonotificationEvent(ManagedNotificationEventSummary)
.- Parameters:
notificationEvent
- a consumer that will call methods onManagedNotificationEventSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
aggregationEventType
The notifications aggregation type.
-
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 notifications aggregation type.-
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
ManagedNotificationEventOverview.Builder aggregationEventType(AggregationEventType aggregationEventType) The notifications aggregation type.
-
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 notifications aggregation type.-
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:
-
-
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.
-
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 ManagedNotificationEventOverview.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:
-
aggregatedNotificationRegions
ManagedNotificationEventOverview.Builder aggregatedNotificationRegions(Collection<String> aggregatedNotificationRegions) The list of the regions where the aggregated notifications in this
NotificationEvent
originated.- Parameters:
aggregatedNotificationRegions
- The list of the regions where the aggregated notifications in thisNotificationEvent
originated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregatedNotificationRegions
ManagedNotificationEventOverview.Builder aggregatedNotificationRegions(String... aggregatedNotificationRegions) The list of the regions where the aggregated notifications in this
NotificationEvent
originated.- Parameters:
aggregatedNotificationRegions
- The list of the regions where the aggregated notifications in thisNotificationEvent
originated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-