public class EndpointInfo extends AbstractModel
header, skipSign| Constructor and Description |
|---|
EndpointInfo() |
EndpointInfo(EndpointInfo source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
| Modifier and Type | Method and Description |
|---|---|
EndpointAuthInfo |
getAuthInfo()
Get Endpoint authentication information.
|
String |
getCustomUrlParam()
Get Customer-defined url parameters are inserted into the specified position of the Endpoint url based on the CustomUrlParamIndex.
|
Long |
getCustomUrlParamIndex()
Get The customer-defined url parameter is inserted into the subscript at the specified position of the Endpoint url.
|
Boolean |
getDRMEnabled()
Get DRM switch.
|
DRMInfo |
getDRMInfo()
Get DRM configuration information.
|
String |
getManifest()
Get Manifest name, default is main.
|
String |
getName()
Get Endpoint name.
|
String |
getProtocol()
Get Endpoint protocol, supports `HLS`, `CMAF`, `CMAF-HLS`.
|
Boolean |
getSSAIEnable()
Get Advertising insertion function switch.
|
SSAIConf |
getSSAIInfo()
Get Ad insertion function configuration information.
|
Long |
getTimeShiftDuration()
Get The number of days in the time shift window, up to 30 days.
|
Boolean |
getTimeShiftEnable()
Get Whether to turn on the time shift function, true: on, false: off, the default is off.
|
String |
getUrl()
Get Endpoint URL.
|
void |
setAuthInfo(EndpointAuthInfo AuthInfo)
Set Endpoint authentication information.
|
void |
setCustomUrlParam(String CustomUrlParam)
Set Customer-defined url parameters are inserted into the specified position of the Endpoint url based on the CustomUrlParamIndex.
|
void |
setCustomUrlParamIndex(Long CustomUrlParamIndex)
Set The customer-defined url parameter is inserted into the subscript at the specified position of the Endpoint url.
|
void |
setDRMEnabled(Boolean DRMEnabled)
Set DRM switch.
|
void |
setDRMInfo(DRMInfo DRMInfo)
Set DRM configuration information.
|
void |
setManifest(String Manifest)
Set Manifest name, default is main.
|
void |
setName(String Name)
Set Endpoint name.
|
void |
setProtocol(String Protocol)
Set Endpoint protocol, supports `HLS`, `CMAF`, `CMAF-HLS`.
|
void |
setSSAIEnable(Boolean SSAIEnable)
Set Advertising insertion function switch.
|
void |
setSSAIInfo(SSAIConf SSAIInfo)
Set Ad insertion function configuration information.
|
void |
setTimeShiftDuration(Long TimeShiftDuration)
Set The number of days in the time shift window, up to 30 days.
|
void |
setTimeShiftEnable(Boolean TimeShiftEnable)
Set Whether to turn on the time shift function, true: on, false: off, the default is off.
|
void |
setUrl(String Url)
Set Endpoint URL.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic EndpointInfo()
public EndpointInfo(EndpointInfo source)
public String getName()
public void setName(String Name)
Name - Endpoint name.public String getUrl()
public void setUrl(String Url)
Url - Endpoint URL.public EndpointAuthInfo getAuthInfo()
public void setAuthInfo(EndpointAuthInfo AuthInfo)
AuthInfo - Endpoint authentication information.public String getProtocol()
public void setProtocol(String Protocol)
Protocol - Endpoint protocol, supports `HLS`, `CMAF`, `CMAF-HLS`.public String getManifest()
public void setManifest(String Manifest)
Manifest - Manifest name, default is main.public Boolean getTimeShiftEnable()
public void setTimeShiftEnable(Boolean TimeShiftEnable)
TimeShiftEnable - Whether to turn on the time shift function, true: on, false: off, the default is off.public Long getTimeShiftDuration()
public void setTimeShiftDuration(Long TimeShiftDuration)
TimeShiftDuration - The number of days in the time shift window, up to 30 days. Valid when TimeShiftEnable is turned on.public Boolean getSSAIEnable()
public void setSSAIEnable(Boolean SSAIEnable)
SSAIEnable - Advertising insertion function switch.public SSAIConf getSSAIInfo()
public void setSSAIInfo(SSAIConf SSAIInfo)
SSAIInfo - Ad insertion function configuration information.public Long getCustomUrlParamIndex()
public void setCustomUrlParamIndex(Long CustomUrlParamIndex)
CustomUrlParamIndex - The customer-defined url parameter is inserted into the subscript at the specified position of the Endpoint url. The optional range of the subscript is: [0,3].public String getCustomUrlParam()
public void setCustomUrlParam(String CustomUrlParam)
CustomUrlParam - Customer-defined url parameters are inserted into the specified position of the Endpoint url based on the CustomUrlParamIndex.
The parameters can only contain digits, letters, underscores (_), and hyphens (-), with a length of 1 to 64 chars.public Boolean getDRMEnabled()
public void setDRMEnabled(Boolean DRMEnabled)
DRMEnabled - DRM switch. If it is turned on, only CMAF will take effect.public DRMInfo getDRMInfo()
public void setDRMInfo(DRMInfo DRMInfo)
DRMInfo - DRM configuration information.Copyright © 2025. All rights reserved.