Package org.openstack4j.api.sahara
Interface JobBinaryService
-
- All Superinterfaces:
RestService
- All Known Implementing Classes:
JobBinaryServiceImpl
public interface JobBinaryService extends RestService
Sahara Data Processing Operations- Author:
- [email protected]
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JobBinarycreate(JobBinary jobBinary)Create a new job binaryActionResponsedelete(String JobBinaryId)Delete the specified job binaryJobBinaryget(String JobBinaryId)Get a job binary by IDPayload<InputStream>getData(String JobBinaryId)Retrieves data of specified job binary objectList<? extends JobBinary>list()List all job binaries
-
-
-
Method Detail
-
get
JobBinary get(String JobBinaryId)
Get a job binary by ID- Parameters:
JobBinaryId- the job binary identifier- Returns:
- the job binary or null if not found
-
create
JobBinary create(JobBinary jobBinary)
Create a new job binary- Parameters:
jobBinary- the job binary to create- Returns:
- the created job binary
-
delete
ActionResponse delete(String JobBinaryId)
Delete the specified job binary- Parameters:
JobBinaryId- the job binary identifier- Returns:
- the action response
-
getData
Payload<InputStream> getData(String JobBinaryId)
Retrieves data of specified job binary object- Parameters:
JobBinaryId- the job binary identifier- Returns:
- Job Binary data
-
-