Interface EventRuleStructure.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EventRuleStructure.Builder,EventRuleStructure>,SdkBuilder<EventRuleStructure.Builder,EventRuleStructure>,SdkPojo
- Enclosing class:
- EventRuleStructure
public static interface EventRuleStructure.Builder extends SdkPojo, CopyableBuilder<EventRuleStructure.Builder,EventRuleStructure>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EventRuleStructure.Builderarn(String arn)The Amazon Resource Name (ARN) of theEventRule.EventRuleStructure.BuildercreationTime(Instant creationTime)The creation time of theEventRule.EventRuleStructure.BuildereventPattern(String eventPattern)An additional event pattern used to further filter the events thisEventRulereceives.EventRuleStructure.BuildereventType(String eventType)The event type this rule should match with the EventBridge events.EventRuleStructure.BuildermanagedRules(String... managedRules)A list of Amazon EventBridge Managed Rule ARNs associated with thisEventRule.EventRuleStructure.BuildermanagedRules(Collection<String> managedRules)A list of Amazon EventBridge Managed Rule ARNs associated with thisEventRule.EventRuleStructure.BuildernotificationConfigurationArn(String notificationConfigurationArn)The ARN for theNotificationConfigurationassociated with thisEventRule.EventRuleStructure.Builderregions(String... regions)A list of Amazon Web Services Regions that send events to thisEventRule.EventRuleStructure.Builderregions(Collection<String> regions)A list of Amazon Web Services Regions that send events to thisEventRule.EventRuleStructure.Buildersource(String source)The event source this rule should match with the EventBridge event sources.EventRuleStructure.BuilderstatusSummaryByRegion(Map<String,EventRuleStatusSummary> statusSummaryByRegion)A list of anEventRule's status by Region.-
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
EventRuleStructure.Builder arn(String arn)
The Amazon Resource Name (ARN) of the
EventRule. CloudFormation stack generates this ARN and then uses this ARN to associate with theNotificationConfiguration.- Parameters:
arn- The Amazon Resource Name (ARN) of theEventRule. CloudFormation stack generates this ARN and then uses this ARN to associate with theNotificationConfiguration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationConfigurationArn
EventRuleStructure.Builder notificationConfigurationArn(String notificationConfigurationArn)
The ARN for the
NotificationConfigurationassociated with thisEventRule.- Parameters:
notificationConfigurationArn- The ARN for theNotificationConfigurationassociated with thisEventRule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
EventRuleStructure.Builder creationTime(Instant creationTime)
The creation time of the
EventRule.- Parameters:
creationTime- The creation time of theEventRule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
EventRuleStructure.Builder source(String source)
The event source this rule should match with the EventBridge event sources. It must match with atleast one of the valid EventBridge event sources. Only Amazon Web Services service sourced events are supported. For example,
aws.ec2andaws.cloudwatch. For more information, see Event delivery from Amazon Web Services services in the Amazon EventBridge User Guide.- Parameters:
source- The event source this rule should match with the EventBridge event sources. It must match with atleast one of the valid EventBridge event sources. Only Amazon Web Services service sourced events are supported. For example,aws.ec2andaws.cloudwatch. For more information, see Event delivery from Amazon Web Services services in the Amazon EventBridge User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventType
EventRuleStructure.Builder eventType(String eventType)
The event type this rule should match with the EventBridge events. It must match with atleast one of the valid EventBridge event types. For example, Amazon EC2 Instance State change Notification and Amazon CloudWatch State Change. For more information, see Event delivery from Amazon Web Services services in the Amazon EventBridge User Guide.
- Parameters:
eventType- The event type this rule should match with the EventBridge events. It must match with atleast one of the valid EventBridge event types. For example, Amazon EC2 Instance State change Notification and Amazon CloudWatch State Change. For more information, see Event delivery from Amazon Web Services services in the Amazon EventBridge User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventPattern
EventRuleStructure.Builder eventPattern(String eventPattern)
An additional event pattern used to further filter the events this
EventRulereceives.For more information, see Amazon EventBridge event patterns in the Amazon EventBridge User Guide.
- Parameters:
eventPattern- An additional event pattern used to further filter the events thisEventRulereceives.For more information, see Amazon EventBridge event patterns in the Amazon EventBridge User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regions
EventRuleStructure.Builder regions(Collection<String> regions)
A list of Amazon Web Services Regions that send events to this
EventRule.- Parameters:
regions- A list of Amazon Web Services Regions that send events to thisEventRule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regions
EventRuleStructure.Builder regions(String... regions)
A list of Amazon Web Services Regions that send events to this
EventRule.- Parameters:
regions- A list of Amazon Web Services Regions that send events to thisEventRule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedRules
EventRuleStructure.Builder managedRules(Collection<String> managedRules)
A list of Amazon EventBridge Managed Rule ARNs associated with this
EventRule.These are created by User Notifications within your account so your
EventRulescan function.- Parameters:
managedRules- A list of Amazon EventBridge Managed Rule ARNs associated with thisEventRule.These are created by User Notifications within your account so your
EventRulescan function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedRules
EventRuleStructure.Builder managedRules(String... managedRules)
A list of Amazon EventBridge Managed Rule ARNs associated with this
EventRule.These are created by User Notifications within your account so your
EventRulescan function.- Parameters:
managedRules- A list of Amazon EventBridge Managed Rule ARNs associated with thisEventRule.These are created by User Notifications within your account so your
EventRulescan function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusSummaryByRegion
EventRuleStructure.Builder statusSummaryByRegion(Map<String,EventRuleStatusSummary> statusSummaryByRegion)
A list of an
EventRule's status by Region. Regions are mapped toEventRuleStatusSummary.- Parameters:
statusSummaryByRegion- A list of anEventRule's status by Region. Regions are mapped toEventRuleStatusSummary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-