com.volcengine.model.live.v20230101.CreateDomainBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of volc-sdk-java Show documentation
Show all versions of volc-sdk-java Show documentation
The VOLC Engine SDK for Java
package com.volcengine.model.live.v20230101;
import com.alibaba.fastjson.JSON;
/**
* CreateDomainBody
*/
@lombok.Data
public final class CreateDomainBody {
/**
* 待添加到视频直播服务进行加速的域名,域名只能由数字(0 - 9)、字母(A - Z、a -z)和连字符(-) 组成。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Domain")
private String domain;
/**
* 域名类型,包含两种类型。
*
*
*
* - `push`:推流域名;
*
* - `pull-flv`:拉流域名,包含 RTMP、FLV、HLS 格式。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Type")
private String type;
/**
* 域名加速区域,默认值为 `cn`,包含以下类型。
*
*
*
* - `cn`:中国内地;
*
* - `cn-global`:全球加速;
*
* - `cn-oversea`:海外及港澳台。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Region")
private String region;
@Override
public String toString() {
return JSON.toJSONString(this);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy