Class PortPairGroupServiceImpl
- java.lang.Object
-
- org.openstack4j.openstack.internal.BaseOpenStackService
-
- org.openstack4j.openstack.networking.internal.BaseNetworkingServices
-
- org.openstack4j.openstack.networking.internal.ext.PortPairGroupServiceImpl
-
- All Implemented Interfaces:
PortPairGroupService
public class PortPairGroupServiceImpl extends BaseNetworkingServices implements PortPairGroupService
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 PortPairGroupServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PortPairGroupcreate(PortPairGroup portPairGroup)Create a port pair groupActionResponsedelete(String portPairGroupId)Delete a port pair groupPortPairGroupget(String portPairGroupId)Get a port pair group by id.List<? extends PortPairGroup>list()Lists port pair groups for port chainsPortPairGroupupdate(String portPairGroupId, PortPairGroup portPairGroup)Update a port pair group 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 PortPairGroup> list()
Lists port pair groups for port chains- Specified by:
listin interfacePortPairGroupService- Returns:
- the list of port pair groups
-
create
public PortPairGroup create(PortPairGroup portPairGroup)
Create a port pair group- Specified by:
createin interfacePortPairGroupService- Returns:
- portPairGroup : object actually created
-
delete
public ActionResponse delete(String portPairGroupId)
Delete a port pair group- Specified by:
deletein interfacePortPairGroupService- Returns:
- the action response
-
get
public PortPairGroup get(String portPairGroupId)
Get a port pair group by id.- Specified by:
getin interfacePortPairGroupService- Returns:
- PortPairGroup
-
update
public PortPairGroup update(String portPairGroupId, PortPairGroup portPairGroup)
Update a port pair group with the given id to match the given update object- Specified by:
updatein interfacePortPairGroupService- Returns:
- PortPairGroup
-
-