Class NotificationRuleState.Builder
- java.lang.Object
-
- com.pulumi.aws.codestarnotifications.inputs.NotificationRuleState.Builder
-
- Enclosing class:
- NotificationRuleState
public static final class NotificationRuleState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(NotificationRuleState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description NotificationRuleState.Builder
arn(com.pulumi.core.Output<java.lang.String> arn)
NotificationRuleState.Builder
arn(java.lang.String arn)
NotificationRuleState
build()
NotificationRuleState.Builder
detailType(com.pulumi.core.Output<java.lang.String> detailType)
NotificationRuleState.Builder
detailType(java.lang.String detailType)
NotificationRuleState.Builder
eventTypeIds(com.pulumi.core.Output<java.util.List<java.lang.String>> eventTypeIds)
NotificationRuleState.Builder
eventTypeIds(java.lang.String... eventTypeIds)
NotificationRuleState.Builder
eventTypeIds(java.util.List<java.lang.String> eventTypeIds)
NotificationRuleState.Builder
name(com.pulumi.core.Output<java.lang.String> name)
NotificationRuleState.Builder
name(java.lang.String name)
NotificationRuleState.Builder
resource(com.pulumi.core.Output<java.lang.String> resource)
NotificationRuleState.Builder
resource(java.lang.String resource)
NotificationRuleState.Builder
status(com.pulumi.core.Output<java.lang.String> status)
NotificationRuleState.Builder
status(java.lang.String status)
NotificationRuleState.Builder
tags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
NotificationRuleState.Builder
tags(java.util.Map<java.lang.String,java.lang.String> tags)
NotificationRuleState.Builder
tagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
Deprecated.Please use `tags` instead.NotificationRuleState.Builder
tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
Deprecated.Please use `tags` instead.NotificationRuleState.Builder
targets(NotificationRuleTargetArgs... targets)
NotificationRuleState.Builder
targets(com.pulumi.core.Output<java.util.List<NotificationRuleTargetArgs>> targets)
NotificationRuleState.Builder
targets(java.util.List<NotificationRuleTargetArgs> targets)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(NotificationRuleState defaults)
-
-
Method Detail
-
arn
public NotificationRuleState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn
- The codestar notification rule ARN.- Returns:
- builder
-
arn
public NotificationRuleState.Builder arn(java.lang.String arn)
- Parameters:
arn
- The codestar notification rule ARN.- Returns:
- builder
-
detailType
public NotificationRuleState.Builder detailType(@Nullable 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 NotificationRuleState.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 NotificationRuleState.Builder eventTypeIds(@Nullable 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 NotificationRuleState.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 NotificationRuleState.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 NotificationRuleState.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name
- The name of notification rule.- Returns:
- builder
-
name
public NotificationRuleState.Builder name(java.lang.String name)
- Parameters:
name
- The name of notification rule.- Returns:
- builder
-
resource
public NotificationRuleState.Builder resource(@Nullable 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 NotificationRuleState.Builder resource(java.lang.String resource)
- Parameters:
resource
- The ARN of the resource to associate with the notification rule.- Returns:
- builder
-
status
public NotificationRuleState.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 NotificationRuleState.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 NotificationRuleState.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 NotificationRuleState.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 NotificationRuleState.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 NotificationRuleState.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
-
targets
public NotificationRuleState.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 NotificationRuleState.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 NotificationRuleState.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 NotificationRuleState build()
-
-