Class EventSubscriptionState.Builder

  • Enclosing class:
    EventSubscriptionState

    public static final class EventSubscriptionState.Builder
    extends java.lang.Object
    • Method Detail

      • arn

        public EventSubscriptionState.Builder arn​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the RDS event notification subscription
        Returns:
        builder
      • arn

        public EventSubscriptionState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the RDS event notification subscription
        Returns:
        builder
      • customerAwsId

        public EventSubscriptionState.Builder customerAwsId​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> customerAwsId)
        Parameters:
        customerAwsId - AWS customer account associated with the RDS event notification subscription
        Returns:
        builder
      • customerAwsId

        public EventSubscriptionState.Builder customerAwsId​(java.lang.String customerAwsId)
        Parameters:
        customerAwsId - AWS customer account associated with the RDS event notification subscription
        Returns:
        builder
      • enabled

        public EventSubscriptionState.Builder enabled​(@Nullable
                                                      com.pulumi.core.Output<java.lang.Boolean> enabled)
        Parameters:
        enabled - Boolean flag to enable/disable the subscription. Defaults to `true`.
        Returns:
        builder
      • enabled

        public EventSubscriptionState.Builder enabled​(java.lang.Boolean enabled)
        Parameters:
        enabled - Boolean flag to enable/disable the subscription. Defaults to `true`.
        Returns:
        builder
      • eventCategories

        public EventSubscriptionState.Builder eventCategories​(@Nullable
                                                              com.pulumi.core.Output<java.util.List<java.lang.String>> eventCategories)
        Parameters:
        eventCategories - List of event categories for a SourceType that you want to subscribe to. See http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.html or run `aws rds describe-event-categories`.
        Returns:
        builder
      • eventCategories

        public EventSubscriptionState.Builder eventCategories​(java.util.List<java.lang.String> eventCategories)
        Parameters:
        eventCategories - List of event categories for a SourceType that you want to subscribe to. See http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.html or run `aws rds describe-event-categories`.
        Returns:
        builder
      • eventCategories

        public EventSubscriptionState.Builder eventCategories​(java.lang.String... eventCategories)
        Parameters:
        eventCategories - List of event categories for a SourceType that you want to subscribe to. See http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.html or run `aws rds describe-event-categories`.
        Returns:
        builder
      • name

        public EventSubscriptionState.Builder name​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the DB event subscription. By default generated by Terraform.
        Returns:
        builder
      • name

        public EventSubscriptionState.Builder name​(java.lang.String name)
        Parameters:
        name - Name of the DB event subscription. By default generated by Terraform.
        Returns:
        builder
      • namePrefix

        public EventSubscriptionState.Builder namePrefix​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> namePrefix)
        Parameters:
        namePrefix - Creates a unique name beginning with the specified prefix. Conflicts with `name`.
        Returns:
        builder
      • namePrefix

        public EventSubscriptionState.Builder namePrefix​(java.lang.String namePrefix)
        Parameters:
        namePrefix - Creates a unique name beginning with the specified prefix. Conflicts with `name`.
        Returns:
        builder
      • region

        public EventSubscriptionState.Builder region​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public EventSubscriptionState.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • snsTopic

        public EventSubscriptionState.Builder snsTopic​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> snsTopic)
        Parameters:
        snsTopic - SNS topic to send events to.
        Returns:
        builder
      • snsTopic

        public EventSubscriptionState.Builder snsTopic​(java.lang.String snsTopic)
        Parameters:
        snsTopic - SNS topic to send events to.
        Returns:
        builder
      • sourceIds

        public EventSubscriptionState.Builder sourceIds​(@Nullable
                                                        com.pulumi.core.Output<java.util.List<java.lang.String>> sourceIds)
        Parameters:
        sourceIds - List of identifiers of the event sources for which events will be returned. If not specified, then all sources are included in the response. If specified, a sourceType must also be specified.
        Returns:
        builder
      • sourceIds

        public EventSubscriptionState.Builder sourceIds​(java.util.List<java.lang.String> sourceIds)
        Parameters:
        sourceIds - List of identifiers of the event sources for which events will be returned. If not specified, then all sources are included in the response. If specified, a sourceType must also be specified.
        Returns:
        builder
      • sourceIds

        public EventSubscriptionState.Builder sourceIds​(java.lang.String... sourceIds)
        Parameters:
        sourceIds - List of identifiers of the event sources for which events will be returned. If not specified, then all sources are included in the response. If specified, a sourceType must also be specified.
        Returns:
        builder
      • sourceType

        public EventSubscriptionState.Builder sourceType​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> sourceType)
        Parameters:
        sourceType - Type of source that will be generating the events. Valid options are `db-instance`, `db-parameter-group`, `db-security-group`, `db-snapshot`, `db-cluster`, `db-cluster-snapshot`, `custom-engine-version`, `db-proxy`, `blue-green-deployment`, `db-shard-group`, and `zero-etl`. If not set, all sources will be subscribed to.
        Returns:
        builder
      • sourceType

        public EventSubscriptionState.Builder sourceType​(java.lang.String sourceType)
        Parameters:
        sourceType - Type of source that will be generating the events. Valid options are `db-instance`, `db-parameter-group`, `db-security-group`, `db-snapshot`, `db-cluster`, `db-cluster-snapshot`, `custom-engine-version`, `db-proxy`, `blue-green-deployment`, `db-shard-group`, and `zero-etl`. If not set, all sources will be subscribed to.
        Returns:
        builder
      • tags

        public EventSubscriptionState.Builder tags​(@Nullable
                                                   com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public EventSubscriptionState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

        public EventSubscriptionState.Builder tagsAll​(@Nullable
                                                      com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public EventSubscriptionState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder