public CreateThumbnailJobResponse createThumbnailJob(
            String pipelineName, String sourceKey, ThumbnailTarget target, ThumbnailCapture capture) {
        
        ThumbnailSource source = new ThumbnailSource();
        source.setKey(sourceKey);
        
        CreateThumbnailJobRequest request =
                new CreateThumbnailJobRequest().withPipelineName(pipelineName).withSource(source).withTarget(target)
                        .withCapture(capture);
        
        return createThumbnailJob(request);
    }
public CreateThumbnailJobResponse createThumbnailJob ( String pipelineName , String sourceKey , ThumbnailTarget target , ThumbnailCapture capture ) { ThumbnailSource source = new ThumbnailSource ( ) ; source . setKey ( sourceKey ) ; CreateThumbnailJobRequest request = new CreateThumbnailJobRequest ( ) . withPipelineName ( pipelineName ) . withSource ( source ) . withTarget ( target ) . withCapture ( capture ) ; return createThumbnailJob ( request ) ; }
Creates a thumbnail job and return job ID.

@param pipelineName The name of a pipeline.
@param sourceKey The key of source object.
@param target The property container of target object.
@param capture The property container of thumbnail generating policies.

@return the unique ID of the new thumbnail job.