public class CreateInput extends AbstractModel
header, skipSign| 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 | 
getFailOver()
Get Input failover. 
 | 
CreateInputHLSPullSettings | 
getHLSPullSettings()
Get Input HLS_PULL configuration information. 
 | 
String | 
getInputName()
Get Input name, which can contain 1 to 32 letters, digits, and underscores. 
 | 
String | 
getProtocol()
Get Input protocol. 
 | 
ResilientStreamConf | 
getResilientStream()
Get Delayed broadcast smooth streaming configuration information. 
 | 
CreateInputRTMPPullSettings | 
getRTMPPullSettings()
Get Input RTMP_PULL configuration information. 
 | 
CreateInputRTPSettings | 
getRTPSettings()
Get RTP configuration information of input. 
 | 
CreateInputRTSPPullSettings | 
getRTSPPullSettings()
Get Input RTSP_PULL configuration information. 
 | 
String[] | 
getSecurityGroupIds()
Get The bound security group IDs. 
 | 
CreateInputSRTSettings | 
getSRTSettings()
Get SRT configuration information of input. 
 | 
String[] | 
getZones()
Get Availability zone, optional. 
 | 
void | 
setAllowIpList(String[] AllowIpList)
Set Allowlist of input IPs in CIDR format. 
 | 
void | 
setDescription(String Description)
Set Input description. 
 | 
void | 
setFailOver(String FailOver)
Set Input failover. 
 | 
void | 
setHLSPullSettings(CreateInputHLSPullSettings HLSPullSettings)
Set Input HLS_PULL configuration information. 
 | 
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 | 
setResilientStream(ResilientStreamConf ResilientStream)
Set Delayed broadcast smooth streaming configuration information. 
 | 
void | 
setRTMPPullSettings(CreateInputRTMPPullSettings RTMPPullSettings)
Set Input RTMP_PULL configuration information. 
 | 
void | 
setRTPSettings(CreateInputRTPSettings RTPSettings)
Set RTP configuration information of input. 
 | 
void | 
setRTSPPullSettings(CreateInputRTSPPullSettings RTSPPullSettings)
Set Input RTSP_PULL configuration information. 
 | 
void | 
setSecurityGroupIds(String[] SecurityGroupIds)
Set The bound security group IDs. 
 | 
void | 
setSRTSettings(CreateInputSRTSettings SRTSettings)
Set SRT configuration information of input. 
 | 
void | 
setZones(String[] Zones)
Set Availability zone, optional. 
 | 
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 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`, `RTMP`, `RTMP_PULL`, `RTSP_PULL `, `HLS_PULL`.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.public String getFailOver()
public void setFailOver(String FailOver)
FailOver - Input failover. Valid values: `OPEN`, `CLOSE` (default)public CreateInputRTMPPullSettings getRTMPPullSettings()
public void setRTMPPullSettings(CreateInputRTMPPullSettings RTMPPullSettings)
RTMPPullSettings - Input RTMP_PULL configuration information.public CreateInputRTSPPullSettings getRTSPPullSettings()
public void setRTSPPullSettings(CreateInputRTSPPullSettings RTSPPullSettings)
RTSPPullSettings - Input RTSP_PULL configuration information.public CreateInputHLSPullSettings getHLSPullSettings()
public void setHLSPullSettings(CreateInputHLSPullSettings HLSPullSettings)
HLSPullSettings - Input HLS_PULL configuration information.public ResilientStreamConf getResilientStream()
public void setResilientStream(ResilientStreamConf ResilientStream)
ResilientStream - Delayed broadcast smooth streaming configuration information.public String[] getSecurityGroupIds()
public void setSecurityGroupIds(String[] SecurityGroupIds)
SecurityGroupIds - The bound security group IDs.public String[] getZones()
public void setZones(String[] Zones)
Zones - Availability zone, optional. If disaster recovery is enabled, you must enter two different availability zones. Otherwise, you can only enter one availability zone at most.Copyright © 2025. All rights reserved.