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 the resource.EventRuleStructure.BuildercreationTime(Instant creationTime)The creation time of the resource.EventRuleStructure.BuildereventPattern(String eventPattern)An additional event pattern used to further filter the events this EventRule receives.EventRuleStructure.BuildereventType(String eventType)The event type to match.EventRuleStructure.BuildermanagedRules(String... managedRules)A list of Amazon EventBridge Managed Rule ARNs associated with this EventRule.EventRuleStructure.BuildermanagedRules(Collection<String> managedRules)A list of Amazon EventBridge Managed Rule ARNs associated with this EventRule.EventRuleStructure.BuildernotificationConfigurationArn(String notificationConfigurationArn)The ARN for the NotificationConfiguration associated with this EventRule.EventRuleStructure.Builderregions(String... regions)A list of AWS Regions that send events to this EventRule.EventRuleStructure.Builderregions(Collection<String> regions)A list of AWS Regions that send events to this EventRule.EventRuleStructure.Buildersource(String source)The matched event source.EventRuleStructure.BuilderstatusSummaryByRegion(Map<String,EventRuleStatusSummary> statusSummaryByRegion)A list of an EventRule'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 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
EventRuleStructure.Builder notificationConfigurationArn(String notificationConfigurationArn)
The ARN for the NotificationConfiguration associated with this EventRule.
- Parameters:
notificationConfigurationArn- The ARN for the NotificationConfiguration associated with this EventRule.- 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 resource.
- Parameters:
creationTime- The creation time of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
EventRuleStructure.Builder source(String source)
The matched event source.
Must match one of the valid EventBridge sources. Only AWS service sourced events are supported. For example,
aws.ec2andaws.cloudwatch. For more information, see Event delivery from AWS services in the Amazon EventBridge User Guide.- Parameters:
source- The matched event source.Must match one of the valid EventBridge sources. Only AWS service sourced events are supported. For example,
aws.ec2andaws.cloudwatch. For more information, see Event delivery from AWS 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 to match.
Must match one of the valid Amazon EventBridge event types. For example, EC2 Instance State-change Notification and AWS CloudWatch Alarm State Change. For more information, see Event delivery from AWS services in the Amazon EventBridge User Guide.
- Parameters:
eventType- The event type to match.Must match one of the valid Amazon EventBridge event types. For example, EC2 Instance State-change Notification and AWS CloudWatch Alarm State Change. For more information, see Event delivery from AWS 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 EventRule receives.
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 this EventRule receives.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 AWS Regions that send events to this EventRule.
- Parameters:
regions- A list of AWS Regions that send events to this EventRule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regions
EventRuleStructure.Builder regions(String... regions)
A list of AWS Regions that send events to this EventRule.
- Parameters:
regions- A list of AWS Regions that send events to this EventRule.- 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 AWS User Notifications within your account so your EventRules can function.
- Parameters:
managedRules- A list of Amazon EventBridge Managed Rule ARNs associated with this EventRule.These are created by AWS User Notifications within your account so your EventRules can 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 AWS User Notifications within your account so your EventRules can function.
- Parameters:
managedRules- A list of Amazon EventBridge Managed Rule ARNs associated with this EventRule.These are created by AWS User Notifications within your account so your EventRules can 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 to EventRuleStatusSummary.
- Parameters:
statusSummaryByRegion- A list of an EventRule's status by Region. Regions are mapped to EventRuleStatusSummary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-