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