Class L3policyServiceImpl
- java.lang.Object
-
- org.openstack4j.openstack.internal.BaseOpenStackService
-
- org.openstack4j.openstack.networking.internal.BaseNetworkingServices
-
- org.openstack4j.openstack.gbp.internal.L3policyServiceImpl
-
- All Implemented Interfaces:
L3policyService
public class L3policyServiceImpl extends BaseNetworkingServices implements L3policyService
L3 Policy API Implementation- Author:
- vinod borole
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openstack4j.openstack.internal.BaseOpenStackService
BaseOpenStackService.Invocation<R>
-
-
Constructor Summary
Constructors Constructor Description L3policyServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description L3Policycreate(L3Policy l3Policy)Create a new l3 policyActionResponsedelete(String id)Delete of the l3 policyL3Policyget(String id)Get the specified l3 policy by IDList<? extends L3Policy>list()List all l3 policiesList<? extends L3Policy>list(Map<String,String> filteringParams)Returns list of l3 policies filtered by parameters.L3Policyupdate(String l3PolicyId, L3Policy l3Policy)Updates an existing l3 policy-
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 L3Policy> list()
List all l3 policies- Specified by:
listin interfaceL3policyService- Returns:
- List of l3 policies
-
list
public List<? extends L3Policy> list(Map<String,String> filteringParams)
Returns list of l3 policies filtered by parameters.- Specified by:
listin interfaceL3policyService- Parameters:
filteringParams- map (name, value) of filtering parameters
-
get
public L3Policy get(String id)
Get the specified l3 policy by ID- Specified by:
getin interfaceL3policyService- Parameters:
id- the l3 policy id- Returns:
- l3 policy or null if not found
-
delete
public ActionResponse delete(String id)
Delete of the l3 policy- Specified by:
deletein interfaceL3policyService- Parameters:
id- the l3 policy id- Returns:
- the action response
-
create
public L3Policy create(L3Policy l3Policy)
Create a new l3 policy- Specified by:
createin interfaceL3policyService- Returns:
- the newly created l3 policy
-
update
public L3Policy update(String l3PolicyId, L3Policy l3Policy)
Updates an existing l3 policy- Specified by:
updatein interfaceL3policyService- Returns:
- the updated l3 policy
-
-