DomainProps
Properties for defining a Domain
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cdn-domain
Initializer
import com.aliyun.ros.cdk.cdn.DomainProps;
DomainProps.builder()
.cdnType(java.lang.String)
.cdnType(IResolvable)
.domainName(java.lang.String)
.domainName(IResolvable)
// .checkUrl(java.lang.String)
// .checkUrl(IResolvable)
// .originServers(IResolvable)
// .originServers(java.util.List<IResolvable)
// .originServers(OriginServersProperty>)
// .resourceGroupId(java.lang.String)
// .resourceGroupId(IResolvable)
// .scope(java.lang.String)
// .scope(IResolvable)
// .sources(java.lang.String)
// .sources(IResolvable)
// .tags(java.util.List<TagsProperty>)
// .topLevelDomain(java.lang.String)
// .topLevelDomain(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
cdnType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property cdnType: The business type. |
domainName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property domainName: The CDN domain name. |
checkUrl |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property checkUrl: The validation of the origin. |
originServers |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property originServers: The list of origin URLs. |
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. |
sources |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property sources: The list of origin URLs. |
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. |
cdnType
Required
public java.lang.Object getCdnType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property cdnType: The business type.
Valid values: web, download, video, livestream, and httpsdelivery. web: acceleration of images and small files download. download: acceleration of large file downloads. video: live streaming acceleration. httpsdelivery: SSL acceleration for HTTPS.
domainName
Required
public java.lang.Object getDomainName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property domainName: The CDN domain name.
Wildcard domain names that start with periods (.) are supported. For example, .a.com.
checkUrl
Optional
public java.lang.Object getCheckUrl();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property checkUrl: The validation of the origin.
originServers
Optional
public java.lang.Object getOriginServers();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
OriginServersProperty>
Property originServers: The list of origin URLs.
It has the same function as Sources, but has a higher priority than it.
resourceGroupId
Optional
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.
scope
Optional
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.
sources
Optional
public java.lang.Object getSources();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property sources: The list of origin URLs.
tags
Optional
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.
topLevelDomain
Optional
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.