Skip to content

DomainRecordProps

Properties for defining a DomainRecord.

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

Initializer

import com.aliyun.ros.cdk.dns.DomainRecordProps;
DomainRecordProps.builder()
    .domainName(java.lang.String)
    .domainName(IResolvable)
    .rr(java.lang.String)
    .rr(IResolvable)
    .type(java.lang.String)
    .type(IResolvable)
    .value(java.lang.String)
    .value(IResolvable)
//  .line(java.lang.String)
//  .line(IResolvable)
//  .priority(java.lang.Number)
//  .priority(IResolvable)
//  .ttl(java.lang.Number)
//  .ttl(IResolvable)
    .build();

Properties

Name Type Description
domainName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property domainName: Domain name.
rr java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property rr: Host record, if you want to resolve @.exmaple.com, the host record should fill in "@" instead of empty.
type java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property type: Parse record type, see parsing record type format.
value java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property value: Record value.
line java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property line: Parse the line, the default is default.
priority java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property priority: The priority of the MX record, the value range [1,10], when the record type is MX record, this parameter must be.
ttl java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property ttl: The resolution time is valid.

domainNameRequired

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

Property domainName: Domain name.


rrRequired

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

Property rr: Host record, if you want to resolve @.exmaple.com, the host record should fill in "@" instead of empty.


typeRequired

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

Property type: Parse record type, see parsing record type format.


valueRequired

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

Property value: Record value.


lineOptional

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

Property line: Parse the line, the default is default.

See parsing line enumeration


priorityOptional

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

Property priority: The priority of the MX record, the value range [1,10], when the record type is MX record, this parameter must be.


ttlOptional

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

Property ttl: The resolution time is valid.

The default is 600 seconds (10 minutes). See the TTL definition.