ListenerProps
Properties for defining a Listener.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-gwlb-listener
Initializer
import com.aliyun.ros.cdk.gwlb.ListenerProps;
ListenerProps.builder()
.loadBalancerId(java.lang.String)
.loadBalancerId(IResolvable)
.serverGroupId(java.lang.String)
.serverGroupId(IResolvable)
// .listenerDescription(java.lang.String)
// .listenerDescription(IResolvable)
// .tags(java.util.List<TagsProperty>)
.build();
Properties
| Name | Type | Description |
|---|---|---|
loadBalancerId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property loadBalancerId: The ID of the gateway load balancer instance. |
serverGroupId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property serverGroupId: The ID of the server group. |
listenerDescription | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property listenerDescription: The custom listener description. |
tags | java.util.List<TagsProperty> | Property tags: Tags of listener. |
loadBalancerIdRequired
public java.lang.Object getLoadBalancerId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property loadBalancerId: The ID of the gateway load balancer instance.
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.
listenerDescriptionOptional
public java.lang.Object getListenerDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property listenerDescription: The custom listener description.
The length is limited to 2 to 256 characters. It supports Chinese and English letters and can contain numbers, half-width commas (,), half-width periods (.), half-width semicolons (;), forward slashes (/), at(@), underscores (_), and dashes (-).
tagsOptional
public java.util.List<TagsProperty> getTags();
- Type: java.util.List<TagsProperty>
Property tags: Tags of listener.