Package com.pulumi.aws.neptune.inputs
Class EventSubscriptionState.Builder
- java.lang.Object
-
- com.pulumi.aws.neptune.inputs.EventSubscriptionState.Builder
-
- Enclosing class:
- EventSubscriptionState
public static final class EventSubscriptionState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(EventSubscriptionState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description EventSubscriptionState.Builder
arn(com.pulumi.core.Output<java.lang.String> arn)
EventSubscriptionState.Builder
arn(java.lang.String arn)
EventSubscriptionState
build()
EventSubscriptionState.Builder
customerAwsId(com.pulumi.core.Output<java.lang.String> customerAwsId)
EventSubscriptionState.Builder
customerAwsId(java.lang.String customerAwsId)
EventSubscriptionState.Builder
enabled(com.pulumi.core.Output<java.lang.Boolean> enabled)
EventSubscriptionState.Builder
enabled(java.lang.Boolean enabled)
EventSubscriptionState.Builder
eventCategories(com.pulumi.core.Output<java.util.List<java.lang.String>> eventCategories)
EventSubscriptionState.Builder
eventCategories(java.lang.String... eventCategories)
EventSubscriptionState.Builder
eventCategories(java.util.List<java.lang.String> eventCategories)
EventSubscriptionState.Builder
name(com.pulumi.core.Output<java.lang.String> name)
EventSubscriptionState.Builder
name(java.lang.String name)
EventSubscriptionState.Builder
namePrefix(com.pulumi.core.Output<java.lang.String> namePrefix)
EventSubscriptionState.Builder
namePrefix(java.lang.String namePrefix)
EventSubscriptionState.Builder
snsTopicArn(com.pulumi.core.Output<java.lang.String> snsTopicArn)
EventSubscriptionState.Builder
snsTopicArn(java.lang.String snsTopicArn)
EventSubscriptionState.Builder
sourceIds(com.pulumi.core.Output<java.util.List<java.lang.String>> sourceIds)
EventSubscriptionState.Builder
sourceIds(java.lang.String... sourceIds)
EventSubscriptionState.Builder
sourceIds(java.util.List<java.lang.String> sourceIds)
EventSubscriptionState.Builder
sourceType(com.pulumi.core.Output<java.lang.String> sourceType)
EventSubscriptionState.Builder
sourceType(java.lang.String sourceType)
EventSubscriptionState.Builder
tags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
EventSubscriptionState.Builder
tags(java.util.Map<java.lang.String,java.lang.String> tags)
EventSubscriptionState.Builder
tagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
Deprecated.Please use `tags` instead.EventSubscriptionState.Builder
tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
Deprecated.Please use `tags` instead.
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(EventSubscriptionState defaults)
-
-
Method Detail
-
arn
public EventSubscriptionState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn
- The Amazon Resource Name of the Neptune event notification subscription.- Returns:
- builder
-
arn
public EventSubscriptionState.Builder arn(java.lang.String arn)
- Parameters:
arn
- The Amazon Resource Name of the Neptune event notification subscription.- Returns:
- builder
-
customerAwsId
public EventSubscriptionState.Builder customerAwsId(@Nullable com.pulumi.core.Output<java.lang.String> customerAwsId)
- Parameters:
customerAwsId
- The AWS customer account associated with the Neptune event notification subscription.- Returns:
- builder
-
customerAwsId
public EventSubscriptionState.Builder customerAwsId(java.lang.String customerAwsId)
- Parameters:
customerAwsId
- The AWS customer account associated with the Neptune event notification subscription.- Returns:
- builder
-
enabled
public EventSubscriptionState.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 EventSubscriptionState.Builder enabled(java.lang.Boolean enabled)
- Parameters:
enabled
- A 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
- 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 EventSubscriptionState.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 EventSubscriptionState.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 EventSubscriptionState.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 EventSubscriptionState.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 EventSubscriptionState.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 EventSubscriptionState.Builder namePrefix(java.lang.String namePrefix)
- Parameters:
namePrefix
- The name of the Neptune event subscription. Conflicts with `name`.- Returns:
- builder
-
snsTopicArn
public EventSubscriptionState.Builder snsTopicArn(@Nullable com.pulumi.core.Output<java.lang.String> snsTopicArn)
- Parameters:
snsTopicArn
- The ARN of the SNS topic to send events to.- Returns:
- builder
-
snsTopicArn
public EventSubscriptionState.Builder snsTopicArn(java.lang.String snsTopicArn)
- Parameters:
snsTopicArn
- The ARN of the 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
- 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 EventSubscriptionState.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 EventSubscriptionState.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 EventSubscriptionState.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 EventSubscriptionState.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 EventSubscriptionState.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 EventSubscriptionState.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
-
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
-
build
public EventSubscriptionState build()
-
-