CacheDomainProps
Properties for defining a CacheDomain.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dns-cachedomain
Initializer
import com.aliyun.ros.cdk.dns.CacheDomainProps;
CacheDomainProps.builder()
.cacheTtlMax(java.lang.Number)
.cacheTtlMax(IResolvable)
.cacheTtlMin(java.lang.Number)
.cacheTtlMin(IResolvable)
.domainName(java.lang.String)
.domainName(IResolvable)
.instanceId(java.lang.String)
.instanceId(IResolvable)
.sourceDnsServer(IResolvable)
.sourceDnsServer(java.util.List<IResolvable)
.sourceDnsServer(SourceDnsServerProperty>)
.sourceEdns(java.lang.String)
.sourceEdns(IResolvable)
.sourceProtocol(java.lang.String)
.sourceProtocol(IResolvable)
// .remark(java.lang.String)
// .remark(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
cacheTtlMax | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property cacheTtlMax: The maximum TTL value for cached records. |
cacheTtlMin | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property cacheTtlMin: The minimum TTL value for cached records. |
domainName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property domainName: The domain name of the DNS cache domain. |
instanceId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property instanceId: The instance ID associated with the DNS cache domain. |
sourceDnsServer | com.aliyun.ros.cdk.core.IResolvable OR java.util.List | Property sourceDnsServer: List of source DNS servers. |
sourceEdns | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property sourceEdns: Whether EDNS is enabled for the source DNS server. |
sourceProtocol | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property sourceProtocol: The protocol used for origin fetch. |
remark | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property remark: Remark for the DNS cache domain. |
cacheTtlMaxRequired
public java.lang.Object getCacheTtlMax();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property cacheTtlMax: The maximum TTL value for cached records.
cacheTtlMinRequired
public java.lang.Object getCacheTtlMin();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property cacheTtlMin: The minimum TTL value for cached records.
domainNameRequired
public java.lang.Object getDomainName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property domainName: The domain name of the DNS cache domain.
instanceIdRequired
public java.lang.Object getInstanceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property instanceId: The instance ID associated with the DNS cache domain.
sourceDnsServerRequired
public java.lang.Object getSourceDnsServer();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
SourceDnsServerProperty>
Property sourceDnsServer: List of source DNS servers.
sourceEdnsRequired
public java.lang.Object getSourceEdns();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property sourceEdns: Whether EDNS is enabled for the source DNS server.
sourceProtocolRequired
public java.lang.Object getSourceProtocol();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property sourceProtocol: The protocol used for origin fetch.
Valid values: TCP and UDP. The default value is UDP.
remarkOptional
public java.lang.Object getRemark();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property remark: Remark for the DNS cache domain.