All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openstack4j.api.sahara.JobBinaryService Maven / Gradle / Ivy

There is a newer version: 3.2.0
Show newest version
package org.openstack4j.api.sahara;

import java.io.InputStream;
import java.util.List;

import org.openstack4j.common.RestService;
import org.openstack4j.model.common.Payload;
import org.openstack4j.model.compute.ActionResponse;
import org.openstack4j.model.sahara.JobBinary;

/**
 * Sahara Data Processing Operations
 *
 * @author [email protected]
 */
public interface JobBinaryService extends RestService {

    /**
     * List all job binaries
     * 
     * @return list of job binaries or empty
     */
     List list();

    /**
     * Get a job binary by ID
     * 
     * @param JobBinaryId the job binary identifier
     * @return the job binary or null if not found
     */
     JobBinary get(String JobBinaryId);

    /**
     * Create a new job binary
     *
     * @param jobBinary the job binary to create
     * @return the created job binary
     */
     JobBinary create(JobBinary jobBinary);

    /**
     * Delete the specified job binary
     * 
     * @param JobBinaryId the job binary identifier
     * @return the action response
     */
     ActionResponse delete(String JobBinaryId);

     /**
      * Retrieves data of specified job binary object
      * 
      * @param JobBinaryId the job binary identifier
      * @return Job Binary data
      */
     Payload getData(String JobBinaryId);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy