Skip to content

MasterSlaveServerGroupProps

Properties for defining a MasterSlaveServerGroup.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-slb-masterslaveservergroup

Initializer

import com.aliyun.ros.cdk.slb.MasterSlaveServerGroupProps;
MasterSlaveServerGroupProps.builder()
    .loadBalancerId(java.lang.String)
    .loadBalancerId(IResolvable)
    .masterSlaveBackendServers(IResolvable)
    .masterSlaveBackendServers(java.util.List<IResolvable)
    .masterSlaveBackendServers(MasterSlaveBackendServersProperty>)
//  .masterSlaveServerGroupName(java.lang.String)
//  .masterSlaveServerGroupName(IResolvable)
    .build();

Properties

Name Type Description
loadBalancerId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property loadBalancerId: The ID of the Server Load Balancer instance.
masterSlaveBackendServers com.aliyun.ros.cdk.core.IResolvable OR java.util.ListMasterSlaveBackendServersProperty> Property masterSlaveBackendServers: A list of active\/standby server group.
masterSlaveServerGroupName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property masterSlaveServerGroupName: The name of the active\/standby server group.

loadBalancerIdRequired

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

Property loadBalancerId: The ID of the Server Load Balancer instance.


masterSlaveBackendServersRequired

public java.lang.Object getMasterSlaveBackendServers();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListMasterSlaveBackendServersProperty>

Property masterSlaveBackendServers: A list of active\/standby server group.

An active/standby server group can only contain two backend servers.


masterSlaveServerGroupNameOptional

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

Property masterSlaveServerGroupName: The name of the active\/standby server group.