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 - Amazon Resource Name (ARN) of the DMS Event Subscription.
        Returns:
        builder
      • arn

        public EventSubscriptionState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - Amazon Resource Name (ARN) of the DMS Event Subscription.
        Returns:
        builder
      • enabled

        public EventSubscriptionState.Builder enabled​(@Nullable
                                                      com.pulumi.core.Output<java.lang.Boolean> enabled)
        Parameters:
        enabled - Whether the event subscription should be enabled.
        Returns:
        builder
      • enabled

        public EventSubscriptionState.Builder enabled​(java.lang.Boolean enabled)
        Parameters:
        enabled - Whether the event subscription should be enabled.
        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 to listen for, see `DescribeEventCategories` for a canonical list.
        Returns:
        builder
      • eventCategories

        public EventSubscriptionState.Builder eventCategories​(java.util.List<java.lang.String> eventCategories)
        Parameters:
        eventCategories - List of event categories to listen for, see `DescribeEventCategories` for a canonical list.
        Returns:
        builder
      • eventCategories

        public EventSubscriptionState.Builder eventCategories​(java.lang.String... eventCategories)
        Parameters:
        eventCategories - List of event categories to listen for, see `DescribeEventCategories` for a canonical list.
        Returns:
        builder
      • name

        public EventSubscriptionState.Builder name​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of event subscription.
        Returns:
        builder
      • snsTopicArn

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

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

        public EventSubscriptionState.Builder sourceIds​(@Nullable
                                                        com.pulumi.core.Output<java.util.List<java.lang.String>> sourceIds)
        Parameters:
        sourceIds - Ids of sources to listen to. If you don't specify a value, notifications are provided for all sources.
        Returns:
        builder
      • sourceIds

        public EventSubscriptionState.Builder sourceIds​(java.util.List<java.lang.String> sourceIds)
        Parameters:
        sourceIds - Ids of sources to listen to. If you don't specify a value, notifications are provided for all sources.
        Returns:
        builder
      • sourceIds

        public EventSubscriptionState.Builder sourceIds​(java.lang.String... sourceIds)
        Parameters:
        sourceIds - Ids of sources to listen to. If you don't specify a value, notifications are provided for all sources.
        Returns:
        builder
      • sourceType

        public EventSubscriptionState.Builder sourceType​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> sourceType)
        Parameters:
        sourceType - Type of source for events. Valid values: `replication-instance` or `replication-task`
        Returns:
        builder
      • sourceType

        public EventSubscriptionState.Builder sourceType​(java.lang.String sourceType)
        Parameters:
        sourceType - Type of source for events. Valid values: `replication-instance` or `replication-task`
        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 resource tags to assign to the resource. If configured with a provider `default_tags` 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 resource tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

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

        @Deprecated
        public EventSubscriptionState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder