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

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

Introduction

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

Prototype


public String getName() 

Source Link

Document

The name of the 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  a2  s  .c  o  m
}