public class SenlinPolicyServiceImpl extends BaseSenlinServices implements SenlinPolicyService
BaseOpenStackService.Invocation<R>| Constructor and Description |
|---|
SenlinPolicyServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
Policy |
create(PolicyCreate newPolicy)
|
ActionResponse |
delete(String policyID)
Deletes the specified
Policy from the server. |
Policy |
get(String policyID)
returns details of a
Policy. |
List<? extends Policy> |
list()
Gets a list of currently existing
Policys. |
Policy |
update(String policyID,
PolicyCreate newPolicy)
|
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uripublic List<? extends Policy> list()
SenlinPolicyServicePolicys.list in interface SenlinPolicyServicePolicyspublic Policy create(PolicyCreate newPolicy)
SenlinPolicyServicecreate in interface SenlinPolicyServicenewPolicy - PolicyCreate object out of which policy is to be createdPolicy as returned from the serverpublic Policy get(String policyID)
SenlinPolicyServicePolicy.get in interface SenlinPolicyServicepolicyID - Id of Policypublic Policy update(String policyID, PolicyCreate newPolicy)
SenlinPolicyServiceupdate in interface SenlinPolicyServicepolicyID - Id of PolicynewPolicy - PolicyCreate object out of which stack is to be updatePolicy as returned from the serverpublic ActionResponse delete(String policyID)
SenlinPolicyServicePolicy from the server.delete in interface SenlinPolicyServicepolicyID - Id of PolicyCopyright © 2017. All rights reserved.