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

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

Introduction

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

Prototype


public String getStatus() 

Source Link

Document

The current status of the pipeline:

  • Active: The pipeline is processing jobs.

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