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

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

Introduction

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

Prototype


public String getRole() 

Source Link

Document

The IAM Amazon Resource Name (ARN) for the role that Elastic Transcoder uses to transcode jobs for this pipeline.

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  ww .  j a v a  2s.c  o m*/
}