Interface Guest.Service
-
- All Superinterfaces:
Asset.Service
,Maskable
,ResultLimitable
,Service
- Enclosing class:
- Guest
@ApiService("SoftLayer_Scale_Asset_Virtual_Guest") public static interface Guest.Service extends Asset.Service
A guest 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.- See Also:
- SoftLayer_Scale_Asset_Virtual_Guest
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Guest.ServiceAsync
asAsync()
Get an async version of this serviceGuest
createObject(Guest templateObject)
Guest
getObjectForGuest()
Guest
getVirtualGuest()
The guest for this asset.Long
getVirtualGuestId()
The identifier of the guest for this asset.void
setMask(Guest.Mask mask)
Guest.Mask
withMask()
Use the existing mask on this service or create it if not presentGuest.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
Guest.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
Guest.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
Guest.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(Guest.Mask mask)
-
createObject
@ApiMethod Guest createObject(Guest templateObject)
-
getObjectForGuest
@ApiMethod(value="getObject", instanceRequired=true) Guest getObjectForGuest()
-
getVirtualGuest
@ApiMethod(instanceRequired=true) Guest getVirtualGuest()
The guest for this asset.
-
getVirtualGuestId
@ApiMethod(instanceRequired=true) Long getVirtualGuestId()
The identifier of the guest for this asset.
-
-