类 CreatePresetRequest
- java.lang.Object
-
- com.baidubce.model.AbstractBceRequest
-
- com.baidubce.services.lss.model.CreatePresetRequest
-
public class CreatePresetRequest extends AbstractBceRequest
-
-
构造器概要
构造器 构造器 说明 CreatePresetRequest()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 AudiogetAudio()Returns the audio settings.StringgetDescription()Returns the description of the preset.BooleangetForwardOnly()Returns true if forward only.HlsgetHls()Returns the HLS settings.StringgetName()Returns the name of the preset.RtmpgetRtmp()Returns the RTMP settings.LiveThumbnailgetThumbnail()缩略图输出信息的集合VideogetVideo()Returns the video settings.WatermarksgetWatermarks()Returns the watermark settings.voidsetAudio(Audio audio)Sets the audio settings.voidsetDescription(String description)Sets the description of the preset.voidsetForwardOnly(Boolean forwardOnly)Sets the forward optionvoidsetHls(Hls hls)Sets the HLS settings.voidsetName(String name)Sets the name of the preset.voidsetRtmp(Rtmp rtmp)Sets the RTMP settings.voidsetThumbnail(LiveThumbnail thumbnail)voidsetVideo(Video video)Sets the video settings.voidsetWatermarks(Watermarks watermarks)StringtoString()CreatePresetRequestwithAudio(Audio audio)Sets the audio settings and returns this object.CreatePresetRequestwithDescription(String description)Sets the description of the preset and returns this object.CreatePresetRequestwithForwardOnly(Boolean forwardOnly)Sets the forward option and returns this object.CreatePresetRequestwithHls(Hls hls)Sets the HLS settings and returns this object.CreatePresetRequestwithName(String name)Sets the name of the preset and returns this object.CreatePresetRequestwithRequestCredentials(BceCredentials credentials)CreatePresetRequestwithRtmp(Rtmp rtmp)Sets the RTMP settings and returns this object.CreatePresetRequestwithThumbnail(LiveThumbnail thumbnail)CreatePresetRequestwithVideo(Video video)Sets the video settings and returns this object.CreatePresetRequestwithWatermarks(Watermarks watermarks)-
从类继承的方法 com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
-
-
-
-
方法详细资料
-
getName
public String getName()
Returns the name of the preset.- 返回:
- the name of the preset
-
setName
public void setName(String name)
Sets the name of the preset.- 参数:
name- the name of the preset
-
withName
public CreatePresetRequest withName(String name)
Sets the name of the preset and returns this object.- 参数:
name- the name of the preset.- 返回:
- this object
-
getDescription
public String getDescription()
Returns the description of the preset.- 返回:
- the description of the preset
-
setDescription
public void setDescription(String description)
Sets the description of the preset.- 参数:
description- the description of the preset
-
withDescription
public CreatePresetRequest withDescription(String description)
Sets the description of the preset and returns this object.- 参数:
description- the description of the preset.- 返回:
- this object
-
getForwardOnly
public Boolean getForwardOnly()
Returns true if forward only.- 返回:
- true if forward only.
-
setForwardOnly
public void setForwardOnly(Boolean forwardOnly)
Sets the forward option- 参数:
forwardOnly- true if forward only
-
withForwardOnly
public CreatePresetRequest withForwardOnly(Boolean forwardOnly)
Sets the forward option and returns this object.- 参数:
forwardOnly- true if forward only- 返回:
- this object
-
getAudio
public Audio getAudio()
Returns the audio settings.- 返回:
- the audio settings
-
setAudio
public void setAudio(Audio audio)
Sets the audio settings.- 参数:
audio- the audio settings
-
withAudio
public CreatePresetRequest withAudio(Audio audio)
Sets the audio settings and returns this object.- 参数:
audio- the audio settings- 返回:
- this object
-
getVideo
public Video getVideo()
Returns the video settings.- 返回:
- the video settings
-
setVideo
public void setVideo(Video video)
Sets the video settings.- 参数:
video- the video settings
-
withVideo
public CreatePresetRequest withVideo(Video video)
Sets the video settings and returns this object.- 参数:
video- the video settings- 返回:
- this object
-
getHls
public Hls getHls()
Returns the HLS settings.- 返回:
- the HLS settings
-
setHls
public void setHls(Hls hls)
Sets the HLS settings.- 参数:
hls- the HLS setting
-
withHls
public CreatePresetRequest withHls(Hls hls)
Sets the HLS settings and returns this object.- 参数:
hls- the HLS settings- 返回:
- this object
-
getRtmp
public Rtmp getRtmp()
Returns the RTMP settings.- 返回:
- the RTMP settings
-
setRtmp
public void setRtmp(Rtmp rtmp)
Sets the RTMP settings.- 参数:
rtmp- the RTMP settings
-
withRtmp
public CreatePresetRequest withRtmp(Rtmp rtmp)
Sets the RTMP settings and returns this object.- 参数:
rtmp- the RTMP settings- 返回:
- this object
-
getWatermarks
public Watermarks getWatermarks()
Returns the watermark settings.- 返回:
- the watermark settings
-
setWatermarks
public void setWatermarks(Watermarks watermarks)
-
withWatermarks
public CreatePresetRequest withWatermarks(Watermarks watermarks)
-
getThumbnail
public LiveThumbnail getThumbnail()
缩略图输出信息的集合
-
setThumbnail
public void setThumbnail(LiveThumbnail thumbnail)
-
withThumbnail
public CreatePresetRequest withThumbnail(LiveThumbnail thumbnail)
-
withRequestCredentials
public CreatePresetRequest withRequestCredentials(BceCredentials credentials)
- 指定者:
withRequestCredentials在类中AbstractBceRequest
-
-