Skip to content

DomainProps

Properties for defining a Domain.

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

Initializer

import com.aliyun.ros.cdk.dns.DomainProps;
DomainProps.builder()
    .domainName(java.lang.String)
    .domainName(IResolvable)
//  .groupId(java.lang.String)
//  .groupId(IResolvable)
//  .resourceGroupId(java.lang.String)
//  .resourceGroupId(IResolvable)
//  .tags(java.util.List<TagsProperty>)
    .build();

Properties

Name Type Description
domainName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property domainName: Domain name.
groupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property groupId: The ID of the domain name group.
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property resourceGroupId: Resource group id.
tags java.util.List<TagsProperty> Property tags: Tags to attach to instance.

domainNameRequired

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

Property domainName: Domain name.


groupIdOptional

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

Property groupId: The ID of the domain name group.

If you do not specify this parameter, pass an empty string, or pass defaultGroup, the domain name is added to the default group. You can call the AddDomainGroup operation to obtain the group ID.


resourceGroupIdOptional

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

Property resourceGroupId: Resource group id.


tagsOptional

public java.util.List<TagsProperty> getTags();

Property tags: Tags to attach to instance.

Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.