Interface CreateEventRuleRequest.Builder

  • Method Details

    • 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

      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

      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 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

      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

      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

      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.
    • overrideConfiguration

      CreateEventRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.