Interface UpdateEventRuleRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateEventRuleRequest.Builder,
,UpdateEventRuleRequest> NotificationsRequest.Builder
,SdkBuilder<UpdateEventRuleRequest.Builder,
,UpdateEventRuleRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateEventRuleRequest
@Mutable
@NotThreadSafe
public static interface UpdateEventRuleRequest.Builder
extends NotificationsRequest.Builder, SdkPojo, CopyableBuilder<UpdateEventRuleRequest.Builder,UpdateEventRuleRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) to use to update theEventRule
.eventPattern
(String eventPattern) An additional event pattern used to further filter the events thisEventRule
receives.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 sends events to thisEventRule
.regions
(Collection<String> regions) A list of Amazon Web Services Regions that sends events to thisEventRule
.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 Details
-
arn
The Amazon Resource Name (ARN) to use to update the
EventRule
.- Parameters:
arn
- The Amazon Resource Name (ARN) to use to update theEventRule
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 thisEventRule
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
A list of Amazon Web Services Regions that sends events to this
EventRule
.- Parameters:
regions
- A list of Amazon Web Services Regions that sends events to thisEventRule
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regions
A list of Amazon Web Services Regions that sends events to this
EventRule
.- Parameters:
regions
- A list of Amazon Web Services Regions that sends events to thisEventRule
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateEventRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateEventRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-