Interface NotificationEventOverview.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<NotificationEventOverview.Builder,NotificationEventOverview>,SdkBuilder<NotificationEventOverview.Builder,NotificationEventOverview>,SdkPojo
- Enclosing class:
- NotificationEventOverview
public static interface NotificationEventOverview.Builder extends SdkPojo, CopyableBuilder<NotificationEventOverview.Builder,NotificationEventOverview>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description NotificationEventOverview.BuilderaggregateNotificationEventArn(String aggregateNotificationEventArn)The ARN of theaggregatedNotificationEventArnto match.NotificationEventOverview.BuilderaggregationEventType(String aggregationEventType)TheNotificationConfiguration's aggregation type.NotificationEventOverview.BuilderaggregationEventType(AggregationEventType aggregationEventType)TheNotificationConfiguration's aggregation type.default NotificationEventOverview.BuilderaggregationSummary(Consumer<AggregationSummary.Builder> aggregationSummary)Provides an aggregated summary data for notification events.NotificationEventOverview.BuilderaggregationSummary(AggregationSummary aggregationSummary)Provides an aggregated summary data for notification events.NotificationEventOverview.Builderarn(String arn)The Amazon Resource Name (ARN) of the resource.NotificationEventOverview.BuildercreationTime(Instant creationTime)The creation time of theNotificationEvent.NotificationEventOverview.BuildernotificationConfigurationArn(String notificationConfigurationArn)The ARN of theNotificationConfiguration.default NotificationEventOverview.BuildernotificationEvent(Consumer<NotificationEventSummary.Builder> notificationEvent)Refers to aNotificationEventSummaryobject.NotificationEventOverview.BuildernotificationEvent(NotificationEventSummary notificationEvent)Refers to aNotificationEventSummaryobject.NotificationEventOverview.BuilderrelatedAccount(String relatedAccount)The account name containing theNotificationHub.-
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
-
arn
NotificationEventOverview.Builder arn(String arn)
The Amazon Resource Name (ARN) of the resource.
- Parameters:
arn- The Amazon Resource Name (ARN) of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationConfigurationArn
NotificationEventOverview.Builder notificationConfigurationArn(String notificationConfigurationArn)
The ARN of the
NotificationConfiguration.- Parameters:
notificationConfigurationArn- The ARN of theNotificationConfiguration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relatedAccount
NotificationEventOverview.Builder relatedAccount(String relatedAccount)
The account name containing the
NotificationHub.- Parameters:
relatedAccount- The account name containing theNotificationHub.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
NotificationEventOverview.Builder creationTime(Instant creationTime)
The creation time of the
NotificationEvent.- Parameters:
creationTime- The creation time of theNotificationEvent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationEvent
NotificationEventOverview.Builder notificationEvent(NotificationEventSummary notificationEvent)
Refers to a
NotificationEventSummaryobject.Similar in structure to
contentin theGetNotificationEventresponse.- Parameters:
notificationEvent- Refers to aNotificationEventSummaryobject.Similar in structure to
contentin theGetNotificationEventresponse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationEvent
default NotificationEventOverview.Builder notificationEvent(Consumer<NotificationEventSummary.Builder> notificationEvent)
Refers to a
NotificationEventSummaryobject.Similar in structure to
This is a convenience method that creates an instance of thecontentin theGetNotificationEventresponse.NotificationEventSummary.Builderavoiding the need to create one manually viaNotificationEventSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonotificationEvent(NotificationEventSummary).- Parameters:
notificationEvent- a consumer that will call methods onNotificationEventSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
notificationEvent(NotificationEventSummary)
-
aggregationEventType
NotificationEventOverview.Builder aggregationEventType(String aggregationEventType)
The
NotificationConfiguration's aggregation type.-
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- TheNotificationConfiguration's aggregation type.-
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:
AggregationEventType,AggregationEventType
-
-
aggregationEventType
NotificationEventOverview.Builder aggregationEventType(AggregationEventType aggregationEventType)
The
NotificationConfiguration's aggregation type.-
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- TheNotificationConfiguration's aggregation type.-
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:
AggregationEventType,AggregationEventType
-
-
aggregateNotificationEventArn
NotificationEventOverview.Builder aggregateNotificationEventArn(String aggregateNotificationEventArn)
The ARN of the
aggregatedNotificationEventArnto match.- Parameters:
aggregateNotificationEventArn- The ARN of theaggregatedNotificationEventArnto match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregationSummary
NotificationEventOverview.Builder aggregationSummary(AggregationSummary aggregationSummary)
Provides an aggregated summary data for notification events.
- Parameters:
aggregationSummary- Provides an aggregated summary data for notification events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregationSummary
default NotificationEventOverview.Builder aggregationSummary(Consumer<AggregationSummary.Builder> aggregationSummary)
Provides an aggregated summary data for notification events.
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)
-
-