Class JobBinaryInternalServiceImpl
- java.lang.Object
-
- org.openstack4j.openstack.internal.BaseOpenStackService
-
- org.openstack4j.openstack.sahara.internal.BaseSaharaServices
-
- org.openstack4j.openstack.sahara.internal.JobBinaryInternalServiceImpl
-
- All Implemented Interfaces:
JobBinaryInternalService,RestService
public class JobBinaryInternalServiceImpl extends BaseSaharaServices implements JobBinaryInternalService
Sahara Data Processing Operations- Author:
- ekasit.kijsipongse@nectec.or.th, siwat.pru@outlook.com
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openstack4j.openstack.internal.BaseOpenStackService
BaseOpenStackService.Invocation<R>
-
-
Constructor Summary
Constructors Constructor Description JobBinaryInternalServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobBinaryInternalcreate(Payload<File> payload)Create a new job binary internalActionResponsedelete(String jobBinaryInternalId)Delete the specified job binary internalJobBinaryInternalget(String jobBinaryInternalId)Get a job binary internal by IDPayload<InputStream>getData(String jobBinaryInternalId)Retrieves data of specified job binary internal objectList<? extends JobBinaryInternal>list()List all job binary internals-
Methods inherited from class org.openstack4j.openstack.internal.BaseOpenStackService
delete, deleteWithResponse, get, getProvider, getServiceVersion, getWithResponse, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, putWithResponse, request, toList, uri
-
-
-
-
Method Detail
-
list
public List<? extends JobBinaryInternal> list()
List all job binary internals- Specified by:
listin interfaceJobBinaryInternalService- Returns:
- list of job binary internals or empty
-
get
public JobBinaryInternal get(String jobBinaryInternalId)
Get a job binary internal by ID- Specified by:
getin interfaceJobBinaryInternalService- Parameters:
jobBinaryInternalId- the job binary internal identifier- Returns:
- the job binary internal or null if not found
-
delete
public ActionResponse delete(String jobBinaryInternalId)
Delete the specified job binary internal- Specified by:
deletein interfaceJobBinaryInternalService- Parameters:
jobBinaryInternalId- the job binary internal identifier- Returns:
- the action response
-
create
public JobBinaryInternal create(Payload<File> payload)
Create a new job binary internal- Specified by:
createin interfaceJobBinaryInternalService- Parameters:
payload- the payload to create a new job binary internal- Returns:
- the created job binary internal
-
getData
public Payload<InputStream> getData(String jobBinaryInternalId)
Retrieves data of specified job binary internal object- Specified by:
getDatain interfaceJobBinaryInternalService- Parameters:
jobBinaryInternalId- the job binary internal identifier- Returns:
- Job Binary Internal data
-
-