public static final class SetVServerGroupAttributeRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
SetVServerGroupAttributeRequest.Builder |
backendServers(String backendServers)
The list of backend servers in the vServer group.
|
SetVServerGroupAttributeRequest |
build() |
SetVServerGroupAttributeRequest.Builder |
ownerAccount(String ownerAccount)
OwnerAccount.
|
SetVServerGroupAttributeRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
SetVServerGroupAttributeRequest.Builder |
regionId(String regionId)
The ID of the region where the Classic Load Balancer (CLB) instance is deployed.
|
SetVServerGroupAttributeRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
SetVServerGroupAttributeRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
SetVServerGroupAttributeRequest.Builder |
vServerGroupId(String vServerGroupId)
The ID of the vServer group.
|
SetVServerGroupAttributeRequest.Builder |
vServerGroupName(String vServerGroupName)
The name of the vServer group.
|
public SetVServerGroupAttributeRequest.Builder backendServers(String backendServers)
* **ServerId**: required. The ID of the Elastic Compute Service (ECS) instance or elastic network interface (ENI) that serves as a backend server. This parameter must be of the STRING type. * **Port**: required. The port that is used by the backend server. This parameter must be of the INTEGER type. Valid values: **1 to 65535**. * **Weight**: required. The weight of the backend server. This parameter must be of the INTEGER type. You can modify this parameter. Valid values: **0 to 100**. * **Description**: optional. The description of the backend server. This parameter must be of the STRING type. You can modify this parameter. The description must be 1 to 80 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/), periods (.),and underscores (\_). * **Type**: the type of backend server. This parameter must be of the STRING type. Valid values: * **ecs**: an ECS instance. This is the default value. * **eni**: an ENI. * **ServerIp**: the IP address of the ECS instance or ENI. Examples: * An ECS instance: `[{ "ServerId": "i-xxxxxxxxx", "Weight": "100", "Type": "ecs", "Port":"80","Description":"test-112" }]` * An ENI: `[{ "ServerId": "eni-xxxxxxxxx", "Weight": "100", "Type": "eni", "ServerIp": "192.168.**.**", "Port":"80","Description":"test-112" }]` * An ENI with multiple IP addresses: `[{ "ServerId": "eni-xxxxxxxxx", "Weight": "100", "Type": "eni", "ServerIp": "192.168.**.**", "Port":"80","Description":"test-112" },{ "ServerId": "eni-xxxxxxxxx", "Weight": "100", "Type": "eni", "ServerIp": "172.166.**.**", "Port":"80","Description":"test-113" }]`
public SetVServerGroupAttributeRequest.Builder ownerAccount(String ownerAccount)
public SetVServerGroupAttributeRequest.Builder ownerId(Long ownerId)
public SetVServerGroupAttributeRequest.Builder regionId(String regionId)
public SetVServerGroupAttributeRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public SetVServerGroupAttributeRequest.Builder resourceOwnerId(Long resourceOwnerId)
public SetVServerGroupAttributeRequest.Builder vServerGroupId(String vServerGroupId)
public SetVServerGroupAttributeRequest.Builder vServerGroupName(String vServerGroupName)
public SetVServerGroupAttributeRequest build()
Copyright © 2024. All rights reserved.