Skip to content

BackendServerAttachmentProps

Properties for defining a BackendServerAttachment.

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

Initializer

import com.aliyun.ros.cdk.slb.BackendServerAttachmentProps;
BackendServerAttachmentProps.builder()
    .loadBalancerId(java.lang.String)
    .loadBalancerId(IResolvable)
//  .backendServerList(IResolvable)
//  .backendServerList(java.util.List<java.lang.String)
//  .backendServerList(IResolvable>)
//  .backendServers(IResolvable)
//  .backendServers(java.util.List<IResolvable)
//  .backendServers(BackendServersProperty>)
//  .backendServerWeightList(java.util.List<java.lang.Object>)
//  .backendServerWeightList(IResolvable)
    .build();

Properties

Name Type Description
loadBalancerId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property loadBalancerId: The id of load balancer.
backendServerList com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property backendServerList: The comma delimited instance id list.If the property "BackendServers" is setting, this property will be ignored.
backendServers com.aliyun.ros.cdk.core.IResolvable OR java.util.ListBackendServersProperty> Property backendServers: The list of ECS instance, which will attached to load balancer.
backendServerWeightList java.util.List OR com.aliyun.ros.cdk.core.IResolvable Property backendServerWeightList: The comma delimited weight list.

loadBalancerIdRequired

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

Property loadBalancerId: The id of load balancer.


backendServerListOptional

public java.lang.Object getBackendServerList();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

Property backendServerList: The comma delimited instance id list.If the property "BackendServers" is setting, this property will be ignored.


backendServersOptional

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

Property backendServers: The list of ECS instance, which will attached to load balancer.


backendServerWeightListOptional

public java.lang.Object getBackendServerWeightList();
  • Type: java.util.List OR com.aliyun.ros.cdk.core.IResolvable

Property backendServerWeightList: The comma delimited weight list.

If no value specified will use 100. If the length is small than "BackendServerList", it will copy the last one to fill the array.If the property "BackendServers" is setting, this property will be ignored.