Class CompositeAlarmArgs.Builder

  • Enclosing class:
    CompositeAlarmArgs

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

      • actionsEnabled

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

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

        public CompositeAlarmArgs.Builder alarmName​(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 CompositeAlarmArgs.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 CompositeAlarmArgs.Builder alarmRule​(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 CompositeAlarmArgs.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
      • insufficientDataActions

        public CompositeAlarmArgs.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 CompositeAlarmArgs.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 CompositeAlarmArgs.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 CompositeAlarmArgs.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 CompositeAlarmArgs.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 CompositeAlarmArgs.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 CompositeAlarmArgs.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 CompositeAlarmArgs.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 CompositeAlarmArgs.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 CompositeAlarmArgs.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