Class AffinityLabelsServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.AffinityLabelsServiceImpl
-
- All Implemented Interfaces:
Service
,AffinityLabelsService
public class AffinityLabelsServiceImpl extends ServiceImpl implements AffinityLabelsService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.AffinityLabelsService
AffinityLabelsService.AddRequest, AffinityLabelsService.AddResponse, AffinityLabelsService.ListRequest, AffinityLabelsService.ListResponse
-
-
Constructor Summary
Constructors Constructor Description AffinityLabelsServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AffinityLabelsService.AddRequest
add()
Creates a new label.AffinityLabelService
labelService(String id)
Link to a single label details.AffinityLabelsService.ListRequest
list()
Lists all labels present in the system.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
-
AffinityLabelsServiceImpl
public AffinityLabelsServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
add
public AffinityLabelsService.AddRequest add()
Description copied from interface:AffinityLabelsService
Creates a new label. The label is automatically attached to all entities mentioned in the vms or hosts lists.- Specified by:
add
in interfaceAffinityLabelsService
-
list
public AffinityLabelsService.ListRequest list()
Description copied from interface:AffinityLabelsService
Lists all labels present in the system. The order of the returned labels isn't guaranteed.- Specified by:
list
in interfaceAffinityLabelsService
-
labelService
public AffinityLabelService labelService(String id)
Description copied from interface:AffinityLabelsService
Link to a single label details.- Specified by:
labelService
in interfaceAffinityLabelsService
-
service
public Service service(String path)
Description copied from interface:AffinityLabelsService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceAffinityLabelsService
-
-