Class FlowClassifierServiceImpl
- java.lang.Object
-
- org.openstack4j.openstack.internal.BaseOpenStackService
-
- org.openstack4j.openstack.networking.internal.BaseNetworkingServices
-
- org.openstack4j.openstack.networking.internal.ext.FlowClassifierServiceImpl
-
- All Implemented Interfaces:
FlowClassifierService,RestService
public class FlowClassifierServiceImpl extends BaseNetworkingServices implements FlowClassifierService
Base Networking Operations Implementation is responsible for insuring the proper endpoint is used for all extending operation APIs
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openstack4j.openstack.internal.BaseOpenStackService
BaseOpenStackService.Invocation<R>
-
-
Constructor Summary
Constructors Constructor Description FlowClassifierServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FlowClassifiercreate(FlowClassifier flowClassifier)Create a flow classifierActionResponsedelete(String flowClassifierId)Delete a flow classifierFlowClassifierget(String flowClassifierId)Get a flow classifier by id.List<? extends FlowClassifier>list()Lists flow classifiers for port chainsFlowClassifierupdate(String flowClassifierId, FlowClassifier flowClassifier)Update a flow classifier with the given id to match the given update object-
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 FlowClassifier> list()
Lists flow classifiers for port chains- Specified by:
listin interfaceFlowClassifierService- Returns:
- the list of flow classifiers
-
create
public FlowClassifier create(FlowClassifier flowClassifier)
Create a flow classifier- Specified by:
createin interfaceFlowClassifierService- Returns:
- flowClassifier : object actually created
-
delete
public ActionResponse delete(String flowClassifierId)
Delete a flow classifier- Specified by:
deletein interfaceFlowClassifierService- Returns:
- the action response
-
get
public FlowClassifier get(String flowClassifierId)
Get a flow classifier by id.- Specified by:
getin interfaceFlowClassifierService- Returns:
- FlowClassifier
-
update
public FlowClassifier update(String flowClassifierId, FlowClassifier flowClassifier)
Update a flow classifier with the given id to match the given update object- Specified by:
updatein interfaceFlowClassifierService- Returns:
- flowClassifier : object updated
-
-