Class SenlinReceiverServiceImpl
- java.lang.Object
-
- org.openstack4j.openstack.internal.BaseOpenStackService
-
- org.openstack4j.openstack.senlin.internal.BaseSenlinServices
-
- org.openstack4j.openstack.senlin.internal.SenlinReceiverServiceImpl
-
- All Implemented Interfaces:
SenlinReceiverService
public class SenlinReceiverServiceImpl extends BaseSenlinServices implements SenlinReceiverService
This class contains getters for all implementation of the available receiver services- Author:
- lion
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openstack4j.openstack.internal.BaseOpenStackService
BaseOpenStackService.Invocation<R>
-
-
Constructor Summary
Constructors Constructor Description SenlinReceiverServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Receivercreate(ReceiverCreate newReceiver)POST /v1/receiversActionResponsedelete(String policyID)Deletes the specifiedReceiverfrom the server.Receiverget(String policyID)returns details of aReceiver.List<? extends Receiver>list()Gets a list of currently existingReceivers.-
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 Receiver> list()
Description copied from interface:SenlinReceiverServiceGets a list of currently existingReceivers.- Specified by:
listin interfaceSenlinReceiverService- Returns:
- the list of
Receivers
-
create
public Receiver create(ReceiverCreate newReceiver)
Description copied from interface:SenlinReceiverService- Specified by:
createin interfaceSenlinReceiverService- Parameters:
newReceiver-ReceiverCreateobject out of which Receiver is to be created- Returns:
- new
Receiveras returned from the server
-
get
public Receiver get(String policyID)
Description copied from interface:SenlinReceiverServicereturns details of aReceiver.- Specified by:
getin interfaceSenlinReceiverService- Parameters:
policyID- Id ofReceiver
-
delete
public ActionResponse delete(String policyID)
Description copied from interface:SenlinReceiverServiceDeletes the specifiedReceiverfrom the server.- Specified by:
deletein interfaceSenlinReceiverService- Parameters:
policyID- Id ofReceiver- Returns:
- the action response
-
-