public class SenlinProfileServiceImpl extends BaseSenlinServices implements SenlinProfileService
BaseOpenStackService.Invocation<R>
Constructor and Description |
---|
SenlinProfileServiceImpl() |
Modifier and Type | Method and Description |
---|---|
Profile |
create(ProfileCreate newProfile)
|
ActionResponse |
delete(String policyID)
Deletes the specified
ActionResponse from the server. |
Profile |
get(String policyID)
returns details of a
Profile . |
List<? extends Profile> |
list()
Gets a list of currently existing
Profile s. |
Profile |
update(String policyID,
ProfileCreate newPolicy)
|
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uri
public List<? extends Profile> list()
SenlinProfileService
Profile
s.list
in interface SenlinProfileService
Profile
spublic Profile create(ProfileCreate newProfile)
SenlinProfileService
create
in interface SenlinProfileService
newProfile
- ProfileCreate
object out of which stack is to be createdProfile
as returned from the serverpublic Profile get(String policyID)
SenlinProfileService
Profile
.get
in interface SenlinProfileService
policyID
- Id of Profile
public Profile update(String policyID, ProfileCreate newPolicy)
SenlinProfileService
update
in interface SenlinProfileService
policyID
- Id of Profile
newPolicy
- ProfileCreate
object out of which stack is to be updateProfile
as returned from the serverpublic ActionResponse delete(String policyID)
SenlinProfileService
ActionResponse
from the server.delete
in interface SenlinProfileService
policyID
- Id of ActionResponse
Copyright © 2017. All rights reserved.