Class Hardware
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.scale.Asset
com.softlayer.api.service.scale.asset.Hardware
@ApiType("SoftLayer_Scale_Asset_Hardware") public class Hardware extends Asset
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
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Hardware.Mask
static interface
Hardware.Service
A hardware asset is a fixed asset of scale group.static interface
Hardware.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected Hardware
hardware
The hardware for this asset.protected Long
hardwareId
The identifier of the hardware for this asset.Fields inherited from class com.softlayer.api.service.scale.Asset
createDate, createDateSpecified, deleteFlag, deleteFlagSpecified, id, idSpecified, scaleGroup, scaleGroupId, scaleGroupIdSpecified
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
Constructor Summary
Constructors Constructor Description Hardware()
-
Method Summary
Modifier and Type Method Description Hardware.Service
asService(ApiClient client)
Hardware
getHardware()
Long
getHardwareId()
static Hardware.Service
service(ApiClient client)
static Hardware.Service
service(ApiClient client, Long id)
void
setHardware(Hardware hardware)
void
setHardwareId(Long hardwareId)
Methods inherited from class com.softlayer.api.service.scale.Asset
getCreateDate, getDeleteFlag, getId, getScaleGroup, getScaleGroupId, isCreateDateSpecified, isDeleteFlagSpecified, isIdSpecified, isScaleGroupIdSpecified, setCreateDate, setDeleteFlag, setId, setScaleGroup, setScaleGroupId, unsetCreateDate, unsetDeleteFlag, unsetId, unsetScaleGroupId
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties