public static final class UpdateMachineGroupRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
UpdateMachineGroupRequest |
build() |
UpdateMachineGroupRequest.Builder |
groupAttribute(UpdateMachineGroupRequest.GroupAttribute groupAttribute)
The attribute of the machine group.
|
UpdateMachineGroupRequest.Builder |
groupName(String groupName)
The name of the machine group.
|
UpdateMachineGroupRequest.Builder |
groupType(String groupType)
The type of the machine group.
|
UpdateMachineGroupRequest.Builder |
machineIdentifyType(String machineIdentifyType)
The identifier type of the machine group.
|
UpdateMachineGroupRequest.Builder |
machineList(List<String> machineList)
The identifiers of the machines in the machine group.
|
UpdateMachineGroupRequest.Builder |
project(String project)
The name of the project.
|
public UpdateMachineGroupRequest.Builder project(String project)
The name of the project.
This parameter is required.
example:ali-test-project
public UpdateMachineGroupRequest.Builder groupName(String groupName)
The name of the machine group.
This parameter is required.
example:test-group
public UpdateMachineGroupRequest.Builder groupAttribute(UpdateMachineGroupRequest.GroupAttribute groupAttribute)
The attribute of the machine group. This parameter is empty by default.
public UpdateMachineGroupRequest.Builder groupType(String groupType)
The type of the machine group. Set the value to an empty string.
example:""
public UpdateMachineGroupRequest.Builder machineIdentifyType(String machineIdentifyType)
The identifier type of the machine group. Valid values:
This parameter is required.
example:userdefined
public UpdateMachineGroupRequest.Builder machineList(List<String> machineList)
The identifiers of the machines in the machine group.
This parameter is required.
example:[uu_id_1,uu_id_2]
public UpdateMachineGroupRequest build()
Copyright © 2025. All rights reserved.