public static final class CreateMachineGroupRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
CreateMachineGroupRequest |
build() |
CreateMachineGroupRequest.Builder |
groupAttribute(CreateMachineGroupRequest.GroupAttribute groupAttribute)
The attributes of the machine group.
|
CreateMachineGroupRequest.Builder |
groupName(String groupName)
The name of the machine group.
|
CreateMachineGroupRequest.Builder |
groupType(String groupType)
The type of the machine group.
|
CreateMachineGroupRequest.Builder |
machineIdentifyType(String machineIdentifyType)
The type of the machine group identifier.
|
CreateMachineGroupRequest.Builder |
machineList(List<String> machineList)
The identifiers of machine group.
|
CreateMachineGroupRequest.Builder |
project(String project)
The name of the project.
|
public CreateMachineGroupRequest.Builder project(String project)
The name of the project.
This parameter is required.
example:ali-test-project
public CreateMachineGroupRequest.Builder groupAttribute(CreateMachineGroupRequest.GroupAttribute groupAttribute)
The attributes of the machine group.
public CreateMachineGroupRequest.Builder groupName(String groupName)
The name of the machine group. The name must meet the following requirements:
This parameter is required.
example:test-machine-group
public CreateMachineGroupRequest.Builder groupType(String groupType)
The type of the machine group. The parameter can be left empty.
example:""
public CreateMachineGroupRequest.Builder machineIdentifyType(String machineIdentifyType)
The type of the machine group identifier. Valid values:
This parameter is required.
example:ip
public CreateMachineGroupRequest.Builder machineList(List<String> machineList)
The identifiers of machine group.
This parameter is required.
public CreateMachineGroupRequest build()
Copyright © 2025. All rights reserved.