Interface EventRuleStructure.Builder

    • Method Detail

      • arn

        EventRuleStructure.Builder arn​(String arn)

        The Amazon Resource Name (ARN) of the resource.

        Parameters:
        arn - The Amazon Resource Name (ARN) of the resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • notificationConfigurationArn

        EventRuleStructure.Builder notificationConfigurationArn​(String notificationConfigurationArn)

        The ARN for the NotificationConfiguration associated with this EventRule.

        Parameters:
        notificationConfigurationArn - The ARN for the NotificationConfiguration associated with this EventRule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationTime

        EventRuleStructure.Builder creationTime​(Instant creationTime)

        The creation time of the resource.

        Parameters:
        creationTime - The creation time of the resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • source

        EventRuleStructure.Builder source​(String source)

        The matched event source.

        Must match one of the valid EventBridge sources. Only AWS service sourced events are supported. For example, aws.ec2 and aws.cloudwatch. For more information, see Event delivery from AWS services in the Amazon EventBridge User Guide.

        Parameters:
        source - The matched event source.

        Must match one of the valid EventBridge sources. Only AWS service sourced events are supported. For example, aws.ec2 and aws.cloudwatch. For more information, see Event delivery from AWS services in the Amazon EventBridge User Guide.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • eventType

        EventRuleStructure.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 AWS CloudWatch Alarm State Change. For more information, see Event delivery from AWS 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 AWS CloudWatch Alarm State Change. For more information, see Event delivery from AWS services in the Amazon EventBridge User Guide.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • eventPattern

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

        EventRuleStructure.Builder regions​(Collection<String> regions)

        A list of AWS Regions that send events to this EventRule.

        Parameters:
        regions - A list of AWS Regions that send events to this EventRule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • regions

        EventRuleStructure.Builder regions​(String... regions)

        A list of AWS Regions that send events to this EventRule.

        Parameters:
        regions - A list of AWS Regions that send events to this EventRule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • managedRules

        EventRuleStructure.Builder managedRules​(Collection<String> managedRules)

        A list of Amazon EventBridge Managed Rule ARNs associated with this EventRule.

        These are created by AWS User Notifications within your account so your EventRules can function.

        Parameters:
        managedRules - A list of Amazon EventBridge Managed Rule ARNs associated with this EventRule.

        These are created by AWS User Notifications within your account so your EventRules can function.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • managedRules

        EventRuleStructure.Builder managedRules​(String... managedRules)

        A list of Amazon EventBridge Managed Rule ARNs associated with this EventRule.

        These are created by AWS User Notifications within your account so your EventRules can function.

        Parameters:
        managedRules - A list of Amazon EventBridge Managed Rule ARNs associated with this EventRule.

        These are created by AWS User Notifications within your account so your EventRules can function.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • statusSummaryByRegion

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