com.baidubce.services.lss.model
Class CreatePresetRequest

java.lang.Object
  extended by com.baidubce.model.AbstractBceRequest
      extended by com.baidubce.services.lss.model.CreatePresetRequest

public class CreatePresetRequest
extends AbstractBceRequest


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

CreatePresetRequest

public CreatePresetRequest()
Method Detail

getName

public String getName()
Returns the name of the preset.

Returns:
the name of the preset

setName

public void setName(String name)
Sets the name of the preset.

Parameters:
name - the name of the preset

withName

public CreatePresetRequest withName(String name)
Sets the name of the preset and returns this object.

Parameters:
name - the name of the preset.
Returns:
this object

getDescription

public String getDescription()
Returns the description of the preset.

Returns:
the description of the preset

setDescription

public void setDescription(String description)
Sets the description of the preset.

Parameters:
description - the description of the preset

withDescription

public CreatePresetRequest withDescription(String description)
Sets the description of the preset and returns this object.

Parameters:
description - the description of the preset.
Returns:
this object

getForwardOnly

public Boolean getForwardOnly()
Returns true if forward only.

Returns:
true if forward only.

setForwardOnly

public void setForwardOnly(Boolean forwardOnly)
Sets the forward option

Parameters:
forwardOnly - true if forward only

withForwardOnly

public CreatePresetRequest withForwardOnly(Boolean forwardOnly)
Sets the forward option and returns this object.

Parameters:
forwardOnly - true if forward only
Returns:
this object

getAudio

public Audio getAudio()
Returns the audio settings.

Returns:
the audio settings

setAudio

public void setAudio(Audio audio)
Sets the audio settings.

Parameters:
audio - the audio settings

withAudio

public CreatePresetRequest withAudio(Audio audio)
Sets the audio settings and returns this object.

Parameters:
audio - the audio settings
Returns:
this object

getVideo

public Video getVideo()
Returns the video settings.

Returns:
the video settings

setVideo

public void setVideo(Video video)
Sets the video settings.

Parameters:
video - the video settings

withVideo

public CreatePresetRequest withVideo(Video video)
Sets the video settings and returns this object.

Parameters:
video - the video settings
Returns:
this object

getHls

public Hls getHls()
Returns the HLS settings.

Returns:
the HLS settings

setHls

public void setHls(Hls hls)
Sets the HLS settings.

Parameters:
hls - the HLS setting

withHls

public CreatePresetRequest withHls(Hls hls)
Sets the HLS settings and returns this object.

Parameters:
hls - the HLS settings
Returns:
this object

getRtmp

public Rtmp getRtmp()
Returns the RTMP settings.

Returns:
the RTMP settings

setRtmp

public void setRtmp(Rtmp rtmp)
Sets the RTMP settings.

Parameters:
rtmp - the RTMP settings

withRtmp

public CreatePresetRequest withRtmp(Rtmp rtmp)
Sets the RTMP settings and returns this object.

Parameters:
rtmp - the RTMP settings
Returns:
this object

getWatermarks

public Watermarks getWatermarks()
Returns the watermark settings.

Returns:
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)
Specified by:
withRequestCredentials in class AbstractBceRequest

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2018. All rights reserved.