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