public class CreateOutputInfo extends AbstractModel
Constructor and Description |
---|
CreateOutputInfo() |
CreateOutputInfo(CreateOutputInfo 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 allowlist.
|
String |
getDescription()
Get Description of the output.
|
String |
getOutputName()
Get The output name.
|
String |
getOutputRegion()
Get The output region.
|
String |
getProtocol()
Get The output protocol.
|
CreateOutputRTMPSettings |
getRTMPSettings()
Get The RTMP configuration.
|
CreateOutputInfoRTPSettings |
getRTPSettings()
Get The RTP configuration.
|
CreateOutputSrtSettings |
getSRTSettings()
Get The SRT configuration.
|
void |
setAllowIpList(String[] AllowIpList)
Set The IP allowlist.
|
void |
setDescription(String Description)
Set Description of the output.
|
void |
setOutputName(String OutputName)
Set The output name.
|
void |
setOutputRegion(String OutputRegion)
Set The output region.
|
void |
setProtocol(String Protocol)
Set The output protocol.
|
void |
setRTMPSettings(CreateOutputRTMPSettings RTMPSettings)
Set The RTMP configuration.
|
void |
setRTPSettings(CreateOutputInfoRTPSettings RTPSettings)
Set The RTP configuration.
|
void |
setSRTSettings(CreateOutputSrtSettings SRTSettings)
Set The SRT configuration.
|
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 CreateOutputInfo()
public CreateOutputInfo(CreateOutputInfo source)
public String getOutputName()
public void setOutputName(String OutputName)
OutputName
- The output name.public String getDescription()
public void setDescription(String Description)
Description
- Description of the output.public String getProtocol()
public void setProtocol(String Protocol)
Protocol
- The output protocol. Valid values: SRT, RTP, RTMP, RTMP_PULL.public String getOutputRegion()
public void setOutputRegion(String OutputRegion)
OutputRegion
- The output region.public CreateOutputSrtSettings getSRTSettings()
public void setSRTSettings(CreateOutputSrtSettings SRTSettings)
SRTSettings
- The SRT configuration.public CreateOutputRTMPSettings getRTMPSettings()
public void setRTMPSettings(CreateOutputRTMPSettings RTMPSettings)
RTMPSettings
- The RTMP configuration.public CreateOutputInfoRTPSettings getRTPSettings()
public void setRTPSettings(CreateOutputInfoRTPSettings RTPSettings)
RTPSettings
- The RTP configuration.public String[] getAllowIpList()
public void setAllowIpList(String[] AllowIpList)
AllowIpList
- The IP allowlist. The address must be in CIDR format, such as `0.0.0.0/0`.
This parameter is valid if `Protocol` is set to `RTMP_PULL`. If it is left empty, there is no restriction on clients’ IP addresses.Copyright © 2023. All rights reserved.