Class TranscoderOutput
- java.lang.Object
-
- org.craftercms.studio.api.v1.aws.elastictranscoder.TranscoderOutput
-
public class TranscoderOutput extends Object
Holds the information for a specific output a transcoder should generate.- Author:
- avasquez
-
-
Constructor Summary
Constructors Constructor Description TranscoderOutput()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getOutputKeySuffix()
Returns the key suffix for files generated for this output (e.g.String
getPresetId()
Returns the ID of the preset with the transcoding configuration.String
getThumbnailSuffixFormat()
Returns the thumbnail suffix format for this output.void
setOutputKeySuffix(String outputKeySuffix)
Sets the key suffix for files generated for this output (e.g.void
setPresetId(String presetId)
Sets the ID of the preset with the transcoding configuration.void
setThumbnailSuffixFormat(String thumbnailSuffixFormat)
Sets the thumbnail suffix format for this output.
-
-
-
Method Detail
-
getPresetId
public String getPresetId()
Returns the ID of the preset with the transcoding configuration.
-
setPresetId
public void setPresetId(String presetId)
Sets the ID of the preset with the transcoding configuration.
-
getOutputKeySuffix
public String getOutputKeySuffix()
Returns the key suffix for files generated for this output (e.g. -small, -medium, -large)- Returns:
- output key suffix
-
setOutputKeySuffix
public void setOutputKeySuffix(String outputKeySuffix)
Sets the key suffix for files generated for this output (e.g. -small, -medium, -large)- Parameters:
outputKeySuffix
- output key suffix
-
getThumbnailSuffixFormat
public String getThumbnailSuffixFormat()
Returns the thumbnail suffix format for this output. If nothing is specified, no thumbnails will be generated. The format should at least contain the macro {count} (required by AWS). {resolution} can also be specified. E.g. -{resolution}-{count}.jpg- Returns:
- thumbnail suffix format
-
setThumbnailSuffixFormat
public void setThumbnailSuffixFormat(String thumbnailSuffixFormat)
Sets the thumbnail suffix format for this output. If nothing is specified, no thumbnails will be generated. The format should at least contain the macro {count} (required by AWS). {resolution} can also be specified. E.g. -{resolution}-{count}.jpg- Parameters:
thumbnailSuffixFormat
- thumbnail suffix format
-
-