Skip to content

BackendServerAttachmentProps

Properties for defining a BackendServerAttachment.

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

Initializer

import com.aliyun.ros.cdk.alb.BackendServerAttachmentProps;
BackendServerAttachmentProps.builder()
    .serverGroupId(java.lang.String)
    .serverGroupId(IResolvable)
    .servers(IResolvable)
    .servers(java.util.List<IResolvable)
    .servers(ServersProperty>)
    .build();

Properties

Name Type Description
serverGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property serverGroupId: The ID of the server group.
servers com.aliyun.ros.cdk.core.IResolvable OR java.util.ListServersProperty> Property servers: The backend servers that you want to add to the server group.

serverGroupIdRequired

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

Property serverGroupId: The ID of the server group.


serversRequired

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

Property servers: The backend servers that you want to add to the server group.

You can specify up to 40 servers in each call.