public static final class DescribeVServerGroupAttributeResponseBody.BackendServer.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
DescribeVServerGroupAttributeResponseBody.BackendServer |
build() |
DescribeVServerGroupAttributeResponseBody.BackendServer.Builder |
description(String description)
The description of the vServer group.
|
DescribeVServerGroupAttributeResponseBody.BackendServer.Builder |
port(Integer port)
The port used by the backend server.
|
DescribeVServerGroupAttributeResponseBody.BackendServer.Builder |
serverId(String serverId)
The ID of the ECS instance, ENI, or elastic container instance.
|
DescribeVServerGroupAttributeResponseBody.BackendServer.Builder |
serverIp(String serverIp)
The IP address of the ECS instance, ENI, or elastic container instance.
|
DescribeVServerGroupAttributeResponseBody.BackendServer.Builder |
type(String type)
The type of the backend server.
|
DescribeVServerGroupAttributeResponseBody.BackendServer.Builder |
weight(Integer weight)
The weight of the backend server.
|
public DescribeVServerGroupAttributeResponseBody.BackendServer.Builder description(String description)
public DescribeVServerGroupAttributeResponseBody.BackendServer.Builder port(Integer port)
public DescribeVServerGroupAttributeResponseBody.BackendServer.Builder serverId(String serverId)
public DescribeVServerGroupAttributeResponseBody.BackendServer.Builder serverIp(String serverIp)
public DescribeVServerGroupAttributeResponseBody.BackendServer.Builder type(String type)
* **ecs** (default): an Elastic Compute Service (ECS) instance * **eni**: an elastic network interface (ENI) * **eci**: an elastic container instance
public DescribeVServerGroupAttributeResponseBody.BackendServer.Builder weight(Integer weight)
public DescribeVServerGroupAttributeResponseBody.BackendServer build()
Copyright © 2024. All rights reserved.