Class PolicyRuleSetServiceImpl
- java.lang.Object
-
- org.openstack4j.openstack.internal.BaseOpenStackService
-
- org.openstack4j.openstack.networking.internal.BaseNetworkingServices
-
- org.openstack4j.openstack.gbp.internal.PolicyRuleSetServiceImpl
-
- All Implemented Interfaces:
PolicyRuleSetService
public class PolicyRuleSetServiceImpl extends BaseNetworkingServices implements PolicyRuleSetService
Policy Rule set 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 PolicyRuleSetServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyRuleSetcreate(PolicyRuleSet policyRuleSet)Create a new policy rule setActionResponsedelete(String id)Delete of the policy rule setPolicyRuleSetget(String id)Get the specified policy rule set by IDList<? extends PolicyRuleSet>list()List all policy rule setList<? extends PolicyRuleSet>list(Map<String,String> filteringParams)Returns list of policy rule set filtered by parameters.PolicyRuleSetupdate(String policyRuleSetId, PolicyRuleSet policyRuleSet)Updates an existing policy rule set-
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 PolicyRuleSet> list()
List all policy rule set- Specified by:
listin interfacePolicyRuleSetService- Returns:
- List of policy rule set
-
list
public List<? extends PolicyRuleSet> list(Map<String,String> filteringParams)
Returns list of policy rule set filtered by parameters.- Specified by:
listin interfacePolicyRuleSetService- Parameters:
filteringParams- map (name, value) of filtering parameters
-
get
public PolicyRuleSet get(String id)
Get the specified policy rule set by ID- Specified by:
getin interfacePolicyRuleSetService- Parameters:
id- the policy rule set id- Returns:
- policy rule set or null if not found
-
delete
public ActionResponse delete(String id)
Delete of the policy rule set- Specified by:
deletein interfacePolicyRuleSetService- Parameters:
id- the policy rule set id- Returns:
- the rule set response
-
create
public PolicyRuleSet create(PolicyRuleSet policyRuleSet)
Create a new policy rule set- Specified by:
createin interfacePolicyRuleSetService- Returns:
- the newly created policy rule set
-
update
public PolicyRuleSet update(String policyRuleSetId, PolicyRuleSet policyRuleSet)
Updates an existing policy rule set- Specified by:
updatein interfacePolicyRuleSetService- Returns:
- the updated policy rule set
-
-