public class ModifyInput extends AbstractModel
header, skipSign
Constructor and Description |
---|
ModifyInput() |
ModifyInput(ModifyInput 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 |
---|---|
String[] |
getAllowIpList()
Get 允许的推流的IP,CIDR格式。
|
String |
getDescription()
Get 输入描述。
|
String |
getFailOver()
Get 输入的主备开关,可选[OPEN|CLOSE]。
|
CreateInputHLSPullSettings |
getHLSPullSettings()
Get HLS_PULL的配置信息。
|
String |
getInputId()
Get 输入Id。
|
String |
getInputName()
Get 输入名称。
|
String |
getProtocol()
Get 输入的协议,可选[SRT|RTP|RTMP]。
当输出包含RTP时,输入只能是RTP。
当输出包含RTMP时,输入可以是SRT/RTMP。
当输出包含SRT时,输入只能是SRT。
|
ResilientStreamConf |
getResilientStream()
Get 延播平滑吐流配置信息。
|
CreateInputRTMPPullSettings |
getRTMPPullSettings()
Get RTMP_PULL的配置信息。
|
CreateInputRTPSettings |
getRTPSettings()
Get RTP的配置信息。
|
CreateInputRTSPPullSettings |
getRTSPPullSettings()
Get RTSP_PULL的配置信息。
|
String[] |
getSecurityGroupIds()
Get 绑定的输入安全组 ID。 仅支持关联一组安全组。
|
CreateInputSRTSettings |
getSRTSettings()
Get SRT的配置信息。
|
String[] |
getZones()
Get 可用区,非必填,最多支持输入两个可用区,对于需改接口,只要第二个可用区会参与到资源分配。如果input开启容灾或者涉及RTSP_PULL协议切换时有效(会重新分配地址)。
|
void |
setAllowIpList(String[] AllowIpList)
Set 允许的推流的IP,CIDR格式。
|
void |
setDescription(String Description)
Set 输入描述。
|
void |
setFailOver(String FailOver)
Set 输入的主备开关,可选[OPEN|CLOSE]。
|
void |
setHLSPullSettings(CreateInputHLSPullSettings HLSPullSettings)
Set HLS_PULL的配置信息。
|
void |
setInputId(String InputId)
Set 输入Id。
|
void |
setInputName(String InputName)
Set 输入名称。
|
void |
setProtocol(String Protocol)
Set 输入的协议,可选[SRT|RTP|RTMP]。
当输出包含RTP时,输入只能是RTP。
当输出包含RTMP时,输入可以是SRT/RTMP。
当输出包含SRT时,输入只能是SRT。
|
void |
setResilientStream(ResilientStreamConf ResilientStream)
Set 延播平滑吐流配置信息。
|
void |
setRTMPPullSettings(CreateInputRTMPPullSettings RTMPPullSettings)
Set RTMP_PULL的配置信息。
|
void |
setRTPSettings(CreateInputRTPSettings RTPSettings)
Set RTP的配置信息。
|
void |
setRTSPPullSettings(CreateInputRTSPPullSettings RTSPPullSettings)
Set RTSP_PULL的配置信息。
|
void |
setSecurityGroupIds(String[] SecurityGroupIds)
Set 绑定的输入安全组 ID。 仅支持关联一组安全组。
|
void |
setSRTSettings(CreateInputSRTSettings SRTSettings)
Set SRT的配置信息。
|
void |
setZones(String[] Zones)
Set 可用区,非必填,最多支持输入两个可用区,对于需改接口,只要第二个可用区会参与到资源分配。如果input开启容灾或者涉及RTSP_PULL协议切换时有效(会重新分配地址)。
|
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, toJsonString
public ModifyInput()
public ModifyInput(ModifyInput source)
public String getInputId()
public void setInputId(String InputId)
InputId
- 输入Id。public String getInputName()
public void setInputName(String InputName)
InputName
- 输入名称。public String getDescription()
public void setDescription(String Description)
Description
- 输入描述。public String[] getAllowIpList()
public void setAllowIpList(String[] AllowIpList)
AllowIpList
- 允许的推流的IP,CIDR格式。public CreateInputSRTSettings getSRTSettings()
public void setSRTSettings(CreateInputSRTSettings SRTSettings)
SRTSettings
- SRT的配置信息。public CreateInputRTPSettings getRTPSettings()
public void setRTPSettings(CreateInputRTPSettings RTPSettings)
RTPSettings
- RTP的配置信息。public String getProtocol()
public void setProtocol(String Protocol)
Protocol
- 输入的协议,可选[SRT|RTP|RTMP]。
当输出包含RTP时,输入只能是RTP。
当输出包含RTMP时,输入可以是SRT/RTMP。
当输出包含SRT时,输入只能是SRT。public String getFailOver()
public void setFailOver(String FailOver)
FailOver
- 输入的主备开关,可选[OPEN|CLOSE]。public CreateInputRTMPPullSettings getRTMPPullSettings()
public void setRTMPPullSettings(CreateInputRTMPPullSettings RTMPPullSettings)
RTMPPullSettings
- RTMP_PULL的配置信息。public CreateInputRTSPPullSettings getRTSPPullSettings()
public void setRTSPPullSettings(CreateInputRTSPPullSettings RTSPPullSettings)
RTSPPullSettings
- RTSP_PULL的配置信息。public CreateInputHLSPullSettings getHLSPullSettings()
public void setHLSPullSettings(CreateInputHLSPullSettings HLSPullSettings)
HLSPullSettings
- HLS_PULL的配置信息。public ResilientStreamConf getResilientStream()
public void setResilientStream(ResilientStreamConf ResilientStream)
ResilientStream
- 延播平滑吐流配置信息。public String[] getSecurityGroupIds()
public void setSecurityGroupIds(String[] SecurityGroupIds)
SecurityGroupIds
- 绑定的输入安全组 ID。 仅支持关联一组安全组。public String[] getZones()
public void setZones(String[] Zones)
Zones
- 可用区,非必填,最多支持输入两个可用区,对于需改接口,只要第二个可用区会参与到资源分配。如果input开启容灾或者涉及RTSP_PULL协议切换时有效(会重新分配地址)。Copyright © 2024. All rights reserved.