Class AffinityGroupServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.AffinityGroupServiceImpl
-
- All Implemented Interfaces:
Service
,AffinityGroupService
public class AffinityGroupServiceImpl extends ServiceImpl implements AffinityGroupService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.AffinityGroupService
AffinityGroupService.GetRequest, AffinityGroupService.GetResponse, AffinityGroupService.RemoveRequest, AffinityGroupService.RemoveResponse, AffinityGroupService.UpdateRequest, AffinityGroupService.UpdateResponse
-
-
Constructor Summary
Constructors Constructor Description AffinityGroupServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AffinityGroupService.GetRequest
get()
Retrieve the affinity group details.AffinityGroupHostLabelsService
hostLabelsService()
Returns a reference to the service that manages the list of all host labels attached to this affinity group.AffinityGroupHostsService
hostsService()
Returns a reference to the service that manages the list of all hosts attached to this affinity group.AffinityGroupService.RemoveRequest
remove()
Remove the affinity group.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.String
toString()
AffinityGroupService.UpdateRequest
update()
Update the affinity group.AffinityGroupVmLabelsService
vmLabelsService()
Returns a reference to the service that manages the list of all virtual machine labels attached to this affinity group.AffinityGroupVmsService
vmsService()
Returns a reference to the service that manages the list of all virtual machines attached to this affinity group.-
Methods inherited from class org.ovirt.engine.sdk4.internal.services.ServiceImpl
checkAction, checkFault, getConnection, getPath, throwError
-
-
-
-
Constructor Detail
-
AffinityGroupServiceImpl
public AffinityGroupServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
get
public AffinityGroupService.GetRequest get()
Description copied from interface:AffinityGroupService
Retrieve the affinity group details. [source,xml] ----AF_GROUP_001 true true - Specified by:
get
in interfaceAffinityGroupService
-
remove
public AffinityGroupService.RemoveRequest remove()
Description copied from interface:AffinityGroupService
Remove the affinity group. [source] ---- DELETE /ovirt-engine/api/clusters/000-000/affinitygroups/123-456 ----- Specified by:
remove
in interfaceAffinityGroupService
-
update
public AffinityGroupService.UpdateRequest update()
Description copied from interface:AffinityGroupService
Update the affinity group.- Specified by:
update
in interfaceAffinityGroupService
-
hostLabelsService
public AffinityGroupHostLabelsService hostLabelsService()
Description copied from interface:AffinityGroupService
Returns a reference to the service that manages the list of all host labels attached to this affinity group.- Specified by:
hostLabelsService
in interfaceAffinityGroupService
-
hostsService
public AffinityGroupHostsService hostsService()
Description copied from interface:AffinityGroupService
Returns a reference to the service that manages the list of all hosts attached to this affinity group.- Specified by:
hostsService
in interfaceAffinityGroupService
-
vmLabelsService
public AffinityGroupVmLabelsService vmLabelsService()
Description copied from interface:AffinityGroupService
Returns a reference to the service that manages the list of all virtual machine labels attached to this affinity group.- Specified by:
vmLabelsService
in interfaceAffinityGroupService
-
vmsService
public AffinityGroupVmsService vmsService()
Description copied from interface:AffinityGroupService
Returns a reference to the service that manages the list of all virtual machines attached to this affinity group.- Specified by:
vmsService
in interfaceAffinityGroupService
-
service
public Service service(String path)
Description copied from interface:AffinityGroupService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceAffinityGroupService
-
-