public class NatPoolServiceImpl extends BaseNetworkingServices implements NatPoolService
BaseOpenStackService.Invocation<R>
Constructor and Description |
---|
NatPoolServiceImpl() |
Modifier and Type | Method and Description |
---|---|
NatPool |
create(NatPool natpool)
Create a new nat pool
|
ActionResponse |
delete(String id)
Delete of the nat pool
|
NatPool |
get(String id)
Get the specified nat pool by ID
|
List<? extends NatPool> |
list()
List all nat pool
|
List<? extends NatPool> |
list(Map<String,String> filteringParams)
Returns list of nat pool filtered by parameters.
|
NatPool |
update(String natpoolId,
NatPool natpool)
Updates an existing nat pool
|
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uri
public List<? extends NatPool> list()
list
in interface NatPoolService
public List<? extends NatPool> list(Map<String,String> filteringParams)
list
in interface NatPoolService
filteringParams
- map (name, value) of filtering parameterspublic NatPool get(String id)
get
in interface NatPoolService
id
- the nat pool idpublic ActionResponse delete(String id)
delete
in interface NatPoolService
id
- the nat pool idpublic NatPool create(NatPool natpool)
create
in interface NatPoolService
public NatPool update(String natpoolId, NatPool natpool)
update
in interface NatPoolService
Copyright © 2017. All rights reserved.