Package org.openstack4j.api.gbp
Interface PolicyRuleSetService
-
public interface PolicyRuleSetService
-
-
Method Summary
All Methods Instance Methods Abstract 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
-
-
-
Method Detail
-
list
List<? extends PolicyRuleSet> list()
List all policy rule set- Returns:
- List of policy rule set
-
list
List<? extends PolicyRuleSet> list(Map<String,String> filteringParams)
Returns list of policy rule set filtered by parameters.- Parameters:
filteringParams- map (name, value) of filtering parameters
-
get
PolicyRuleSet get(String id)
Get the specified policy rule set by ID- Parameters:
id- the policy rule set id- Returns:
- policy rule set or null if not found
-
delete
ActionResponse delete(String id)
Delete of the policy rule set- Parameters:
id- the policy rule set id- Returns:
- the rule set response
-
create
PolicyRuleSet create(PolicyRuleSet policyRuleSet)
Create a new policy rule set- Parameters:
policy- rule set- Returns:
- the newly created policy rule set
-
update
PolicyRuleSet update(String policyRuleSetId, PolicyRuleSet policyRuleSet)
Updates an existing policy rule set- Parameters:
policy- rule set identifierpolicy- rule set that is be used to updated- Returns:
- the updated policy rule set
-
-