Class PortChainServiceImpl
- java.lang.Object
-
- org.openstack4j.openstack.internal.BaseOpenStackService
-
- org.openstack4j.openstack.networking.internal.BaseNetworkingServices
-
- org.openstack4j.openstack.networking.internal.ext.PortChainServiceImpl
-
- All Implemented Interfaces:
PortChainService,RestService
public class PortChainServiceImpl extends BaseNetworkingServices implements PortChainService
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 PortChainServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PortChaincreate(PortChain portChain)Create a port chainActionResponsedelete(String portChainId)Delete a port chainPortChainget(String portChainId)Get a port chain by id.List<? extends PortChain>list()Lists port chains.PortChainupdate(String portChainId, PortChain portChain)Update a port chain 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 PortChain> list()
Lists port chains.- Specified by:
listin interfacePortChainService- Returns:
- the list of port chains
-
create
public PortChain create(PortChain portChain)
Create a port chain- Specified by:
createin interfacePortChainService- Returns:
- portChain : object actually created
-
delete
public ActionResponse delete(String portChainId)
Delete a port chain- Specified by:
deletein interfacePortChainService- Returns:
- the action response
-
get
public PortChain get(String portChainId)
Get a port chain by id.- Specified by:
getin interfacePortChainService- Returns:
- PortChain
-
update
public PortChain update(String portChainId, PortChain portChain)
Update a port chain with the given id to match the given update object- Specified by:
updatein interfacePortChainService- Returns:
- PortChain
-
-