Class MetricRuleBlackListState.Builder

  • Enclosing class:
    MetricRuleBlackListState

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

      • category

        public MetricRuleBlackListState.Builder category​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> category)
        Parameters:
        category - Cloud service classification. For example, Redis includes kvstore_standard, kvstore_sharding, and kvstore_splitrw.
        Returns:
        builder
      • category

        public MetricRuleBlackListState.Builder category​(java.lang.String category)
        Parameters:
        category - Cloud service classification. For example, Redis includes kvstore_standard, kvstore_sharding, and kvstore_splitrw.
        Returns:
        builder
      • createTime

        public MetricRuleBlackListState.Builder createTime​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> createTime)
        Parameters:
        createTime - The timestamp for creating an alert blacklist policy.Unit: milliseconds.
        Returns:
        builder
      • createTime

        public MetricRuleBlackListState.Builder createTime​(java.lang.String createTime)
        Parameters:
        createTime - The timestamp for creating an alert blacklist policy.Unit: milliseconds.
        Returns:
        builder
      • effectiveTime

        public MetricRuleBlackListState.Builder effectiveTime​(@Nullable
                                                              com.pulumi.core.Output<java.lang.String> effectiveTime)
        Parameters:
        effectiveTime - The effective time range of the alert blacklist policy.
        Returns:
        builder
      • effectiveTime

        public MetricRuleBlackListState.Builder effectiveTime​(java.lang.String effectiveTime)
        Parameters:
        effectiveTime - The effective time range of the alert blacklist policy.
        Returns:
        builder
      • enableEndTime

        public MetricRuleBlackListState.Builder enableEndTime​(@Nullable
                                                              com.pulumi.core.Output<java.lang.String> enableEndTime)
        Parameters:
        enableEndTime - The start timestamp of the alert blacklist policy.Unit: milliseconds.
        Returns:
        builder
      • enableEndTime

        public MetricRuleBlackListState.Builder enableEndTime​(java.lang.String enableEndTime)
        Parameters:
        enableEndTime - The start timestamp of the alert blacklist policy.Unit: milliseconds.
        Returns:
        builder
      • enableStartTime

        public MetricRuleBlackListState.Builder enableStartTime​(@Nullable
                                                                com.pulumi.core.Output<java.lang.String> enableStartTime)
        Parameters:
        enableStartTime - The end timestamp of the alert blacklist policy.Unit: milliseconds.
        Returns:
        builder
      • enableStartTime

        public MetricRuleBlackListState.Builder enableStartTime​(java.lang.String enableStartTime)
        Parameters:
        enableStartTime - The end timestamp of the alert blacklist policy.Unit: milliseconds.
        Returns:
        builder
      • instances

        public MetricRuleBlackListState.Builder instances​(@Nullable
                                                          com.pulumi.core.Output<java.util.List<java.lang.String>> instances)
        Parameters:
        instances - The list of instances of cloud services specified in the alert blacklist policy.
        Returns:
        builder
      • instances

        public MetricRuleBlackListState.Builder instances​(java.util.List<java.lang.String> instances)
        Parameters:
        instances - The list of instances of cloud services specified in the alert blacklist policy.
        Returns:
        builder
      • instances

        public MetricRuleBlackListState.Builder instances​(java.lang.String... instances)
        Parameters:
        instances - The list of instances of cloud services specified in the alert blacklist policy.
        Returns:
        builder
      • isEnable

        public MetricRuleBlackListState.Builder isEnable​(@Nullable
                                                         com.pulumi.core.Output<java.lang.Boolean> isEnable)
        Parameters:
        isEnable - The status of the alert blacklist policy. Value:-true: enabled.-false: disabled.
        Returns:
        builder
      • isEnable

        public MetricRuleBlackListState.Builder isEnable​(java.lang.Boolean isEnable)
        Parameters:
        isEnable - The status of the alert blacklist policy. Value:-true: enabled.-false: disabled.
        Returns:
        builder
      • metricRuleBlackListId

        public MetricRuleBlackListState.Builder metricRuleBlackListId​(@Nullable
                                                                      com.pulumi.core.Output<java.lang.String> metricRuleBlackListId)
        Parameters:
        metricRuleBlackListId - The ID of the blacklist policy.
        Returns:
        builder
      • metricRuleBlackListId

        public MetricRuleBlackListState.Builder metricRuleBlackListId​(java.lang.String metricRuleBlackListId)
        Parameters:
        metricRuleBlackListId - The ID of the blacklist policy.
        Returns:
        builder
      • metricRuleBlackListName

        public MetricRuleBlackListState.Builder metricRuleBlackListName​(@Nullable
                                                                        com.pulumi.core.Output<java.lang.String> metricRuleBlackListName)
        Parameters:
        metricRuleBlackListName - The name of the alert blacklist policy.
        Returns:
        builder
      • metricRuleBlackListName

        public MetricRuleBlackListState.Builder metricRuleBlackListName​(java.lang.String metricRuleBlackListName)
        Parameters:
        metricRuleBlackListName - The name of the alert blacklist policy.
        Returns:
        builder
      • namespace

        public MetricRuleBlackListState.Builder namespace​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> namespace)
        Parameters:
        namespace - The data namespace of the cloud service.
        Returns:
        builder
      • namespace

        public MetricRuleBlackListState.Builder namespace​(java.lang.String namespace)
        Parameters:
        namespace - The data namespace of the cloud service.
        Returns:
        builder
      • scopeType

        public MetricRuleBlackListState.Builder scopeType​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> scopeType)
        Parameters:
        scopeType - The effective range of the alert blacklist policy. Value:-USER: The alert blacklist policy only takes effect in the current Alibaba cloud account.-GROUP: The alert blacklist policy takes effect in the specified application GROUP.
        Returns:
        builder
      • scopeType

        public MetricRuleBlackListState.Builder scopeType​(java.lang.String scopeType)
        Parameters:
        scopeType - The effective range of the alert blacklist policy. Value:-USER: The alert blacklist policy only takes effect in the current Alibaba cloud account.-GROUP: The alert blacklist policy takes effect in the specified application GROUP.
        Returns:
        builder
      • scopeValues

        public MetricRuleBlackListState.Builder scopeValues​(@Nullable
                                                            com.pulumi.core.Output<java.util.List<java.lang.String>> scopeValues)
        Parameters:
        scopeValues - Application Group ID list. The format is JSON Array.> This parameter is displayed only when 'ScopeType' is 'GROUP.
        Returns:
        builder
      • scopeValues

        public MetricRuleBlackListState.Builder scopeValues​(java.util.List<java.lang.String> scopeValues)
        Parameters:
        scopeValues - Application Group ID list. The format is JSON Array.> This parameter is displayed only when 'ScopeType' is 'GROUP.
        Returns:
        builder
      • scopeValues

        public MetricRuleBlackListState.Builder scopeValues​(java.lang.String... scopeValues)
        Parameters:
        scopeValues - Application Group ID list. The format is JSON Array.> This parameter is displayed only when 'ScopeType' is 'GROUP.
        Returns:
        builder
      • updateTime

        public MetricRuleBlackListState.Builder updateTime​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> updateTime)
        Parameters:
        updateTime - Modify the timestamp of the alert blacklist policy.Unit: milliseconds.
        Returns:
        builder
      • updateTime

        public MetricRuleBlackListState.Builder updateTime​(java.lang.String updateTime)
        Parameters:
        updateTime - Modify the timestamp of the alert blacklist policy.Unit: milliseconds.
        Returns:
        builder