Interface GetEventRuleResponse.Builder

  • 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

      GetEventRuleResponse.Builder notificationConfigurationArn(String notificationConfigurationArn)

      The ARN of a NotificationConfiguration.

      Parameters:
      notificationConfigurationArn - The ARN of a NotificationConfiguration.
      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 EventRule was created.

      Parameters:
      creationTime - The date when the EventRule 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 and aws.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 and 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.
    • 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 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

      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 this EventRule.
      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 this EventRule.
      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 EventRule functions.

      Parameters:
      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.

      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 EventRule functions.

      Parameters:
      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.

      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 to EventRuleStatusSummary.

      Parameters:
      statusSummaryByRegion - A list of an EventRule's status by Region. Regions are mapped to EventRuleStatusSummary.
      Returns:
      Returns a reference to this object so that method calls can be chained together.