Interface CreateEventRuleRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateEventRuleRequest.Builder,CreateEventRuleRequest>,NotificationsRequest.Builder,SdkBuilder<CreateEventRuleRequest.Builder,CreateEventRuleRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateEventRuleRequest
public static interface CreateEventRuleRequest.Builder extends NotificationsRequest.Builder, SdkPojo, CopyableBuilder<CreateEventRuleRequest.Builder,CreateEventRuleRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateEventRuleRequest.BuildereventPattern(String eventPattern)An additional event pattern used to further filter the events this EventRule receives.CreateEventRuleRequest.BuildereventType(String eventType)The event type to match.CreateEventRuleRequest.BuildernotificationConfigurationArn(String notificationConfigurationArn)The Amazon Resource Name (ARN) of the NotificationConfiguration associated with this EventRule.CreateEventRuleRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateEventRuleRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateEventRuleRequest.Builderregions(String... regions)A list of AWS Regions that send events to this EventRule.CreateEventRuleRequest.Builderregions(Collection<String> regions)A list of AWS Regions that send events to this EventRule.CreateEventRuleRequest.Buildersource(String source)The matched event source.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.notifications.model.NotificationsRequest.Builder
build
-
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
-
notificationConfigurationArn
CreateEventRuleRequest.Builder notificationConfigurationArn(String notificationConfigurationArn)
The Amazon Resource Name (ARN) of the NotificationConfiguration associated with this EventRule.
- Parameters:
notificationConfigurationArn- The Amazon Resource Name (ARN) of the NotificationConfiguration associated with this EventRule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
CreateEventRuleRequest.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
CreateEventRuleRequest.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
CreateEventRuleRequest.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
CreateEventRuleRequest.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
CreateEventRuleRequest.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.
-
overrideConfiguration
CreateEventRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateEventRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-