Class NotificationRuleState.Builder

  • Enclosing class:
    NotificationRuleState

    public static final class NotificationRuleState.Builder
    extends java.lang.Object
    • 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
      • region

        public NotificationRuleState.Builder region​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public NotificationRuleState.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        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 `defaultTags` 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 `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

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

        public NotificationRuleState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` 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