Interface CreateEventRuleRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<CreateEventRuleRequest.Builder,,- CreateEventRuleRequest> - NotificationsRequest.Builder,- SdkBuilder<CreateEventRuleRequest.Builder,,- CreateEventRuleRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- CreateEventRuleRequest
- 
Method SummaryModifier and TypeMethodDescriptioneventPattern(String eventPattern) An additional event pattern used to further filter the events thisEventRulereceives.The event type to match.notificationConfigurationArn(String notificationConfigurationArn) The Amazon Resource Name (ARN) of theNotificationConfigurationassociated with thisEventRule.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.A list of Amazon Web Services Regions that send events to thisEventRule.regions(Collection<String> regions) A list of Amazon Web Services Regions that send events to thisEventRule.The matched event source.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.notifications.model.NotificationsRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
notificationConfigurationArnThe Amazon Resource Name (ARN) of the NotificationConfigurationassociated with thisEventRule.- Parameters:
- notificationConfigurationArn- The Amazon Resource Name (ARN) of the- NotificationConfigurationassociated with this- EventRule.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
sourceThe matched event source. Must match one of the valid EventBridge 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 matched event source.- Must match one of the valid EventBridge sources. Only Amazon Web Services service sourced events are supported. For example, - aws.ec2and- aws.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.
 
- 
eventTypeThe event type to match. Must match one of the valid Amazon EventBridge event types. For example, EC2 Instance State-change Notification and Amazon CloudWatch Alarm State Change. For more information, see Event delivery from Amazon Web Services 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 Amazon CloudWatch Alarm 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.
 
- 
eventPatternAn 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 this- EventRulereceives.- 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.
 
- 
regionsA 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 this- EventRule.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
regionsA 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 this- EventRule.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
overrideConfigurationCreateEventRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationCreateEventRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-