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