Class AffinityLabelVmsServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.AffinityLabelVmsServiceImpl
-
- All Implemented Interfaces:
Service
,AffinityLabelVmsService
public class AffinityLabelVmsServiceImpl extends ServiceImpl implements AffinityLabelVmsService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.AffinityLabelVmsService
AffinityLabelVmsService.AddRequest, AffinityLabelVmsService.AddResponse, AffinityLabelVmsService.ListRequest, AffinityLabelVmsService.ListResponse
-
-
Constructor Summary
Constructors Constructor Description AffinityLabelVmsServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AffinityLabelVmsService.AddRequest
add()
Add a label to a vm.AffinityLabelVmsService.ListRequest
list()
List all virtual machines 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.-
Methods inherited from class org.ovirt.engine.sdk4.internal.services.ServiceImpl
checkAction, checkFault, getConnection, getPath, throwError
-
-
-
-
Constructor Detail
-
AffinityLabelVmsServiceImpl
public AffinityLabelVmsServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
add
public AffinityLabelVmsService.AddRequest add()
Description copied from interface:AffinityLabelVmsService
Add a label to a vm.- Specified by:
add
in interfaceAffinityLabelVmsService
-
list
public AffinityLabelVmsService.ListRequest list()
Description copied from interface:AffinityLabelVmsService
List all virtual machines with the label. The order of the returned virtual machines isn't guaranteed.- Specified by:
list
in interfaceAffinityLabelVmsService
-
vmService
public AffinityLabelVmService vmService(String id)
Description copied from interface:AffinityLabelVmsService
A link to the specific label-vm assignment to allow label removal.- Specified by:
vmService
in interfaceAffinityLabelVmsService
-
service
public Service service(String path)
Description copied from interface:AffinityLabelVmsService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceAffinityLabelVmsService
-
-