Class CreateOutputInfo
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.mps.v20190612.models.CreateOutputInfo
-
public class CreateOutputInfo extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]getAllowIpList()Get IP白名单列表,格式为CIDR,如0.0.0.0/0。 当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。StringgetDescription()Get 输出描述。LonggetMaxConcurrent()Get 最大拉流并发数,最大4,默认4。StringgetOutputName()Get 输出的名称。StringgetOutputRegion()Get 输出地区。StringgetProtocol()Get 输出协议,可选[SRT|RTP|RTMP|RTMP_PULL]。CreateOutputRTMPSettingsgetRTMPSettings()Get 输出的RTMP的配置。CreateOutputInfoRTPSettingsgetRTPSettings()Get 输出的RTP的配置。CreateOutputSRTSettingsgetSRTSettings()Get 输出的SRT的配置。voidsetAllowIpList(String[] AllowIpList)Set IP白名单列表,格式为CIDR,如0.0.0.0/0。 当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。voidsetDescription(String Description)Set 输出描述。voidsetMaxConcurrent(Long MaxConcurrent)Set 最大拉流并发数,最大4,默认4。voidsetOutputName(String OutputName)Set 输出的名称。voidsetOutputRegion(String OutputRegion)Set 输出地区。voidsetProtocol(String Protocol)Set 输出协议,可选[SRT|RTP|RTMP|RTMP_PULL]。voidsetRTMPSettings(CreateOutputRTMPSettings RTMPSettings)Set 输出的RTMP的配置。voidsetRTPSettings(CreateOutputInfoRTPSettings RTPSettings)Set 输出的RTP的配置。voidsetSRTSettings(CreateOutputSRTSettings SRTSettings)Set 输出的SRT的配置。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
CreateOutputInfo
public CreateOutputInfo()
-
CreateOutputInfo
public 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.
-
-
Method Detail
-
getOutputName
public String getOutputName()
Get 输出的名称。- Returns:
- OutputName 输出的名称。
-
setOutputName
public void setOutputName(String OutputName)
Set 输出的名称。- Parameters:
OutputName- 输出的名称。
-
getDescription
public String getDescription()
Get 输出描述。- Returns:
- Description 输出描述。
-
setDescription
public void setDescription(String Description)
Set 输出描述。- Parameters:
Description- 输出描述。
-
getProtocol
public String getProtocol()
Get 输出协议,可选[SRT|RTP|RTMP|RTMP_PULL]。- Returns:
- Protocol 输出协议,可选[SRT|RTP|RTMP|RTMP_PULL]。
-
setProtocol
public void setProtocol(String Protocol)
Set 输出协议,可选[SRT|RTP|RTMP|RTMP_PULL]。- Parameters:
Protocol- 输出协议,可选[SRT|RTP|RTMP|RTMP_PULL]。
-
getOutputRegion
public String getOutputRegion()
Get 输出地区。- Returns:
- OutputRegion 输出地区。
-
setOutputRegion
public void setOutputRegion(String OutputRegion)
Set 输出地区。- Parameters:
OutputRegion- 输出地区。
-
getSRTSettings
public CreateOutputSRTSettings getSRTSettings()
Get 输出的SRT的配置。- Returns:
- SRTSettings 输出的SRT的配置。
-
setSRTSettings
public void setSRTSettings(CreateOutputSRTSettings SRTSettings)
Set 输出的SRT的配置。- Parameters:
SRTSettings- 输出的SRT的配置。
-
getRTMPSettings
public CreateOutputRTMPSettings getRTMPSettings()
Get 输出的RTMP的配置。- Returns:
- RTMPSettings 输出的RTMP的配置。
-
setRTMPSettings
public void setRTMPSettings(CreateOutputRTMPSettings RTMPSettings)
Set 输出的RTMP的配置。- Parameters:
RTMPSettings- 输出的RTMP的配置。
-
getRTPSettings
public CreateOutputInfoRTPSettings getRTPSettings()
Get 输出的RTP的配置。- Returns:
- RTPSettings 输出的RTP的配置。
-
setRTPSettings
public void setRTPSettings(CreateOutputInfoRTPSettings RTPSettings)
Set 输出的RTP的配置。- Parameters:
RTPSettings- 输出的RTP的配置。
-
getAllowIpList
public String[] getAllowIpList()
Get IP白名单列表,格式为CIDR,如0.0.0.0/0。 当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。- Returns:
- AllowIpList IP白名单列表,格式为CIDR,如0.0.0.0/0。 当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
-
setAllowIpList
public void setAllowIpList(String[] AllowIpList)
Set IP白名单列表,格式为CIDR,如0.0.0.0/0。 当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。- Parameters:
AllowIpList- IP白名单列表,格式为CIDR,如0.0.0.0/0。 当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
-
getMaxConcurrent
public Long getMaxConcurrent()
Get 最大拉流并发数,最大4,默认4。- Returns:
- MaxConcurrent 最大拉流并发数,最大4,默认4。
-
setMaxConcurrent
public void setMaxConcurrent(Long MaxConcurrent)
Set 最大拉流并发数,最大4,默认4。- Parameters:
MaxConcurrent- 最大拉流并发数,最大4,默认4。
-
-