Skip to content

AccessStrategyProps

Properties for defining a AccessStrategy.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dns-accessstrategy

Initializer

import com.aliyun.ros.cdk.dns.AccessStrategyProps;
AccessStrategyProps.builder()
    .defaultAddrPool(IResolvable)
    .defaultAddrPool(java.util.List<IResolvable)
    .defaultAddrPool(DefaultAddrPoolProperty>)
    .defaultAddrPoolType(java.lang.String)
    .defaultAddrPoolType(IResolvable)
    .defaultMinAvailableAddrNum(java.lang.Number)
    .defaultMinAvailableAddrNum(IResolvable)
    .instanceId(java.lang.String)
    .instanceId(IResolvable)
    .strategyMode(java.lang.String)
    .strategyMode(IResolvable)
    .strategyName(java.lang.String)
    .strategyName(IResolvable)
//  .accessMode(java.lang.String)
//  .accessMode(IResolvable)
//  .defaultLatencyOptimization(java.lang.String)
//  .defaultLatencyOptimization(IResolvable)
//  .defaultLbaStrategy(java.lang.String)
//  .defaultLbaStrategy(IResolvable)
//  .defaultMaxReturnAddrNum(java.lang.Number)
//  .defaultMaxReturnAddrNum(IResolvable)
//  .failoverAddrPool(IResolvable)
//  .failoverAddrPool(java.util.List<IResolvable)
//  .failoverAddrPool(FailoverAddrPoolProperty>)
//  .failoverAddrPoolType(java.lang.String)
//  .failoverAddrPoolType(IResolvable)
//  .failoverLatencyOptimization(java.lang.String)
//  .failoverLatencyOptimization(IResolvable)
//  .failoverLbaStrategy(java.lang.String)
//  .failoverLbaStrategy(IResolvable)
//  .failoverMaxReturnAddrNum(java.lang.Number)
//  .failoverMaxReturnAddrNum(IResolvable)
//  .failoverMinAvailableAddrNum(java.lang.Number)
//  .failoverMinAvailableAddrNum(IResolvable)
//  .lines(IResolvable)
//  .lines(java.util.List<java.lang.String)
//  .lines(IResolvable>)
    .build();

Properties

Name Type Description
defaultAddrPool com.aliyun.ros.cdk.core.IResolvable OR java.util.ListDefaultAddrPoolProperty> Property defaultAddrPool: The default address pool of the access strategy.
defaultAddrPoolType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property defaultAddrPoolType: The type of the default address pool.
defaultMinAvailableAddrNum java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property defaultMinAvailableAddrNum: The minimum available address number of the default address pool.
instanceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property instanceId: The ID of the Dns instance.
strategyMode java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property strategyMode: The mode of the access strategy.
strategyName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property strategyName: The name of the access strategy.
accessMode java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property accessMode: The access mode of the access strategy.
defaultLatencyOptimization java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property defaultLatencyOptimization: Whether to enable latency optimization for the default address pool.
defaultLbaStrategy java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property defaultLbaStrategy: The load balancing strategy of the default address pool.
defaultMaxReturnAddrNum java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property defaultMaxReturnAddrNum: The maximum return address number of the default address pool.
failoverAddrPool com.aliyun.ros.cdk.core.IResolvable OR java.util.ListFailoverAddrPoolProperty> Property failoverAddrPool: The failover address pool of the access strategy.
failoverAddrPoolType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property failoverAddrPoolType: The type of the failover address pool.
failoverLatencyOptimization java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property failoverLatencyOptimization: Whether to enable latency optimization for the failover address pool.
failoverLbaStrategy java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property failoverLbaStrategy: The load balancing strategy of the failover address pool.
failoverMaxReturnAddrNum java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property failoverMaxReturnAddrNum: The maximum return address number of the failover address pool.
failoverMinAvailableAddrNum java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property failoverMinAvailableAddrNum: The minimum available address number of the failover address pool.
lines com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property lines: The lines of the access strategy.

defaultAddrPoolRequired

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

Property defaultAddrPool: The default address pool of the access strategy.


defaultAddrPoolTypeRequired

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

Property defaultAddrPoolType: The type of the default address pool.


defaultMinAvailableAddrNumRequired

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

Property defaultMinAvailableAddrNum: The minimum available address number of the default address pool.


instanceIdRequired

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

Property instanceId: The ID of the Dns instance.


strategyModeRequired

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

Property strategyMode: The mode of the access strategy.


strategyNameRequired

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

Property strategyName: The name of the access strategy.


accessModeOptional

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

Property accessMode: The access mode of the access strategy.


defaultLatencyOptimizationOptional

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

Property defaultLatencyOptimization: Whether to enable latency optimization for the default address pool.


defaultLbaStrategyOptional

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

Property defaultLbaStrategy: The load balancing strategy of the default address pool.


defaultMaxReturnAddrNumOptional

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

Property defaultMaxReturnAddrNum: The maximum return address number of the default address pool.


failoverAddrPoolOptional

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

Property failoverAddrPool: The failover address pool of the access strategy.


failoverAddrPoolTypeOptional

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

Property failoverAddrPoolType: The type of the failover address pool.


failoverLatencyOptimizationOptional

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

Property failoverLatencyOptimization: Whether to enable latency optimization for the failover address pool.


failoverLbaStrategyOptional

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

Property failoverLbaStrategy: The load balancing strategy of the failover address pool.


failoverMaxReturnAddrNumOptional

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

Property failoverMaxReturnAddrNum: The maximum return address number of the failover address pool.


failoverMinAvailableAddrNumOptional

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

Property failoverMinAvailableAddrNum: The minimum available address number of the failover address pool.


linesOptional

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

Property lines: The lines of the access strategy.