Interface GetEventRuleResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetEventRuleResponse.Builder,
,GetEventRuleResponse> NotificationsResponse.Builder
,SdkBuilder<GetEventRuleResponse.Builder,
,GetEventRuleResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetEventRuleResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the resource.creationTime
(Instant creationTime) The date when theEventRule
was created.eventPattern
(String eventPattern) An additional event pattern used to further filter the events thisEventRule
receives.The event type to match.managedRules
(String... managedRules) A list of managed rules from EventBridge that are associated with thisEventRule
.managedRules
(Collection<String> managedRules) A list of managed rules from EventBridge that are associated with thisEventRule
.notificationConfigurationArn
(String notificationConfigurationArn) The ARN of aNotificationConfiguration
.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.statusSummaryByRegion
(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.services.notifications.model.NotificationsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
arn
The ARN of the resource.
- Parameters:
arn
- The ARN of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationConfigurationArn
The ARN of a
NotificationConfiguration
.- Parameters:
notificationConfigurationArn
- The ARN of aNotificationConfiguration
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The date when the
EventRule
was created.- Parameters:
creationTime
- The date when theEventRule
was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.ec2
andaws.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.ec2
andaws.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
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.
- 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.
-
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 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
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
A list of managed rules from EventBridge that are associated with this
EventRule
.These are created by User Notifications within your account so this
EventRule
functions.- Parameters:
managedRules
- A list of managed rules from EventBridge that are associated with thisEventRule
.These are created by User Notifications within your account so this
EventRule
functions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedRules
A list of managed rules from EventBridge that are associated with this
EventRule
.These are created by User Notifications within your account so this
EventRule
functions.- Parameters:
managedRules
- A list of managed rules from EventBridge that are associated with thisEventRule
.These are created by User Notifications within your account so this
EventRule
functions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusSummaryByRegion
GetEventRuleResponse.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.
-