Class EventRuleState.Builder

  • Enclosing class:
    EventRuleState

    public static final class EventRuleState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • arn

        public EventRuleState.Builder arn​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the Event Rule.
        Returns:
        builder
      • arn

        public EventRuleState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the Event Rule.
        Returns:
        builder
      • eventPattern

        public EventRuleState.Builder eventPattern​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> eventPattern)
        Parameters:
        eventPattern - JSON string defining the event pattern to match. Maximum length is 4096 characters.
        Returns:
        builder
      • eventPattern

        public EventRuleState.Builder eventPattern​(java.lang.String eventPattern)
        Parameters:
        eventPattern - JSON string defining the event pattern to match. Maximum length is 4096 characters.
        Returns:
        builder
      • eventType

        public EventRuleState.Builder eventType​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> eventType)
        Parameters:
        eventType - Type of event to match. Must be between 1 and 128 characters, and match the pattern `([a-zA-Z0-9 \-\(\)])+`.
        Returns:
        builder
      • eventType

        public EventRuleState.Builder eventType​(java.lang.String eventType)
        Parameters:
        eventType - Type of event to match. Must be between 1 and 128 characters, and match the pattern `([a-zA-Z0-9 \-\(\)])+`.
        Returns:
        builder
      • notificationConfigurationArn

        public EventRuleState.Builder notificationConfigurationArn​(@Nullable
                                                                   com.pulumi.core.Output<java.lang.String> notificationConfigurationArn)
        Parameters:
        notificationConfigurationArn - ARN of the notification configuration to associate with this event rule. Must match the pattern `arn:aws:notifications::[0-9]{12}:configuration/[a-z0-9]{27}`.
        Returns:
        builder
      • notificationConfigurationArn

        public EventRuleState.Builder notificationConfigurationArn​(java.lang.String notificationConfigurationArn)
        Parameters:
        notificationConfigurationArn - ARN of the notification configuration to associate with this event rule. Must match the pattern `arn:aws:notifications::[0-9]{12}:configuration/[a-z0-9]{27}`.
        Returns:
        builder
      • regions

        public EventRuleState.Builder regions​(@Nullable
                                              com.pulumi.core.Output<java.util.List<java.lang.String>> regions)
        Parameters:
        regions - Set of AWS regions where the event rule will be applied. Each region must be between 2 and 25 characters, and match the pattern `([a-z]{1,2})-([a-z]{1,15}-)+([0-9])`.
        Returns:
        builder
      • regions

        public EventRuleState.Builder regions​(java.util.List<java.lang.String> regions)
        Parameters:
        regions - Set of AWS regions where the event rule will be applied. Each region must be between 2 and 25 characters, and match the pattern `([a-z]{1,2})-([a-z]{1,15}-)+([0-9])`.
        Returns:
        builder
      • regions

        public EventRuleState.Builder regions​(java.lang.String... regions)
        Parameters:
        regions - Set of AWS regions where the event rule will be applied. Each region must be between 2 and 25 characters, and match the pattern `([a-z]{1,2})-([a-z]{1,15}-)+([0-9])`.
        Returns:
        builder
      • source

        public EventRuleState.Builder source​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> source)
        Parameters:
        source - Source of the event. Must be between 1 and 36 characters, and match the pattern `aws.([a-z0-9\-])+`. The following arguments are optional:
        Returns:
        builder
      • source

        public EventRuleState.Builder source​(java.lang.String source)
        Parameters:
        source - Source of the event. Must be between 1 and 36 characters, and match the pattern `aws.([a-z0-9\-])+`. The following arguments are optional:
        Returns:
        builder