LoadBalancerTCPListenerProps
Properties for defining a LoadBalancerTCPListener
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-slb-loadbalancertcplistener
Initializer
import com.aliyun.ros.cdk.slb.datasource.LoadBalancerTCPListenerProps;
LoadBalancerTCPListenerProps.builder()
.listenerPort(java.lang.Number)
.listenerPort(IResolvable)
.loadBalancerId(java.lang.String)
.loadBalancerId(IResolvable)
// .refreshOptions(java.lang.String)
// .refreshOptions(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
listenerPort |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property listenerPort: The frontend port used by the CLB instance.Valid values: 1 to 65535. |
loadBalancerId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property loadBalancerId: The ID of the CLB instance. |
refreshOptions |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
listenerPort
Required
public java.lang.Object getListenerPort();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property listenerPort: The frontend port used by the CLB instance.Valid values: 1 to 65535.
loadBalancerId
Required
public java.lang.Object getLoadBalancerId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property loadBalancerId: The ID of the CLB instance.
refreshOptions
Optional
public java.lang.Object getRefreshOptions();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
Valid values:
- Never: Never refresh the datasource resource when the stack is updated.
- Always: Always refresh the datasource resource when the stack is updated. Default is Never.