Class PolicyClassifierServiceImpl
- java.lang.Object
-
- org.openstack4j.openstack.internal.BaseOpenStackService
-
- org.openstack4j.openstack.networking.internal.BaseNetworkingServices
-
- org.openstack4j.openstack.gbp.internal.PolicyClassifierServiceImpl
-
- All Implemented Interfaces:
PolicyClassifierService
public class PolicyClassifierServiceImpl extends BaseNetworkingServices implements PolicyClassifierService
Policy Classifier 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 PolicyClassifierServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyClassifiercreate(PolicyClassifier policyClassifier)Create a new policy classifierActionResponsedelete(String id)Delete of the policy classifierPolicyClassifierget(String id)Get the specified policy classifier by IDList<? extends PolicyClassifier>list()List all policy classifierList<? extends PolicyClassifier>list(Map<String,String> filteringParams)Returns list of policy classifier filtered by parameters.PolicyClassifierupdate(String policyClassifierId, PolicyClassifierUpdate policyClassifier)Updates an existing policy classifier-
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 PolicyClassifier> list()
List all policy classifier- Specified by:
listin interfacePolicyClassifierService- Returns:
- List of policy classifier
-
list
public List<? extends PolicyClassifier> list(Map<String,String> filteringParams)
Returns list of policy classifier filtered by parameters.- Specified by:
listin interfacePolicyClassifierService- Parameters:
filteringParams- map (name, value) of filtering parameters
-
get
public PolicyClassifier get(String id)
Get the specified policy classifier by ID- Specified by:
getin interfacePolicyClassifierService- Parameters:
id- the policy classifier id- Returns:
- policy classifier or null if not found
-
delete
public ActionResponse delete(String id)
Delete of the policy classifier- Specified by:
deletein interfacePolicyClassifierService- Parameters:
id- the policy classifier id- Returns:
- the classifier response
-
create
public PolicyClassifier create(PolicyClassifier policyClassifier)
Create a new policy classifier- Specified by:
createin interfacePolicyClassifierService- Returns:
- the newly created policy classifier
-
update
public PolicyClassifier update(String policyClassifierId, PolicyClassifierUpdate policyClassifier)
Updates an existing policy classifier- Specified by:
updatein interfacePolicyClassifierService- Returns:
- the updated policy classifier
-
-