com.baidubce.services.media.model
Class SourceClip

java.lang.Object
  extended by com.baidubce.services.media.model.SourceClip

public class SourceClip
extends Object

The model which will be used to set source clip info in creating transcoding job


Constructor Summary
SourceClip()
           
 
Method Summary
 String getSourceKey()
           
 void setSourceKey(String sourceKey)
           
 String toString()
           
 SourceClip withAsMasterClip(Boolean enableDelogo)
           
 SourceClip withBucket(String bucket)
           
 SourceClip withDurationInMillisecond(Integer durationInMillisecond)
           
 SourceClip withDurationInSecond(Integer durationInSecond)
           
 SourceClip withEnableCrop(Boolean enableCrop)
           
 SourceClip withEnableDelogo(Boolean enableDelogo)
           
 SourceClip withEnableLogo(Boolean enableLogo)
           
 SourceClip withSourceKey(String sourceKey)
           
 SourceClip withStartTimeInMillisecond(Integer startTimeInMillisecond)
           
 SourceClip withStartTimeInSecond(Integer startTimeInSecond)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SourceClip

public SourceClip()
Method Detail

getSourceKey

public String getSourceKey()

setSourceKey

public void setSourceKey(String sourceKey)

withSourceKey

public SourceClip withSourceKey(String sourceKey)

withStartTimeInSecond

public SourceClip withStartTimeInSecond(Integer startTimeInSecond)

withDurationInSecond

public SourceClip withDurationInSecond(Integer durationInSecond)

withStartTimeInMillisecond

public SourceClip withStartTimeInMillisecond(Integer startTimeInMillisecond)

withDurationInMillisecond

public SourceClip withDurationInMillisecond(Integer durationInMillisecond)

withEnableLogo

public SourceClip withEnableLogo(Boolean enableLogo)

withBucket

public SourceClip withBucket(String bucket)

withAsMasterClip

public SourceClip withAsMasterClip(Boolean enableDelogo)

withEnableDelogo

public SourceClip withEnableDelogo(Boolean enableDelogo)

withEnableCrop

public SourceClip withEnableCrop(Boolean enableCrop)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2020. All rights reserved.