Interface Hardware.Service
-
- All Superinterfaces:
Asset.Service
,Maskable
,ResultLimitable
,Service
- Enclosing class:
- Hardware
@ApiService("SoftLayer_Scale_Asset_Hardware") public static interface Hardware.Service extends Asset.Service
A hardware asset is a fixed asset of scale group. It is not automatically scaled up or down in any way. Its purpose is to provide information (e.g. metrics) to policies to affect scaling decisions. Currently hardware assets are unsupported.- See Also:
- SoftLayer_Scale_Asset_Hardware
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Hardware.ServiceAsync
asAsync()
Get an async version of this serviceHardware
createObject(Hardware templateObject)
Hardware
getHardware()
The hardware for this asset.Long
getHardwareId()
The identifier of the hardware for this asset.Hardware
getObjectForHardware()
void
setMask(Hardware.Mask mask)
Hardware.Mask
withMask()
Use the existing mask on this service or create it if not presentHardware.Mask
withNewMask()
Overwrite the existing mask on this service with a new one and return it-
Methods inherited from interface com.softlayer.api.service.scale.Asset.Service
deleteObject, getObject, getScaleGroup, setMask
-
Methods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
-
-
-
Method Detail
-
asAsync
Hardware.ServiceAsync asAsync()
Description copied from interface:Service
Get an async version of this service- Specified by:
asAsync
in interfaceAsset.Service
- Specified by:
asAsync
in interfaceService
-
withNewMask
Hardware.Mask withNewMask()
Description copied from interface:Maskable
Overwrite the existing mask on this service with a new one and return it- Specified by:
withNewMask
in interfaceAsset.Service
- Specified by:
withNewMask
in interfaceMaskable
-
withMask
Hardware.Mask withMask()
Description copied from interface:Maskable
Use the existing mask on this service or create it if not present- Specified by:
withMask
in interfaceAsset.Service
- Specified by:
withMask
in interfaceMaskable
-
setMask
void setMask(Hardware.Mask mask)
-
createObject
@ApiMethod Hardware createObject(Hardware templateObject)
-
getObjectForHardware
@ApiMethod(value="getObject", instanceRequired=true) Hardware getObjectForHardware()
-
getHardware
@ApiMethod(instanceRequired=true) Hardware getHardware()
The hardware for this asset.
-
getHardwareId
@ApiMethod(instanceRequired=true) Long getHardwareId()
The identifier of the hardware for this asset.
-
-