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: Domain name grouping, the default is the "default grouping" GroupId.
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: Domain name grouping, the default is the "default grouping" GroupId.


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.