Package com.softlayer.api.service.scale
Interface Asset.Service
- All Superinterfaces:
Maskable
,ResultLimitable
,Service
- All Known Subinterfaces:
Guest.Service
,Hardware.Service
- Enclosing class:
- Asset
@ApiService("SoftLayer_Scale_Asset") public static interface Asset.Service extends Service
The base asset of a scale group. Assets are fixed, non-volatile units of a scale group. They are pinned to the group and will not be automatically added or removed. Their primary purpose is to provide information for the policies to use to determine when to scale members.
- See Also:
- SoftLayer_Scale_Asset
-
Method Summary
Modifier and Type Method Description Asset.ServiceAsync
asAsync()
Get an async version of this serviceBoolean
deleteObject()
Asset
getObject()
Group
getScaleGroup()
The group this asset belongs to.void
setMask(Asset.Mask mask)
Asset.Mask
withMask()
Use the existing mask on this service or create it if not presentAsset.Mask
withNewMask()
Overwrite the existing mask on this service with a new one and return itMethods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
Method Details
-
asAsync
Asset.ServiceAsync asAsync()Description copied from interface:Service
Get an async version of this service -
withNewMask
Asset.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 interfaceMaskable
-
withMask
Asset.Mask withMask()Description copied from interface:Maskable
Use the existing mask on this service or create it if not present -
setMask
-
deleteObject
- See Also:
- SoftLayer_Scale_Asset::deleteObject
-
getObject
- See Also:
- SoftLayer_Scale_Asset::getObject
-
getScaleGroup
The group this asset belongs to.- See Also:
- SoftLayer_Scale_Asset::getScaleGroup
-