Class CompositeAlarmState.Builder

  • Enclosing class:
    CompositeAlarmState

    public static final class CompositeAlarmState.Builder
    extends java.lang.Object
    • Method Detail

      • actionsEnabled

        public CompositeAlarmState.Builder actionsEnabled​(@Nullable
                                                          com.pulumi.core.Output<java.lang.Boolean> actionsEnabled)
        Parameters:
        actionsEnabled - Indicates whether actions should be executed during any changes to the alarm state of the composite alarm. Defaults to `true`.
        Returns:
        builder
      • actionsEnabled

        public CompositeAlarmState.Builder actionsEnabled​(java.lang.Boolean actionsEnabled)
        Parameters:
        actionsEnabled - Indicates whether actions should be executed during any changes to the alarm state of the composite alarm. Defaults to `true`.
        Returns:
        builder
      • alarmActions

        public CompositeAlarmState.Builder alarmActions​(@Nullable
                                                        com.pulumi.core.Output<java.util.List<java.lang.String>> alarmActions)
        Parameters:
        alarmActions - The set of actions to execute when this alarm transitions to the `ALARM` state from any other state. Each action is specified as an ARN. Up to 5 actions are allowed.
        Returns:
        builder
      • alarmActions

        public CompositeAlarmState.Builder alarmActions​(java.util.List<java.lang.String> alarmActions)
        Parameters:
        alarmActions - The set of actions to execute when this alarm transitions to the `ALARM` state from any other state. Each action is specified as an ARN. Up to 5 actions are allowed.
        Returns:
        builder
      • alarmActions

        public CompositeAlarmState.Builder alarmActions​(java.lang.String... alarmActions)
        Parameters:
        alarmActions - The set of actions to execute when this alarm transitions to the `ALARM` state from any other state. Each action is specified as an ARN. Up to 5 actions are allowed.
        Returns:
        builder
      • alarmDescription

        public CompositeAlarmState.Builder alarmDescription​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> alarmDescription)
        Parameters:
        alarmDescription - The description for the composite alarm.
        Returns:
        builder
      • alarmDescription

        public CompositeAlarmState.Builder alarmDescription​(java.lang.String alarmDescription)
        Parameters:
        alarmDescription - The description for the composite alarm.
        Returns:
        builder
      • alarmName

        public CompositeAlarmState.Builder alarmName​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> alarmName)
        Parameters:
        alarmName - The name for the composite alarm. This name must be unique within the region.
        Returns:
        builder
      • alarmName

        public CompositeAlarmState.Builder alarmName​(java.lang.String alarmName)
        Parameters:
        alarmName - The name for the composite alarm. This name must be unique within the region.
        Returns:
        builder
      • alarmRule

        public CompositeAlarmState.Builder alarmRule​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> alarmRule)
        Parameters:
        alarmRule - Expression that specifies which other alarms are to be evaluated to determine this composite alarm's state. For syntax, see [Creating a Composite Alarm](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Create_Composite_Alarm.html). The maximum length is 10240 characters. Leading and trailing whitespace are not allowed.
        Returns:
        builder
      • alarmRule

        public CompositeAlarmState.Builder alarmRule​(java.lang.String alarmRule)
        Parameters:
        alarmRule - Expression that specifies which other alarms are to be evaluated to determine this composite alarm's state. For syntax, see [Creating a Composite Alarm](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Create_Composite_Alarm.html). The maximum length is 10240 characters. Leading and trailing whitespace are not allowed.
        Returns:
        builder
      • arn

        public CompositeAlarmState.Builder arn​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - The ARN of the composite alarm.
        Returns:
        builder
      • arn

        public CompositeAlarmState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - The ARN of the composite alarm.
        Returns:
        builder
      • insufficientDataActions

        public CompositeAlarmState.Builder insufficientDataActions​(@Nullable
                                                                   com.pulumi.core.Output<java.util.List<java.lang.String>> insufficientDataActions)
        Parameters:
        insufficientDataActions - The set of actions to execute when this alarm transitions to the `INSUFFICIENT_DATA` state from any other state. Each action is specified as an ARN. Up to 5 actions are allowed.
        Returns:
        builder
      • insufficientDataActions

        public CompositeAlarmState.Builder insufficientDataActions​(java.util.List<java.lang.String> insufficientDataActions)
        Parameters:
        insufficientDataActions - The set of actions to execute when this alarm transitions to the `INSUFFICIENT_DATA` state from any other state. Each action is specified as an ARN. Up to 5 actions are allowed.
        Returns:
        builder
      • insufficientDataActions

        public CompositeAlarmState.Builder insufficientDataActions​(java.lang.String... insufficientDataActions)
        Parameters:
        insufficientDataActions - The set of actions to execute when this alarm transitions to the `INSUFFICIENT_DATA` state from any other state. Each action is specified as an ARN. Up to 5 actions are allowed.
        Returns:
        builder
      • okActions

        public CompositeAlarmState.Builder okActions​(@Nullable
                                                     com.pulumi.core.Output<java.util.List<java.lang.String>> okActions)
        Parameters:
        okActions - The set of actions to execute when this alarm transitions to an `OK` state from any other state. Each action is specified as an ARN. Up to 5 actions are allowed.
        Returns:
        builder
      • okActions

        public CompositeAlarmState.Builder okActions​(java.util.List<java.lang.String> okActions)
        Parameters:
        okActions - The set of actions to execute when this alarm transitions to an `OK` state from any other state. Each action is specified as an ARN. Up to 5 actions are allowed.
        Returns:
        builder
      • okActions

        public CompositeAlarmState.Builder okActions​(java.lang.String... okActions)
        Parameters:
        okActions - The set of actions to execute when this alarm transitions to an `OK` state from any other state. Each action is specified as an ARN. Up to 5 actions are allowed.
        Returns:
        builder
      • region

        public CompositeAlarmState.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 CompositeAlarmState.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
      • tags

        public CompositeAlarmState.Builder tags​(@Nullable
                                                com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - A map of tags to associate with the alarm. Up to 50 tags are allowed. .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 CompositeAlarmState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - A map of tags to associate with the alarm. Up to 50 tags are allowed. .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 CompositeAlarmState.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 CompositeAlarmState.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