public static final class ModifyVServerGroupBackendServersRequest.Builder extends Object
public ModifyVServerGroupBackendServersRequest.Builder newBackendServers(String newBackendServers)
* **ServerId**: required. The ID of the ECS instance or 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. Valid values: **0 to 100**. * **Description**: optional. The description of the backend server. This parameter must be of the STRING type. The description 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 ModifyVServerGroupBackendServersRequest.Builder oldBackendServers(String oldBackendServers)
* **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. Valid values: **0 to 100**. * **Description**: optional. The description of the backend server. This parameter must be of the STRING type. 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 ModifyVServerGroupBackendServersRequest.Builder ownerAccount(String ownerAccount)
public ModifyVServerGroupBackendServersRequest.Builder ownerId(Long ownerId)
public ModifyVServerGroupBackendServersRequest.Builder regionId(String regionId)
public ModifyVServerGroupBackendServersRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public ModifyVServerGroupBackendServersRequest.Builder resourceOwnerId(Long resourceOwnerId)
public ModifyVServerGroupBackendServersRequest.Builder vServerGroupId(String vServerGroupId)
public ModifyVServerGroupBackendServersRequest build()
Copyright © 2024. All rights reserved.