Skip to content

RuleProps

Properties for defining a Rule.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-pvtz-rule

Initializer

import com.aliyun.ros.cdk.pvtz.RuleProps;
RuleProps.builder()
    .endpointId(java.lang.String)
    .endpointId(IResolvable)
    .forwardIp(IResolvable)
    .forwardIp(java.util.List<IResolvable)
    .forwardIp(ForwardIpProperty>)
    .ruleName(java.lang.String)
    .ruleName(IResolvable)
    .type(java.lang.String)
    .type(IResolvable)
    .zoneName(java.lang.String)
    .zoneName(IResolvable)
    .build();

Properties

Name Type Description
endpointId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property endpointId: The ID of the endpoint.
forwardIp com.aliyun.ros.cdk.core.IResolvable OR java.util.ListForwardIpProperty> Property forwardIp: The destination external server.
ruleName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property ruleName: The name of the forwarding rule.
type java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property type: The type of the forwarding rule.
zoneName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property zoneName: The domain name that requires DNS traffic forwarding.

endpointIdRequired

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

Property endpointId: The ID of the endpoint.


forwardIpRequired

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

Property forwardIp: The destination external server.


ruleNameRequired

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

Property ruleName: The name of the forwarding rule.


typeRequired

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

Property type: The type of the forwarding rule.

Valid value: OUTBOUND: forwards Domain Name System (DNS) traffic to one or more external IP addresses.


zoneNameRequired

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

Property zoneName: The domain name that requires DNS traffic forwarding.