Skip to content

ZoneRecordProps

Properties for defining a ZoneRecord.

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

Initializer

import com.aliyun.ros.cdk.pvtz.ZoneRecordProps;
ZoneRecordProps.builder()
    .rr(java.lang.String)
    .rr(IResolvable)
    .status(java.lang.String)
    .status(IResolvable)
    .type(java.lang.String)
    .type(IResolvable)
    .value(java.lang.String)
    .value(IResolvable)
    .zoneId(java.lang.String)
    .zoneId(IResolvable)
//  .priority(java.lang.Number)
//  .priority(IResolvable)
//  .ttl(java.lang.Number)
//  .ttl(IResolvable)
    .build();

Properties

Name Type Description
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.
status java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property status: Allowed values: [ENABLE, DISABLE].
type java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property type: Analyze record type, currently only supports A, AAAA, CNAME, TXT, MX, PTR, SRV.
value java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property value: Record value.
zoneId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property zoneId: Zone Id.
priority java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property priority: MX record priority, value range [1,99].
ttl java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property ttl: Survival time, default is 60.

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.


statusRequired

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

Property status: Allowed values: [ENABLE, DISABLE].


typeRequired

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

Property type: Analyze record type, currently only supports A, AAAA, CNAME, TXT, MX, PTR, SRV.


valueRequired

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

Property value: Record value.


zoneIdRequired

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

Property zoneId: Zone Id.


priorityOptional

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

Property priority: MX record priority, value range [1,99].

Default to 10.


ttlOptional

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

Property ttl: Survival time, default is 60.