Class TranscoderOutput
java.lang.Object
org.craftercms.studio.api.v1.aws.elastictranscoder.TranscoderOutput
Holds the information for a specific output a transcoder should generate.
- Author:
- avasquez
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the key suffix for files generated for this output (e.g.Returns the ID of the preset with the transcoding configuration.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.
-
Constructor Details
-
TranscoderOutput
public TranscoderOutput()
-
-
Method Details
-
getPresetId
Returns the ID of the preset with the transcoding configuration. -
setPresetId
Sets the ID of the preset with the transcoding configuration. -
getOutputKeySuffix
Returns the key suffix for files generated for this output (e.g. -small, -medium, -large)- Returns:
- output key suffix
-
setOutputKeySuffix
Sets the key suffix for files generated for this output (e.g. -small, -medium, -large)- Parameters:
outputKeySuffix
- output key suffix
-
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
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
-