Class PortPairServiceImpl
- java.lang.Object
-
- org.openstack4j.openstack.internal.BaseOpenStackService
-
- org.openstack4j.openstack.networking.internal.BaseNetworkingServices
-
- org.openstack4j.openstack.networking.internal.ext.PortPairServiceImpl
-
- All Implemented Interfaces:
PortPairService
public class PortPairServiceImpl extends BaseNetworkingServices implements PortPairService
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 PortPairServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PortPaircreate(PortPair portPair)Create a Port PairActionResponsedelete(String portPairId)Delete a Port PairPortPairget(String portPairId)Get a Port Pair by id.List<? extends PortPair>list()Lists Port Pairs for port chainsPortPairupdate(String portPairId, PortPair portPair)Update a Port Pair 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 PortPair> list()
Lists Port Pairs for port chains- Specified by:
listin interfacePortPairService- Returns:
- the list of Port Pairs
-
create
public PortPair create(PortPair portPair)
Create a Port Pair- Specified by:
createin interfacePortPairService- Returns:
- PortPair : object actually created
-
delete
public ActionResponse delete(String portPairId)
Delete a Port Pair- Specified by:
deletein interfacePortPairService- Returns:
- the action response
-
get
public PortPair get(String portPairId)
Get a Port Pair by id.- Specified by:
getin interfacePortPairService- Returns:
- PortPair
-
update
public PortPair update(String portPairId, PortPair portPair)
Update a Port Pair with the given id to match the given update object- Specified by:
updatein interfacePortPairService- Returns:
- PortPair
-
-