Class PolicyActionServiceImpl
- java.lang.Object
-
- org.openstack4j.openstack.internal.BaseOpenStackService
-
- org.openstack4j.openstack.networking.internal.BaseNetworkingServices
-
- org.openstack4j.openstack.gbp.internal.PolicyActionServiceImpl
-
- All Implemented Interfaces:
PolicyActionService
public class PolicyActionServiceImpl extends BaseNetworkingServices implements PolicyActionService
Policy Action 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 PolicyActionServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyActioncreate(PolicyAction policyAction)Create a new policy actionActionResponsedelete(String id)Delete of the policy actionPolicyActionget(String id)Get the specified policy action by IDList<? extends PolicyAction>list()List all policy actionsList<? extends PolicyAction>list(Map<String,String> filteringParams)Returns list of policy actions filtered by parameters.PolicyActionupdate(String policyActionId, PolicyActionUpdate policyAction)Updates an existing policy action-
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 PolicyAction> list()
List all policy actions- Specified by:
listin interfacePolicyActionService- Returns:
- List of policy actions
-
list
public List<? extends PolicyAction> list(Map<String,String> filteringParams)
Returns list of policy actions filtered by parameters.- Specified by:
listin interfacePolicyActionService- Parameters:
filteringParams- map (name, value) of filtering parameters
-
get
public PolicyAction get(String id)
Get the specified policy action by ID- Specified by:
getin interfacePolicyActionService- Parameters:
id- the policy action id- Returns:
- policy action or null if not found
-
delete
public ActionResponse delete(String id)
Delete of the policy action- Specified by:
deletein interfacePolicyActionService- Parameters:
id- the policy action id- Returns:
- the action response
-
create
public PolicyAction create(PolicyAction policyAction)
Create a new policy action- Specified by:
createin interfacePolicyActionService- Returns:
- the newly created policy action
-
update
public PolicyAction update(String policyActionId, PolicyActionUpdate policyAction)
Updates an existing policy action- Specified by:
updatein interfacePolicyActionService- Returns:
- the updated policy action
-
-