com.baidubce.services.vod.model
Class GenerateMediaPlayerCodeRequest

java.lang.Object
  extended by com.baidubce.model.AbstractBceRequest
      extended by com.baidubce.services.vod.model.GenerateMediaPlayerCodeRequest

public class GenerateMediaPlayerCodeRequest
extends AbstractBceRequest


Constructor Summary
GenerateMediaPlayerCodeRequest()
           
 
Method Summary
 String getAk()
           
 Boolean getAutoStart()
           
 int getHeight()
          Gets the ETag value for the newly created object.
 String getMediaId()
          Gets the media ID value for the media resource.
 String getTranscodingPresetName()
           
 int getWidth()
          Gets the ETag value for the newly created object.
 Boolean isAutoStart()
          Gets the ETag value for the newly created object.
 void setAk(String ak)
           
 void setAutoStart(Boolean autoStart)
          Sets the ETag value for the new object that was created from the associated putObject request.
 void setHeight(int height)
          Sets the ETag value for the new object that was created from the associated putObject request.
 void setMediaId(String mediaId)
          Sets the ETag value for the new object that was created from the associated putObject request.
 void setTranscodingPresetName(String transcodingPresetName)
           
 void setWidth(int width)
          Sets the ETag value for the new object that was created from the associated putObject request.
 String toString()
           
 GenerateMediaPlayerCodeRequest withAk(String ak)
           
 GenerateMediaPlayerCodeRequest withAutoStart(boolean autoStart)
           
 GenerateMediaPlayerCodeRequest withHeight(int height)
           
 GenerateMediaPlayerCodeRequest withMediaId(String mediaId)
           
 AbstractBceRequest withRequestCredentials(BceCredentials credentials)
           
 GenerateMediaPlayerCodeRequest withTranscodingPresetName(String transcodingPresetName)
           
 GenerateMediaPlayerCodeRequest withWidth(int width)
           
 
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

GenerateMediaPlayerCodeRequest

public GenerateMediaPlayerCodeRequest()
Method Detail

getAutoStart

public Boolean getAutoStart()

getTranscodingPresetName

public String getTranscodingPresetName()

setTranscodingPresetName

public void setTranscodingPresetName(String transcodingPresetName)

withTranscodingPresetName

public GenerateMediaPlayerCodeRequest withTranscodingPresetName(String transcodingPresetName)

toString

public String toString()
Overrides:
toString in class Object

getAk

public String getAk()

setAk

public void setAk(String ak)

withAk

public GenerateMediaPlayerCodeRequest withAk(String ak)

getMediaId

public String getMediaId()
Gets the media ID value for the media resource.

Returns:
The ETag value for the new object.

setMediaId

public void setMediaId(String mediaId)
Sets the ETag value for the new object that was created from the associated putObject request.

Parameters:
mediaId - The ETag value for the new object.

withMediaId

public GenerateMediaPlayerCodeRequest withMediaId(String mediaId)

getWidth

public int getWidth()
Gets the ETag value for the newly created object.

Returns:
The ETag value for the new object.

setWidth

public void setWidth(int width)
Sets the ETag value for the new object that was created from the associated putObject request.

Parameters:
width - The ETag value for the new object.

withWidth

public GenerateMediaPlayerCodeRequest withWidth(int width)

getHeight

public int getHeight()
Gets the ETag value for the newly created object.

Returns:
The ETag value for the new object.

setHeight

public void setHeight(int height)
Sets the ETag value for the new object that was created from the associated putObject request.

Parameters:
height - The ETag value for the new object.

withHeight

public GenerateMediaPlayerCodeRequest withHeight(int height)

isAutoStart

public Boolean isAutoStart()
Gets the ETag value for the newly created object.

Returns:
The ETag value for the new object.

setAutoStart

public void setAutoStart(Boolean autoStart)
Sets the ETag value for the new object that was created from the associated putObject request.

Parameters:
autoStart - The ETag value for the new object.

withAutoStart

public GenerateMediaPlayerCodeRequest withAutoStart(boolean autoStart)

withRequestCredentials

public AbstractBceRequest withRequestCredentials(BceCredentials credentials)
Specified by:
withRequestCredentials in class AbstractBceRequest


Copyright © 2018. All rights reserved.