MasterSlaveBackendServersProperty
Initializer
import com.aliyun.ros.cdk.slb.RosMasterSlaveServerGroup.MasterSlaveBackendServersProperty;
MasterSlaveBackendServersProperty.builder()
.port(java.lang.Number)
.port(IResolvable)
.serverId(java.lang.String)
.serverId(IResolvable)
.weight(java.lang.Number)
.weight(IResolvable)
// .serverIp(java.lang.String)
// .serverIp(IResolvable)
// .serverType(java.lang.String)
// .serverType(IResolvable)
// .type(java.lang.String)
// .type(IResolvable)
.build();
Properties
Name |
Type |
Description |
port |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
No description. |
serverId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
No description. |
weight |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
No description. |
serverIp |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
No description. |
serverType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
No description. |
type |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
No description. |
port
Required
public java.lang.Object getPort();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
serverId
Required
public java.lang.Object getServerId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
weight
Required
public java.lang.Object getWeight();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
serverIp
Optional
public java.lang.Object getServerIp();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
serverType
Optional
public java.lang.Object getServerType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
type
Optional
public java.lang.Object getType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable