public class ModifyInput extends AbstractModel
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 The IP addresses (CIDR) allowed to push streams.
|
String |
getDescription()
Get The description of the input.
|
String |
getFailOver()
Get Whether to enable input failover.
|
String |
getInputId()
Get The input ID.
|
String |
getInputName()
Get The input name.
|
String |
getProtocol()
Get The input protocol.
|
CreateInputRTPSettings |
getRTPSettings()
Get The RTP configuration information.
|
CreateInputSRTSettings |
getSRTSettings()
Get The SRT configuration information.
|
void |
setAllowIpList(String[] AllowIpList)
Set The IP addresses (CIDR) allowed to push streams.
|
void |
setDescription(String Description)
Set The description of the input.
|
void |
setFailOver(String FailOver)
Set Whether to enable input failover.
|
void |
setInputId(String InputId)
Set The input ID.
|
void |
setInputName(String InputName)
Set The input name.
|
void |
setProtocol(String Protocol)
Set The input protocol.
|
void |
setRTPSettings(CreateInputRTPSettings RTPSettings)
Set The RTP configuration information.
|
void |
setSRTSettings(CreateInputSRTSettings SRTSettings)
Set The SRT configuration information.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public ModifyInput()
public ModifyInput(ModifyInput source)
public String getInputId()
public void setInputId(String InputId)
InputId
- The input ID.public String getInputName()
public void setInputName(String InputName)
InputName
- The input name.public String getDescription()
public void setDescription(String Description)
Description
- The description of the input.public String[] getAllowIpList()
public void setAllowIpList(String[] AllowIpList)
AllowIpList
- The IP addresses (CIDR) allowed to push streams.public CreateInputSRTSettings getSRTSettings()
public void setSRTSettings(CreateInputSRTSettings SRTSettings)
SRTSettings
- The SRT configuration information.public CreateInputRTPSettings getRTPSettings()
public void setRTPSettings(CreateInputRTPSettings RTPSettings)
RTPSettings
- The RTP configuration information.public String getProtocol()
public void setProtocol(String Protocol)
Protocol
- The input protocol. Valid values: SRT, RTP, RTMP.
If there is an RTP input, the output must be RTP.
If there is an RTMP input, the output must be SRT or RTMP.
If there is an SRT input, the output must be SRT.public String getFailOver()
public void setFailOver(String FailOver)
FailOver
- Whether to enable input failover. Valid values: OPEN, CLOSE.Copyright © 2023. All rights reserved.