Skip to content

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.

portRequired

public java.lang.Object getPort();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

serverIdRequired

public java.lang.Object getServerId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

weightRequired

public java.lang.Object getWeight();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

serverIpOptional

public java.lang.Object getServerIp();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

serverTypeOptional

public java.lang.Object getServerType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

typeOptional

public java.lang.Object getType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable