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