类 GenerateMediaPlayerCodeRequest
- java.lang.Object
-
- com.baidubce.model.AbstractBceRequest
-
- com.baidubce.services.vod.model.GenerateMediaPlayerCodeRequest
-
public class GenerateMediaPlayerCodeRequest extends AbstractBceRequest
-
-
构造器概要
构造器 构造器 说明 GenerateMediaPlayerCodeRequest()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetAk()BooleangetAutoStart()intgetHeight()Gets the ETag value for the newly created object.StringgetMediaId()Gets the media ID value for the media resource.StringgetTranscodingPresetName()intgetWidth()Gets the ETag value for the newly created object.BooleanisAutoStart()Gets the ETag value for the newly created object.voidsetAk(String ak)voidsetAutoStart(Boolean autoStart)Sets the ETag value for the new object that was created from the associatedputObjectrequest.voidsetHeight(int height)Sets the ETag value for the new object that was created from the associatedputObjectrequest.voidsetMediaId(String mediaId)Sets the ETag value for the new object that was created from the associatedputObjectrequest.voidsetTranscodingPresetName(String transcodingPresetName)voidsetWidth(int width)Sets the ETag value for the new object that was created from the associatedputObjectrequest.StringtoString()GenerateMediaPlayerCodeRequestwithAk(String ak)GenerateMediaPlayerCodeRequestwithAutoStart(boolean autoStart)GenerateMediaPlayerCodeRequestwithHeight(int height)GenerateMediaPlayerCodeRequestwithMediaId(String mediaId)AbstractBceRequestwithRequestCredentials(BceCredentials credentials)GenerateMediaPlayerCodeRequestwithTranscodingPresetName(String transcodingPresetName)GenerateMediaPlayerCodeRequestwithWidth(int width)-
从类继承的方法 com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
-
-
-
-
方法详细资料
-
getAutoStart
public Boolean getAutoStart()
-
getTranscodingPresetName
public String getTranscodingPresetName()
-
setTranscodingPresetName
public void setTranscodingPresetName(String transcodingPresetName)
-
withTranscodingPresetName
public GenerateMediaPlayerCodeRequest withTranscodingPresetName(String transcodingPresetName)
-
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.- 返回:
- 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 associatedputObjectrequest.- 参数:
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.- 返回:
- 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 associatedputObjectrequest.- 参数:
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.- 返回:
- 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 associatedputObjectrequest.- 参数:
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.- 返回:
- 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 associatedputObjectrequest.- 参数:
autoStart- The ETag value for the new object.
-
withAutoStart
public GenerateMediaPlayerCodeRequest withAutoStart(boolean autoStart)
-
withRequestCredentials
public AbstractBceRequest withRequestCredentials(BceCredentials credentials)
- 指定者:
withRequestCredentials在类中AbstractBceRequest
-
-