public static final class UpdateMachineGroupMachineRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
UpdateMachineGroupMachineRequest.Builder |
action(String action)
The operation on the machine.
|
UpdateMachineGroupMachineRequest.Builder |
body(List<String> body)
The machines to be added or removed.
|
UpdateMachineGroupMachineRequest |
build() |
UpdateMachineGroupMachineRequest.Builder |
machineGroup(String machineGroup)
The name of the machine group.
|
UpdateMachineGroupMachineRequest.Builder |
project(String project)
The name of the project.
|
public UpdateMachineGroupMachineRequest.Builder project(String project)
The name of the project.
This parameter is required.
example:ali-test-project
public UpdateMachineGroupMachineRequest.Builder machineGroup(String machineGroup)
The name of the machine group.
This parameter is required.
example:test-group
public UpdateMachineGroupMachineRequest.Builder action(String action)
The operation on the machine. Valid values: add and delete. A value of add specifies to add the machine to the machine group. A value of delete specifies to remove the machine from the machine group.
example:add
public UpdateMachineGroupMachineRequest.Builder body(List<String> body)
The machines to be added or removed.
This parameter is required.
public UpdateMachineGroupMachineRequest build()
Copyright © 2025. All rights reserved.