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)
> 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](~~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.
public CreateOrUpdateAssetGroupRequest.Builder groupName(String groupName)
> 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](~~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.
public CreateOrUpdateAssetGroupRequest.Builder uuids(String uuids)
> You can call the [DescribeCloudCenterInstances](~~DescribeCloudCenterInstances~~) operation to query the UUIDs of servers.
public CreateOrUpdateAssetGroupRequest build()
Copyright © 2023. All rights reserved.