Class GroupServiceImpl
- java.lang.Object
-
- org.openstack4j.openstack.internal.BaseOpenStackService
-
- org.openstack4j.openstack.networking.internal.BaseNetworkingServices
-
- org.openstack4j.openstack.gbp.internal.GroupServiceImpl
-
- All Implemented Interfaces:
GroupService
public class GroupServiceImpl extends BaseNetworkingServices implements GroupService
Policy target group 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 GroupServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyTargetGroupcreate(PolicyTargetGroupCreate policyTargetGroup)Create a new policy target groupActionResponsedelete(String id)Delete of the policy target groupPolicyTargetGroupget(String id)Get the specified policy target group by IDList<? extends PolicyTargetGroup>list()List all policy target groupList<? extends PolicyTargetGroup>list(Map<String,String> filteringParams)Returns list of policy target group filtered by parameters.PolicyTargetGroupupdate(String policyTargetGroupId, PolicyTargetGroupCreate policyTargetGroup)Updates an existing policy target group-
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 PolicyTargetGroup> list()
List all policy target group- Specified by:
listin interfaceGroupService- Returns:
- List of policy target group
-
list
public List<? extends PolicyTargetGroup> list(Map<String,String> filteringParams)
Returns list of policy target group filtered by parameters.- Specified by:
listin interfaceGroupService- Parameters:
filteringParams- map (name, value) of filtering parameters
-
get
public PolicyTargetGroup get(String id)
Get the specified policy target group by ID- Specified by:
getin interfaceGroupService- Parameters:
id- the policy target group id- Returns:
- policy target group or null if not found
-
delete
public ActionResponse delete(String id)
Delete of the policy target group- Specified by:
deletein interfaceGroupService- Parameters:
id- the policy target group id- Returns:
- the action response
-
create
public PolicyTargetGroup create(PolicyTargetGroupCreate policyTargetGroup)
Create a new policy target group- Specified by:
createin interfaceGroupService- Returns:
- the newly created policy target group
-
update
public PolicyTargetGroup update(String policyTargetGroupId, PolicyTargetGroupCreate policyTargetGroup)
Updates an existing policy target group- Specified by:
updatein interfaceGroupService- Returns:
- the updated policy target group
-
-