public class AffinityLabelServiceImpl extends ServiceImpl implements AffinityLabelService
AffinityLabelService.GetRequest, AffinityLabelService.GetResponse, AffinityLabelService.RemoveRequest, AffinityLabelService.RemoveResponse, AffinityLabelService.UpdateRequest, AffinityLabelService.UpdateResponse
Constructor and Description |
---|
AffinityLabelServiceImpl(HttpConnection connection,
String path) |
Modifier and Type | Method and Description |
---|---|
AffinityLabelService.GetRequest |
get()
Retrieves details about a label.
|
AffinityLabelHostsService |
hostsService()
List all Hosts with this label.
|
AffinityLabelService.RemoveRequest |
remove()
Removes a label from system and clears all assignments
of the removed label.
|
Service |
service(String path)
Service locator method, returns individual service on which the URI is dispatched.
|
String |
toString() |
AffinityLabelService.UpdateRequest |
update()
Updates a label.
|
AffinityLabelVmsService |
vmsService()
List all VMs with this label.
|
checkAction, checkFault, getConnection, getPath, throwError
public AffinityLabelServiceImpl(HttpConnection connection, String path)
public AffinityLabelService.GetRequest get()
AffinityLabelService
Retrieves details about a label.
get
in interface AffinityLabelService
public AffinityLabelService.RemoveRequest remove()
AffinityLabelService
Removes a label from system and clears all assignments of the removed label.
remove
in interface AffinityLabelService
public AffinityLabelService.UpdateRequest update()
AffinityLabelService
Updates a label.
This call will update all metadata like name or description.
update
in interface AffinityLabelService
public AffinityLabelHostsService hostsService()
AffinityLabelService
List all Hosts with this label.
hostsService
in interface AffinityLabelService
public AffinityLabelVmsService vmsService()
AffinityLabelService
List all VMs with this label.
vmsService
in interface AffinityLabelService
public Service service(String path)
AffinityLabelService
Service locator method, returns individual service on which the URI is dispatched.
service
in interface AffinityLabelService
Copyright © 2016. All rights reserved.