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
All Methods Static Methods Instance Methods Concrete Methods 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
-
-
-
-
Field Detail
-
hardware
@ApiProperty protected Hardware hardware
The hardware for this asset.
-
hardwareId
@ApiProperty protected Long hardwareId
The identifier of the hardware for this asset.
-
-
Method Detail
-
getHardware
public Hardware getHardware()
-
setHardware
public void setHardware(Hardware hardware)
-
getHardwareId
public Long getHardwareId()
-
setHardwareId
public void setHardwareId(Long hardwareId)
-
asService
public Hardware.Service asService(ApiClient client)
-
service
public static Hardware.Service service(ApiClient client)
-
service
public static Hardware.Service service(ApiClient client, Long id)
-
-