Interface GetEventRuleResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetEventRuleResponse.Builder,GetEventRuleResponse>,NotificationsResponse.Builder,SdkBuilder<GetEventRuleResponse.Builder,GetEventRuleResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetEventRuleResponse
public static interface GetEventRuleResponse.Builder extends NotificationsResponse.Builder, SdkPojo, CopyableBuilder<GetEventRuleResponse.Builder,GetEventRuleResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetEventRuleResponse.Builderarn(String arn)The ARN of the resource.GetEventRuleResponse.BuildercreationTime(Instant creationTime)The date when theEventRulewas created.GetEventRuleResponse.BuildereventPattern(String eventPattern)An additional event pattern used to further filter the events thisEventRulereceives.GetEventRuleResponse.BuildereventType(String eventType)The event type to match.GetEventRuleResponse.BuildermanagedRules(String... managedRules)A list of managed rules from EventBridge that are associated with thisEventRule.GetEventRuleResponse.BuildermanagedRules(Collection<String> managedRules)A list of managed rules from EventBridge that are associated with thisEventRule.GetEventRuleResponse.BuildernotificationConfigurationArn(String notificationConfigurationArn)The ARN of aNotificationConfiguration.GetEventRuleResponse.Builderregions(String... regions)A list of Amazon Web Services Regions that send events to thisEventRule.GetEventRuleResponse.Builderregions(Collection<String> regions)A list of Amazon Web Services Regions that send events to thisEventRule.GetEventRuleResponse.Buildersource(String source)The matched event source.GetEventRuleResponse.BuilderstatusSummaryByRegion(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 Detail
-
arn
GetEventRuleResponse.Builder arn(String 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
GetEventRuleResponse.Builder notificationConfigurationArn(String 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
GetEventRuleResponse.Builder creationTime(Instant creationTime)
The date when the
EventRulewas created.- Parameters:
creationTime- The date when theEventRulewas created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
GetEventRuleResponse.Builder source(String 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.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.ec2andaws.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
GetEventRuleResponse.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 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
GetEventRuleResponse.Builder eventPattern(String 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.
- Parameters:
eventPattern- An additional event pattern used to further filter the events thisEventRulereceives.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
GetEventRuleResponse.Builder regions(Collection<String> 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
GetEventRuleResponse.Builder regions(String... 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
GetEventRuleResponse.Builder managedRules(Collection<String> 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
EventRulefunctions.- 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
EventRulefunctions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedRules
GetEventRuleResponse.Builder managedRules(String... 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
EventRulefunctions.- 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
EventRulefunctions.- 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.
-
-