com.baidubce.services.media.model
Class Target

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

public class Target
extends Object

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


Constructor Summary
Target()
           
 
Method Summary
 Target addDelogoArea(Area delogoArea)
           
 void addInsert(Insert insert)
           
 String toString()
           
 Target withAutoDelogo(Boolean autoDelogo)
           
 Target withAutpCrop(Boolean autoCrop)
           
 Target withCrop(Area crop)
           
 Target withDelogoArea(Area delogoArea)
          Deprecated. 
 Target withDelogoAreas(List<Area> delogoAreas)
           
 Target withDelogoMode(String delogoMode)
           
 Target withInserts(List<Insert> inserts)
           
 Target withPresetName(String presetName)
           
 Target withTargetKey(String targetKey)
           
 Target withWatermarkIds(List<String> watermarkIds)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Target

public Target()
Method Detail

withTargetKey

public Target withTargetKey(String targetKey)

withPresetName

public Target withPresetName(String presetName)

withAutoDelogo

public Target withAutoDelogo(Boolean autoDelogo)

withDelogoMode

public Target withDelogoMode(String delogoMode)

withDelogoArea

@Deprecated
public Target withDelogoArea(Area delogoArea)
Deprecated. 


withDelogoAreas

public Target withDelogoAreas(List<Area> delogoAreas)

addDelogoArea

public Target addDelogoArea(Area delogoArea)

withAutpCrop

public Target withAutpCrop(Boolean autoCrop)

withCrop

public Target withCrop(Area crop)

withWatermarkIds

public Target withWatermarkIds(List<String> watermarkIds)

withInserts

public Target withInserts(List<Insert> inserts)

addInsert

public void addInsert(Insert insert)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2020. All rights reserved.