Example usage for com.amazonaws.services.elastictranscoder.model Pipeline getContentConfig

List of usage examples for com.amazonaws.services.elastictranscoder.model Pipeline getContentConfig

Introduction

In this page you can find the example usage for com.amazonaws.services.elastictranscoder.model Pipeline getContentConfig.

Prototype


public PipelineOutputConfig getContentConfig() 

Source Link

Document

Information about the Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists.

Usage

From source file:org.alanwilliamson.amazon.transcoder.pipeline.List.java

License:Open Source License

protected cfStructData getPipeline(Pipeline pipeline) throws cfmRunTimeException {
    cfStructData s = new cfStructData();

    s.setData("id", new cfStringData(pipeline.getId()));
    s.setData("name", new cfStringData(pipeline.getName()));
    s.setData("inputbucket", new cfStringData(pipeline.getInputBucket()));
    s.setData("status", new cfStringData(pipeline.getStatus()));
    s.setData("role", new cfStringData(pipeline.getRole()));
    s.setData("arn", new cfStringData(pipeline.getArn()));
    s.setData("awskey", new cfStringData(pipeline.getAwsKmsKeyArn()));
    s.setData("outputbucket", new cfStringData(pipeline.getOutputBucket()));

    s.setData("contentconfig", getConfig(pipeline.getContentConfig()));
    s.setData("thumbnailconfig", getConfig(pipeline.getThumbnailConfig()));

    return s;//from  w w  w  .ja va 2s.com
}