public class CreateInput extends AbstractModel
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getAllowIpList()
Get Allowlist of input IPs in CIDR format.
|
String |
getDescription()
Get Input description.
|
String |
getInputName()
Get Input name, which can contain 1 to 32 letters, digits, and underscores.
|
String |
getProtocol()
Get Input protocol.
|
CreateInputRTPSettings |
getRTPSettings()
Get RTP configuration information of input.
|
CreateInputSRTSettings |
getSRTSettings()
Get SRT configuration information of input.
|
void |
setAllowIpList(String[] AllowIpList)
Set Allowlist of input IPs in CIDR format.
|
void |
setDescription(String Description)
Set Input description.
|
void |
setInputName(String InputName)
Set Input name, which can contain 1 to 32 letters, digits, and underscores.
|
void |
setProtocol(String Protocol)
Set Input protocol.
|
void |
setRTPSettings(CreateInputRTPSettings RTPSettings)
Set RTP configuration information of input.
|
void |
setSRTSettings(CreateInputSRTSettings SRTSettings)
Set SRT configuration information of input.
|
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 CreateInput()
public CreateInput(CreateInput source)
public String getInputName()
public void setInputName(String InputName)
InputName
- Input name, which can contain 1 to 32 letters, digits, and underscores.public String getProtocol()
public void setProtocol(String Protocol)
Protocol
- Input protocol. Valid values: SRT, RTP.public String getDescription()
public void setDescription(String Description)
Description
- Input description. Length: [0, 255].public String[] getAllowIpList()
public void setAllowIpList(String[] AllowIpList)
AllowIpList
- Allowlist of input IPs in CIDR format.public CreateInputSRTSettings getSRTSettings()
public void setSRTSettings(CreateInputSRTSettings SRTSettings)
SRTSettings
- SRT configuration information of input.public CreateInputRTPSettings getRTPSettings()
public void setRTPSettings(CreateInputRTPSettings RTPSettings)
RTPSettings
- RTP configuration information of input.Copyright © 2021. All rights reserved.