public class CreatePresetRequest extends AbstractBceRequest
| Constructor and Description |
|---|
CreatePresetRequest() |
| Modifier and Type | Method and Description |
|---|---|
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) |
getRequestCredentials, setRequestCredentialspublic 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 onlypublic Audio getAudio()
public void setAudio(Audio audio)
audio - the audio settingspublic CreatePresetRequest withAudio(Audio audio)
audio - the audio settingspublic Video getVideo()
public void setVideo(Video video)
video - the video settingspublic CreatePresetRequest withVideo(Video video)
video - the video settingspublic Hls getHls()
public void setHls(Hls hls)
hls - the HLS settingpublic CreatePresetRequest withHls(Hls hls)
hls - the HLS settingspublic Rtmp getRtmp()
public void setRtmp(Rtmp rtmp)
rtmp - the RTMP settingspublic CreatePresetRequest withRtmp(Rtmp rtmp)
rtmp - the RTMP settingspublic 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 AbstractBceRequestCopyright © 2023. All rights reserved.