public static final class CreateOrUpdateAssetGroupRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
CreateOrUpdateAssetGroupRequest |
build() |
CreateOrUpdateAssetGroupRequest.Builder |
groupId(Long groupId)
The ID of the server group for which you want to add to or remove servers.
|
CreateOrUpdateAssetGroupRequest.Builder |
groupName(String groupName)
The name of the server group that you want to create or the server group for which you want to add or remove a server.
|
CreateOrUpdateAssetGroupRequest.Builder |
uuids(String uuids)
The UUID of the server in the server group that you want to create or the server group for which you want to add or remove servers.
|
public CreateOrUpdateAssetGroupRequest.Builder groupId(Long groupId)
The ID of the server group for which you want to add to or remove servers.
example:To modify the mapping between an asset and an asset group, you must provide the ID of the asset group. You can call the DescribeAllGroups to query the IDs of asset groups. If you do not configure this parameter when you call this operation, an asset group is created.
55426
public CreateOrUpdateAssetGroupRequest.Builder groupName(String groupName)
The name of the server group that you want to create or the server group for which you want to add or remove a server.
example:To modify the mapping between a server and a server group, you must provide the name of the server group. You can call the DescribeAllGroups operation to query the names of server groups. If you do not configure GroupID when you call this operation, a server group is created. In this case, you must configure GroupName.
test
public CreateOrUpdateAssetGroupRequest.Builder uuids(String uuids)
The UUID of the server in the server group that you want to create or the server group for which you want to add or remove servers. Separate multiple UUIDs with commas (,).
example:You can call the DescribeCloudCenterInstances operation to query the UUIDs of servers.
aq12-,s23
public CreateOrUpdateAssetGroupRequest build()
Copyright © 2026. All rights reserved.