Package com.pulumi.aws.neptune
Class EventSubscriptionArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.neptune.EventSubscriptionArgs.Builder
-
- Enclosing class:
- EventSubscriptionArgs
public static final class EventSubscriptionArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(EventSubscriptionArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventSubscriptionArgs
build()
EventSubscriptionArgs.Builder
enabled(com.pulumi.core.Output<java.lang.Boolean> enabled)
EventSubscriptionArgs.Builder
enabled(java.lang.Boolean enabled)
EventSubscriptionArgs.Builder
eventCategories(com.pulumi.core.Output<java.util.List<java.lang.String>> eventCategories)
EventSubscriptionArgs.Builder
eventCategories(java.lang.String... eventCategories)
EventSubscriptionArgs.Builder
eventCategories(java.util.List<java.lang.String> eventCategories)
EventSubscriptionArgs.Builder
name(com.pulumi.core.Output<java.lang.String> name)
EventSubscriptionArgs.Builder
name(java.lang.String name)
EventSubscriptionArgs.Builder
namePrefix(com.pulumi.core.Output<java.lang.String> namePrefix)
EventSubscriptionArgs.Builder
namePrefix(java.lang.String namePrefix)
EventSubscriptionArgs.Builder
snsTopicArn(com.pulumi.core.Output<java.lang.String> snsTopicArn)
EventSubscriptionArgs.Builder
snsTopicArn(java.lang.String snsTopicArn)
EventSubscriptionArgs.Builder
sourceIds(com.pulumi.core.Output<java.util.List<java.lang.String>> sourceIds)
EventSubscriptionArgs.Builder
sourceIds(java.lang.String... sourceIds)
EventSubscriptionArgs.Builder
sourceIds(java.util.List<java.lang.String> sourceIds)
EventSubscriptionArgs.Builder
sourceType(com.pulumi.core.Output<java.lang.String> sourceType)
EventSubscriptionArgs.Builder
sourceType(java.lang.String sourceType)
EventSubscriptionArgs.Builder
tags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
EventSubscriptionArgs.Builder
tags(java.util.Map<java.lang.String,java.lang.String> tags)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(EventSubscriptionArgs defaults)
-
-
Method Detail
-
enabled
public EventSubscriptionArgs.Builder enabled(@Nullable com.pulumi.core.Output<java.lang.Boolean> enabled)
- Parameters:
enabled
- A boolean flag to enable/disable the subscription. Defaults to true.- Returns:
- builder
-
enabled
public EventSubscriptionArgs.Builder enabled(java.lang.Boolean enabled)
- Parameters:
enabled
- A boolean flag to enable/disable the subscription. Defaults to true.- Returns:
- builder
-
eventCategories
public EventSubscriptionArgs.Builder eventCategories(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> eventCategories)
- Parameters:
eventCategories
- A list of event categories for a `source_type` that you want to subscribe to. Run `aws neptune describe-event-categories` to find all the event categories.- Returns:
- builder
-
eventCategories
public EventSubscriptionArgs.Builder eventCategories(java.util.List<java.lang.String> eventCategories)
- Parameters:
eventCategories
- A list of event categories for a `source_type` that you want to subscribe to. Run `aws neptune describe-event-categories` to find all the event categories.- Returns:
- builder
-
eventCategories
public EventSubscriptionArgs.Builder eventCategories(java.lang.String... eventCategories)
- Parameters:
eventCategories
- A list of event categories for a `source_type` that you want to subscribe to. Run `aws neptune describe-event-categories` to find all the event categories.- Returns:
- builder
-
name
public EventSubscriptionArgs.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name
- The name of the Neptune event subscription. By default generated by this provider.- Returns:
- builder
-
name
public EventSubscriptionArgs.Builder name(java.lang.String name)
- Parameters:
name
- The name of the Neptune event subscription. By default generated by this provider.- Returns:
- builder
-
namePrefix
public EventSubscriptionArgs.Builder namePrefix(@Nullable com.pulumi.core.Output<java.lang.String> namePrefix)
- Parameters:
namePrefix
- The name of the Neptune event subscription. Conflicts with `name`.- Returns:
- builder
-
namePrefix
public EventSubscriptionArgs.Builder namePrefix(java.lang.String namePrefix)
- Parameters:
namePrefix
- The name of the Neptune event subscription. Conflicts with `name`.- Returns:
- builder
-
snsTopicArn
public EventSubscriptionArgs.Builder snsTopicArn(com.pulumi.core.Output<java.lang.String> snsTopicArn)
- Parameters:
snsTopicArn
- The ARN of the SNS topic to send events to.- Returns:
- builder
-
snsTopicArn
public EventSubscriptionArgs.Builder snsTopicArn(java.lang.String snsTopicArn)
- Parameters:
snsTopicArn
- The ARN of the SNS topic to send events to.- Returns:
- builder
-
sourceIds
public EventSubscriptionArgs.Builder sourceIds(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> sourceIds)
- Parameters:
sourceIds
- A 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 `source_type` must also be specified.- Returns:
- builder
-
sourceIds
public EventSubscriptionArgs.Builder sourceIds(java.util.List<java.lang.String> sourceIds)
- Parameters:
sourceIds
- A 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 `source_type` must also be specified.- Returns:
- builder
-
sourceIds
public EventSubscriptionArgs.Builder sourceIds(java.lang.String... sourceIds)
- Parameters:
sourceIds
- A 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 `source_type` must also be specified.- Returns:
- builder
-
sourceType
public EventSubscriptionArgs.Builder sourceType(@Nullable com.pulumi.core.Output<java.lang.String> sourceType)
- Parameters:
sourceType
- The type of source that will be generating the events. Valid options are `db-instance`, `db-security-group`, `db-parameter-group`, `db-snapshot`, `db-cluster` or `db-cluster-snapshot`. If not set, all sources will be subscribed to.- Returns:
- builder
-
sourceType
public EventSubscriptionArgs.Builder sourceType(java.lang.String sourceType)
- Parameters:
sourceType
- The type of source that will be generating the events. Valid options are `db-instance`, `db-security-group`, `db-parameter-group`, `db-snapshot`, `db-cluster` or `db-cluster-snapshot`. If not set, all sources will be subscribed to.- Returns:
- builder
-
tags
public EventSubscriptionArgs.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags
- A map of 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 EventSubscriptionArgs.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags
- A map of 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
-
build
public EventSubscriptionArgs build()
-
-