|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.baidubce.model.AbstractBceRequest
com.baidubce.services.lss.model.CreatePresetRequest
public class CreatePresetRequest
Constructor Summary | |
---|---|
CreatePresetRequest()
|
Method Summary | |
---|---|
Audio |
getAudio()
Returns the audio settings. |
String |
getDescription()
Returns the description of the preset. |
Boolean |
getForwardOnly()
Returns true if forward only. |
Hls |
getHls()
Returns the HLS settings. |
String |
getName()
Returns the name of the preset. |
Rtmp |
getRtmp()
Returns the RTMP settings. |
LiveThumbnail |
getThumbnail()
缩略图输出信息的集合 |
Video |
getVideo()
Returns the video settings. |
Watermarks |
getWatermarks()
Returns the watermark settings. |
void |
setAudio(Audio audio)
Sets the audio settings. |
void |
setDescription(String description)
Sets the description of the preset. |
void |
setForwardOnly(Boolean forwardOnly)
Sets the forward option |
void |
setHls(Hls hls)
Sets the HLS settings. |
void |
setName(String name)
Sets the name of the preset. |
void |
setRtmp(Rtmp rtmp)
Sets the RTMP settings. |
void |
setThumbnail(LiveThumbnail thumbnail)
|
void |
setVideo(Video video)
Sets the video settings. |
void |
setWatermarks(Watermarks watermarks)
|
String |
toString()
|
CreatePresetRequest |
withAudio(Audio audio)
Sets the audio settings and returns this object. |
CreatePresetRequest |
withDescription(String description)
Sets the description of the preset and returns this object. |
CreatePresetRequest |
withForwardOnly(Boolean forwardOnly)
Sets the forward option and returns this object. |
CreatePresetRequest |
withHls(Hls hls)
Sets the HLS settings and returns this object. |
CreatePresetRequest |
withName(String name)
Sets the name of the preset and returns this object. |
CreatePresetRequest |
withRequestCredentials(BceCredentials credentials)
|
CreatePresetRequest |
withRtmp(Rtmp rtmp)
Sets the RTMP settings and returns this object. |
CreatePresetRequest |
withThumbnail(LiveThumbnail thumbnail)
|
CreatePresetRequest |
withVideo(Video video)
Sets the video settings and returns this object. |
CreatePresetRequest |
withWatermarks(Watermarks watermarks)
|
Methods inherited from class com.baidubce.model.AbstractBceRequest |
---|
getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CreatePresetRequest()
Method Detail |
---|
public String getName()
public void setName(String name)
name
- the name of the presetpublic CreatePresetRequest withName(String name)
name
- the name of the preset.
public String getDescription()
public void setDescription(String description)
description
- the description of the presetpublic CreatePresetRequest withDescription(String description)
description
- the description of the preset.
public Boolean getForwardOnly()
public void setForwardOnly(Boolean forwardOnly)
forwardOnly
- true if forward onlypublic CreatePresetRequest withForwardOnly(Boolean forwardOnly)
forwardOnly
- true if forward only
public Audio getAudio()
public void setAudio(Audio audio)
audio
- the audio settingspublic CreatePresetRequest withAudio(Audio audio)
audio
- the audio settings
public Video getVideo()
public void setVideo(Video video)
video
- the video settingspublic CreatePresetRequest withVideo(Video video)
video
- the video settings
public Hls getHls()
public void setHls(Hls hls)
hls
- the HLS settingpublic CreatePresetRequest withHls(Hls hls)
hls
- the HLS settings
public Rtmp getRtmp()
public void setRtmp(Rtmp rtmp)
rtmp
- the RTMP settingspublic CreatePresetRequest withRtmp(Rtmp rtmp)
rtmp
- the RTMP settings
public Watermarks getWatermarks()
public void setWatermarks(Watermarks watermarks)
public CreatePresetRequest withWatermarks(Watermarks watermarks)
public LiveThumbnail getThumbnail()
public void setThumbnail(LiveThumbnail thumbnail)
public CreatePresetRequest withThumbnail(LiveThumbnail thumbnail)
public CreatePresetRequest withRequestCredentials(BceCredentials credentials)
withRequestCredentials
in class AbstractBceRequest
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |