Class CreateInput
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.mps.v20190612.models.CreateInput
-
public class CreateInput extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description CreateInput()CreateInput(CreateInput 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]getAllowIpList()Get 输入的IP白名单,格式为CIDR。StringgetDescription()Get 输入描述,长度为[0, 255]。StringgetFailOver()Get 输入的主备开关,可选[OPEN|CLOSE],默认为CLOSE。CreateInputHLSPullSettingsgetHLSPullSettings()Get 输入的HLS_PULL配置信息。StringgetInputName()Get 输入名称,可填大小写、数字和下划线,长度为[1, 32]。StringgetProtocol()Get 输入的协议,可选[SRT|RTP|RTMP|RTMP_PULL]。ResilientStreamConfgetResilientStream()Get 延播平滑吐流配置信息。CreateInputRTMPPullSettingsgetRTMPPullSettings()Get 输入的RTMP_PULL配置信息。CreateInputRTPSettingsgetRTPSettings()Get 输入的RTP配置信息。CreateInputRTSPPullSettingsgetRTSPPullSettings()Get 输入的RTSP_PULL配置信息。CreateInputSRTSettingsgetSRTSettings()Get 输入的SRT配置信息。voidsetAllowIpList(String[] AllowIpList)Set 输入的IP白名单,格式为CIDR。voidsetDescription(String Description)Set 输入描述,长度为[0, 255]。voidsetFailOver(String FailOver)Set 输入的主备开关,可选[OPEN|CLOSE],默认为CLOSE。voidsetHLSPullSettings(CreateInputHLSPullSettings HLSPullSettings)Set 输入的HLS_PULL配置信息。voidsetInputName(String InputName)Set 输入名称,可填大小写、数字和下划线,长度为[1, 32]。voidsetProtocol(String Protocol)Set 输入的协议,可选[SRT|RTP|RTMP|RTMP_PULL]。voidsetResilientStream(ResilientStreamConf ResilientStream)Set 延播平滑吐流配置信息。voidsetRTMPPullSettings(CreateInputRTMPPullSettings RTMPPullSettings)Set 输入的RTMP_PULL配置信息。voidsetRTPSettings(CreateInputRTPSettings RTPSettings)Set 输入的RTP配置信息。voidsetRTSPPullSettings(CreateInputRTSPPullSettings RTSPPullSettings)Set 输入的RTSP_PULL配置信息。voidsetSRTSettings(CreateInputSRTSettings SRTSettings)Set 输入的SRT配置信息。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
CreateInput
public CreateInput()
-
CreateInput
public CreateInput(CreateInput 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.
-
-
Method Detail
-
getInputName
public String getInputName()
Get 输入名称,可填大小写、数字和下划线,长度为[1, 32]。- Returns:
- InputName 输入名称,可填大小写、数字和下划线,长度为[1, 32]。
-
setInputName
public void setInputName(String InputName)
Set 输入名称,可填大小写、数字和下划线,长度为[1, 32]。- Parameters:
InputName- 输入名称,可填大小写、数字和下划线,长度为[1, 32]。
-
getProtocol
public String getProtocol()
Get 输入的协议,可选[SRT|RTP|RTMP|RTMP_PULL]。- Returns:
- Protocol 输入的协议,可选[SRT|RTP|RTMP|RTMP_PULL]。
-
setProtocol
public void setProtocol(String Protocol)
Set 输入的协议,可选[SRT|RTP|RTMP|RTMP_PULL]。- Parameters:
Protocol- 输入的协议,可选[SRT|RTP|RTMP|RTMP_PULL]。
-
getDescription
public String getDescription()
Get 输入描述,长度为[0, 255]。- Returns:
- Description 输入描述,长度为[0, 255]。
-
setDescription
public void setDescription(String Description)
Set 输入描述,长度为[0, 255]。- Parameters:
Description- 输入描述,长度为[0, 255]。
-
getAllowIpList
public String[] getAllowIpList()
Get 输入的IP白名单,格式为CIDR。- Returns:
- AllowIpList 输入的IP白名单,格式为CIDR。
-
setAllowIpList
public void setAllowIpList(String[] AllowIpList)
Set 输入的IP白名单,格式为CIDR。- Parameters:
AllowIpList- 输入的IP白名单,格式为CIDR。
-
getSRTSettings
public CreateInputSRTSettings getSRTSettings()
Get 输入的SRT配置信息。- Returns:
- SRTSettings 输入的SRT配置信息。
-
setSRTSettings
public void setSRTSettings(CreateInputSRTSettings SRTSettings)
Set 输入的SRT配置信息。- Parameters:
SRTSettings- 输入的SRT配置信息。
-
getRTPSettings
public CreateInputRTPSettings getRTPSettings()
Get 输入的RTP配置信息。- Returns:
- RTPSettings 输入的RTP配置信息。
-
setRTPSettings
public void setRTPSettings(CreateInputRTPSettings RTPSettings)
Set 输入的RTP配置信息。- Parameters:
RTPSettings- 输入的RTP配置信息。
-
getFailOver
public String getFailOver()
Get 输入的主备开关,可选[OPEN|CLOSE],默认为CLOSE。- Returns:
- FailOver 输入的主备开关,可选[OPEN|CLOSE],默认为CLOSE。
-
setFailOver
public void setFailOver(String FailOver)
Set 输入的主备开关,可选[OPEN|CLOSE],默认为CLOSE。- Parameters:
FailOver- 输入的主备开关,可选[OPEN|CLOSE],默认为CLOSE。
-
getRTMPPullSettings
public CreateInputRTMPPullSettings getRTMPPullSettings()
Get 输入的RTMP_PULL配置信息。- Returns:
- RTMPPullSettings 输入的RTMP_PULL配置信息。
-
setRTMPPullSettings
public void setRTMPPullSettings(CreateInputRTMPPullSettings RTMPPullSettings)
Set 输入的RTMP_PULL配置信息。- Parameters:
RTMPPullSettings- 输入的RTMP_PULL配置信息。
-
getRTSPPullSettings
public CreateInputRTSPPullSettings getRTSPPullSettings()
Get 输入的RTSP_PULL配置信息。- Returns:
- RTSPPullSettings 输入的RTSP_PULL配置信息。
-
setRTSPPullSettings
public void setRTSPPullSettings(CreateInputRTSPPullSettings RTSPPullSettings)
Set 输入的RTSP_PULL配置信息。- Parameters:
RTSPPullSettings- 输入的RTSP_PULL配置信息。
-
getHLSPullSettings
public CreateInputHLSPullSettings getHLSPullSettings()
Get 输入的HLS_PULL配置信息。- Returns:
- HLSPullSettings 输入的HLS_PULL配置信息。
-
setHLSPullSettings
public void setHLSPullSettings(CreateInputHLSPullSettings HLSPullSettings)
Set 输入的HLS_PULL配置信息。- Parameters:
HLSPullSettings- 输入的HLS_PULL配置信息。
-
getResilientStream
public ResilientStreamConf getResilientStream()
Get 延播平滑吐流配置信息。- Returns:
- ResilientStream 延播平滑吐流配置信息。
-
setResilientStream
public void setResilientStream(ResilientStreamConf ResilientStream)
Set 延播平滑吐流配置信息。- Parameters:
ResilientStream- 延播平滑吐流配置信息。
-
-