Class NotificationRuleArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.codestarnotifications.NotificationRuleArgs.Builder
-
- Enclosing class:
- NotificationRuleArgs
public static final class NotificationRuleArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(NotificationRuleArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NotificationRuleArgs
build()
NotificationRuleArgs.Builder
detailType(com.pulumi.core.Output<java.lang.String> detailType)
NotificationRuleArgs.Builder
detailType(java.lang.String detailType)
NotificationRuleArgs.Builder
eventTypeIds(com.pulumi.core.Output<java.util.List<java.lang.String>> eventTypeIds)
NotificationRuleArgs.Builder
eventTypeIds(java.lang.String... eventTypeIds)
NotificationRuleArgs.Builder
eventTypeIds(java.util.List<java.lang.String> eventTypeIds)
NotificationRuleArgs.Builder
name(com.pulumi.core.Output<java.lang.String> name)
NotificationRuleArgs.Builder
name(java.lang.String name)
NotificationRuleArgs.Builder
resource(com.pulumi.core.Output<java.lang.String> resource)
NotificationRuleArgs.Builder
resource(java.lang.String resource)
NotificationRuleArgs.Builder
status(com.pulumi.core.Output<java.lang.String> status)
NotificationRuleArgs.Builder
status(java.lang.String status)
NotificationRuleArgs.Builder
tags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
NotificationRuleArgs.Builder
tags(java.util.Map<java.lang.String,java.lang.String> tags)
NotificationRuleArgs.Builder
targets(NotificationRuleTargetArgs... targets)
NotificationRuleArgs.Builder
targets(com.pulumi.core.Output<java.util.List<NotificationRuleTargetArgs>> targets)
NotificationRuleArgs.Builder
targets(java.util.List<NotificationRuleTargetArgs> targets)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(NotificationRuleArgs defaults)
-
-
Method Detail
-
detailType
public NotificationRuleArgs.Builder detailType(com.pulumi.core.Output<java.lang.String> detailType)
- Parameters:
detailType
- The level of detail to include in the notifications for this resource. Possible values are `BASIC` and `FULL`.- Returns:
- builder
-
detailType
public NotificationRuleArgs.Builder detailType(java.lang.String detailType)
- Parameters:
detailType
- The level of detail to include in the notifications for this resource. Possible values are `BASIC` and `FULL`.- Returns:
- builder
-
eventTypeIds
public NotificationRuleArgs.Builder eventTypeIds(com.pulumi.core.Output<java.util.List<java.lang.String>> eventTypeIds)
- Parameters:
eventTypeIds
- A list of event types associated with this notification rule. For list of allowed events see [here](https://docs.aws.amazon.com/codestar-notifications/latest/userguide/concepts.html#concepts-api).- Returns:
- builder
-
eventTypeIds
public NotificationRuleArgs.Builder eventTypeIds(java.util.List<java.lang.String> eventTypeIds)
- Parameters:
eventTypeIds
- A list of event types associated with this notification rule. For list of allowed events see [here](https://docs.aws.amazon.com/codestar-notifications/latest/userguide/concepts.html#concepts-api).- Returns:
- builder
-
eventTypeIds
public NotificationRuleArgs.Builder eventTypeIds(java.lang.String... eventTypeIds)
- Parameters:
eventTypeIds
- A list of event types associated with this notification rule. For list of allowed events see [here](https://docs.aws.amazon.com/codestar-notifications/latest/userguide/concepts.html#concepts-api).- Returns:
- builder
-
name
public NotificationRuleArgs.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name
- The name of notification rule.- Returns:
- builder
-
name
public NotificationRuleArgs.Builder name(java.lang.String name)
- Parameters:
name
- The name of notification rule.- Returns:
- builder
-
resource
public NotificationRuleArgs.Builder resource(com.pulumi.core.Output<java.lang.String> resource)
- Parameters:
resource
- The ARN of the resource to associate with the notification rule.- Returns:
- builder
-
resource
public NotificationRuleArgs.Builder resource(java.lang.String resource)
- Parameters:
resource
- The ARN of the resource to associate with the notification rule.- Returns:
- builder
-
status
public NotificationRuleArgs.Builder status(@Nullable com.pulumi.core.Output<java.lang.String> status)
- Parameters:
status
- The status of the notification rule. Possible values are `ENABLED` and `DISABLED`, default is `ENABLED`.- Returns:
- builder
-
status
public NotificationRuleArgs.Builder status(java.lang.String status)
- Parameters:
status
- The status of the notification rule. Possible values are `ENABLED` and `DISABLED`, default is `ENABLED`.- Returns:
- builder
-
tags
public NotificationRuleArgs.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 NotificationRuleArgs.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
-
targets
public NotificationRuleArgs.Builder targets(@Nullable com.pulumi.core.Output<java.util.List<NotificationRuleTargetArgs>> targets)
- Parameters:
targets
- Configuration blocks containing notification target information. Can be specified multiple times. At least one target must be specified on creation.- Returns:
- builder
-
targets
public NotificationRuleArgs.Builder targets(java.util.List<NotificationRuleTargetArgs> targets)
- Parameters:
targets
- Configuration blocks containing notification target information. Can be specified multiple times. At least one target must be specified on creation.- Returns:
- builder
-
targets
public NotificationRuleArgs.Builder targets(NotificationRuleTargetArgs... targets)
- Parameters:
targets
- Configuration blocks containing notification target information. Can be specified multiple times. At least one target must be specified on creation.- Returns:
- builder
-
build
public NotificationRuleArgs build()
-
-