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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Asset.ServiceAsyncasAsync()Get an async version of this serviceBooleandeleteObject()AssetgetObject()GroupgetScaleGroup()The group this asset belongs to.voidsetMask(Asset.Mask mask)Asset.MaskwithMask()Use the existing mask on this service or create it if not presentAsset.MaskwithNewMask()Overwrite the existing mask on this service with a new one and return it-
Methods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
-
-
-
Method Detail
-
asAsync
Asset.ServiceAsync asAsync()
Description copied from interface:ServiceGet an async version of this service
-
withNewMask
Asset.Mask withNewMask()
Description copied from interface:MaskableOverwrite the existing mask on this service with a new one and return it- Specified by:
withNewMaskin interfaceMaskable
-
withMask
Asset.Mask withMask()
Description copied from interface:MaskableUse the existing mask on this service or create it if not present
-
setMask
void setMask(Asset.Mask mask)
-
deleteObject
@ApiMethod(instanceRequired=true) Boolean deleteObject()
- See Also:
- SoftLayer_Scale_Asset::deleteObject
-
getObject
@ApiMethod(instanceRequired=true) Asset getObject()
- See Also:
- SoftLayer_Scale_Asset::getObject
-
getScaleGroup
@ApiMethod(instanceRequired=true) Group getScaleGroup()
The group this asset belongs to.- See Also:
- SoftLayer_Scale_Asset::getScaleGroup
-
-