public class AffinityLabelVmsServiceImpl extends ServiceImpl implements AffinityLabelVmsService
AffinityLabelVmsService.AddRequest, AffinityLabelVmsService.AddResponse, AffinityLabelVmsService.ListRequest, AffinityLabelVmsService.ListResponse
Constructor and Description |
---|
AffinityLabelVmsServiceImpl(HttpConnection connection,
String path) |
Modifier and Type | Method and Description |
---|---|
AffinityLabelVmsService.AddRequest |
add()
Add a label to a vm.
|
AffinityLabelVmsService.ListRequest |
list()
List all vms with the label.
|
Service |
service(String path)
Service locator method, returns individual service on which the URI is dispatched.
|
String |
toString() |
AffinityLabelVmService |
vmService(String id)
A link to the specific label-vm assignment to
allow label removal.
|
checkAction, checkFault, getConnection, getPath, throwError
public AffinityLabelVmsServiceImpl(HttpConnection connection, String path)
public AffinityLabelVmsService.AddRequest add()
AffinityLabelVmsService
Add a label to a vm.
add
in interface AffinityLabelVmsService
public AffinityLabelVmsService.ListRequest list()
AffinityLabelVmsService
List all vms with the label.
list
in interface AffinityLabelVmsService
public AffinityLabelVmService vmService(String id)
AffinityLabelVmsService
A link to the specific label-vm assignment to allow label removal.
vmService
in interface AffinityLabelVmsService
public Service service(String path)
AffinityLabelVmsService
Service locator method, returns individual service on which the URI is dispatched.
service
in interface AffinityLabelVmsService
Copyright © 2016. All rights reserved.