public static final class ModifyHybridMonitorTaskRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ModifyHybridMonitorTaskRequest.Builder |
attachLabels(List<ModifyHybridMonitorTaskRequest.AttachLabels> attachLabels)
The tags of the metric.
|
ModifyHybridMonitorTaskRequest |
build() |
ModifyHybridMonitorTaskRequest.Builder |
collectInterval(String collectInterval)
The collection period of the metric.
|
ModifyHybridMonitorTaskRequest.Builder |
description(String description)
The description of the metric import task.
|
ModifyHybridMonitorTaskRequest.Builder |
SLSProcessConfig(ModifyHybridMonitorTaskRequest.SLSProcessConfig SLSProcessConfig)
The configurations of the logs that are imported from Simple Log Service.
|
ModifyHybridMonitorTaskRequest.Builder |
taskId(String taskId)
The ID of the metric import task.
|
ModifyHybridMonitorTaskRequest.Builder |
taskName(String taskName)
The name of the metric import task.
|
public ModifyHybridMonitorTaskRequest.Builder attachLabels(List<ModifyHybridMonitorTaskRequest.AttachLabels> attachLabels)
The tags of the metric.
public ModifyHybridMonitorTaskRequest.Builder collectInterval(String collectInterval)
The collection period of the metric. Valid values:
Unit: seconds.
example:15
public ModifyHybridMonitorTaskRequest.Builder description(String description)
The description of the metric import task.
public ModifyHybridMonitorTaskRequest.Builder SLSProcessConfig(ModifyHybridMonitorTaskRequest.SLSProcessConfig SLSProcessConfig)
The configurations of the logs that are imported from Simple Log Service.
public ModifyHybridMonitorTaskRequest.Builder taskId(String taskId)
The ID of the metric import task.
For information about how to obtain the ID of a metric import task, see DescribeHybridMonitorTaskList.
This parameter is required.
example:36****
public ModifyHybridMonitorTaskRequest.Builder taskName(String taskName)
The name of the metric import task.
For information about how to obtain the ID of a metric import task, see DescribeHybridMonitorTaskList.
example:SLS_task
public ModifyHybridMonitorTaskRequest build()
Copyright © 2026. All rights reserved.