Class AffinityGroupHostLabelsServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.AffinityGroupHostLabelsServiceImpl
-
- All Implemented Interfaces:
Service
,AffinityGroupHostLabelsService
public class AffinityGroupHostLabelsServiceImpl extends ServiceImpl implements AffinityGroupHostLabelsService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.AffinityGroupHostLabelsService
AffinityGroupHostLabelsService.AddRequest, AffinityGroupHostLabelsService.AddResponse, AffinityGroupHostLabelsService.ListRequest, AffinityGroupHostLabelsService.ListResponse
-
-
Constructor Summary
Constructors Constructor Description AffinityGroupHostLabelsServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AffinityGroupHostLabelsService.AddRequest
add()
Adds a host label to the affinity group.AffinityGroupHostLabelService
labelService(String id)
Access the service that manages the host label assignment to this affinity group.AffinityGroupHostLabelsService.ListRequest
list()
List all host labels assigned to this affinity group.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.String
toString()
-
Methods inherited from class org.ovirt.engine.sdk4.internal.services.ServiceImpl
checkAction, checkFault, getConnection, getPath, throwError
-
-
-
-
Constructor Detail
-
AffinityGroupHostLabelsServiceImpl
public AffinityGroupHostLabelsServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
add
public AffinityGroupHostLabelsService.AddRequest add()
Description copied from interface:AffinityGroupHostLabelsService
Adds a host label to the affinity group. For example, to add the label `789` to the affinity group `456` of cluster `123`, send a request like this: .... POST /ovirt-engine/api/clusters/123/affinitygroups/456/hostlabels .... With the following body: [source,xml] -------- - Specified by:
add
in interfaceAffinityGroupHostLabelsService
-
list
public AffinityGroupHostLabelsService.ListRequest list()
Description copied from interface:AffinityGroupHostLabelsService
List all host labels assigned to this affinity group. The order of the returned labels isn't guaranteed.- Specified by:
list
in interfaceAffinityGroupHostLabelsService
-
labelService
public AffinityGroupHostLabelService labelService(String id)
Description copied from interface:AffinityGroupHostLabelsService
Access the service that manages the host label assignment to this affinity group.- Specified by:
labelService
in interfaceAffinityGroupHostLabelsService
-
service
public Service service(String path)
Description copied from interface:AffinityGroupHostLabelsService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceAffinityGroupHostLabelsService
-
-