org.openstack4j.api.sahara.JobBinaryService Maven / Gradle / Ivy
The 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.common.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 extends JobBinary> 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);
}