Class AffinityLabelServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.AffinityLabelServiceImpl
-
- All Implemented Interfaces:
Service
,AffinityLabelService
public class AffinityLabelServiceImpl extends ServiceImpl implements AffinityLabelService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.AffinityLabelService
AffinityLabelService.GetRequest, AffinityLabelService.GetResponse, AffinityLabelService.RemoveRequest, AffinityLabelService.RemoveResponse, AffinityLabelService.UpdateRequest, AffinityLabelService.UpdateResponse
-
-
Constructor Summary
Constructors Constructor Description AffinityLabelServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AffinityLabelService.GetRequest
get()
Retrieves the details of a label.AffinityLabelHostsService
hostsService()
List all hosts with this label.AffinityLabelService.RemoveRequest
remove()
Removes a label from the 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 virtual machines with this label.-
Methods inherited from class org.ovirt.engine.sdk4.internal.services.ServiceImpl
checkAction, checkFault, getConnection, getPath, throwError
-
-
-
-
Constructor Detail
-
AffinityLabelServiceImpl
public AffinityLabelServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
get
public AffinityLabelService.GetRequest get()
Description copied from interface:AffinityLabelService
Retrieves the details of a label.- Specified by:
get
in interfaceAffinityLabelService
-
remove
public AffinityLabelService.RemoveRequest remove()
Description copied from interface:AffinityLabelService
Removes a label from the system and clears all assignments of the removed label.- Specified by:
remove
in interfaceAffinityLabelService
-
update
public AffinityLabelService.UpdateRequest update()
Description copied from interface:AffinityLabelService
Updates a label. This call will update all metadata, such as the name or description.- Specified by:
update
in interfaceAffinityLabelService
-
hostsService
public AffinityLabelHostsService hostsService()
Description copied from interface:AffinityLabelService
List all hosts with this label.- Specified by:
hostsService
in interfaceAffinityLabelService
-
vmsService
public AffinityLabelVmsService vmsService()
Description copied from interface:AffinityLabelService
List all virtual machines with this label.- Specified by:
vmsService
in interfaceAffinityLabelService
-
service
public Service service(String path)
Description copied from interface:AffinityLabelService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceAffinityLabelService
-
-