DomainProps
Properties for defining a Domain.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dcdn-domain
Initializer
import com.aliyun.ros.cdk.dcdn.DomainProps;
DomainProps.builder()
.domainName(java.lang.String)
.domainName(IResolvable)
.sources(IResolvable)
.sources(java.util.List<IResolvable)
.sources(SourcesProperty>)
// .checkUrl(java.lang.String)
// .checkUrl(IResolvable)
// .resourceGroupId(java.lang.String)
// .resourceGroupId(IResolvable)
// .scope(java.lang.String)
// .scope(IResolvable)
// .tags(java.util.List<TagsProperty>)
// .topLevelDomain(java.lang.String)
// .topLevelDomain(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
domainName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property domainName: The DCDN domain name. |
sources |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property sources: The list of origin URLs. |
checkUrl |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property checkUrl: The validation of the origin. |
resourceGroupId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property resourceGroupId: The ID of the resource group. |
scope |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property scope: Valid values: domestic, overseas, and global. |
tags |
java.util.List<TagsProperty> |
Property tags: Tags to attach to instance. |
topLevelDomain |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property topLevelDomain: The top-level domain, which can only be configured by users on the whitelist. |
domainNameRequired
public java.lang.Object getDomainName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property domainName: The DCDN domain name.
Wildcard domain names that start with periods (.) are supported. For example, .a.com.
sourcesRequired
public java.lang.Object getSources();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
SourcesProperty>
Property sources: The list of origin URLs.
checkUrlOptional
public java.lang.Object getCheckUrl();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property checkUrl: The validation of the origin.
resourceGroupIdOptional
public java.lang.Object getResourceGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property resourceGroupId: The ID of the resource group.
If this is left blank, the system automatically fills in the ID of the default resource group.
scopeOptional
public java.lang.Object getScope();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property scope: Valid values: domestic, overseas, and global.
Default value: domestic. The setting is supported for users outside mainland China, users in mainland China of level 3 or above.
tagsOptional
public java.util.List<TagsProperty> getTags();
- Type: java.util.List<TagsProperty>
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.
topLevelDomainOptional
public java.lang.Object getTopLevelDomain();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property topLevelDomain: The top-level domain, which can only be configured by users on the whitelist.