public static final class CreateMonitorGroupByResourceGroupIdRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
CreateMonitorGroupByResourceGroupIdRequest |
build() |
CreateMonitorGroupByResourceGroupIdRequest.Builder |
contactGroupList(List<String> contactGroupList)
The alert contact groups.
|
CreateMonitorGroupByResourceGroupIdRequest.Builder |
enableInstallAgent(Boolean enableInstallAgent)
Specifies whether the CloudMonitor agent is automatically installed for the application group.
|
CreateMonitorGroupByResourceGroupIdRequest.Builder |
enableSubscribeEvent(Boolean enableSubscribeEvent)
Specifies whether the application group automatically subscribes to event notifications.
|
CreateMonitorGroupByResourceGroupIdRequest.Builder |
regionId(String regionId)
The ID of the region where the resource group resides.
|
CreateMonitorGroupByResourceGroupIdRequest.Builder |
resourceGroupId(String resourceGroupId)
The ID of the resource group.
|
CreateMonitorGroupByResourceGroupIdRequest.Builder |
resourceGroupName(String resourceGroupName)
The name of the resource group.
|
public CreateMonitorGroupByResourceGroupIdRequest.Builder contactGroupList(List<String> contactGroupList)
An alert contact group can contain one or more alert contacts. For information about how to create alert contacts and alert contact groups, see [PutContact](~~114923~~) and [PutContactGroup](~~114929~~). For information about how to obtain alert contact groups, see [DescribeContactGroupList](~~114922~~).
public CreateMonitorGroupByResourceGroupIdRequest.Builder enableInstallAgent(Boolean enableInstallAgent)
* true: The CloudMonitor agent is automatically installed. * false (default): The CloudMonitor agent is not automatically installed.
public CreateMonitorGroupByResourceGroupIdRequest.Builder enableSubscribeEvent(Boolean enableSubscribeEvent)
* true: The application group automatically subscribes to event notifications. * false (default): The application group does not automatically subscribe to event notifications.
public CreateMonitorGroupByResourceGroupIdRequest.Builder regionId(String regionId)
For information about how to obtain the ID of the region where a resource group resides, see [GetResourceGroup](~~158866~~).
public CreateMonitorGroupByResourceGroupIdRequest.Builder resourceGroupId(String resourceGroupId)
For information about how to obtain the ID of a resource group, see [ListResourceGroups](~~158855~~).
public CreateMonitorGroupByResourceGroupIdRequest.Builder resourceGroupName(String resourceGroupName)
For information about how to obtain the name of a resource group, see [ListResourceGroups](~~158855~~).
public CreateMonitorGroupByResourceGroupIdRequest build()
Copyright © 2024. All rights reserved.