Package com.softlayer.api.service.locale
Interface Timezone.Service
-
- All Superinterfaces:
Maskable
,ResultLimitable
,Service
- Enclosing class:
- Timezone
@ApiService("SoftLayer_Locale_Timezone") public static interface Timezone.Service extends Service
Each User is assigned a timezone allowing for a precise local timestamp.- See Also:
- SoftLayer_Locale_Timezone
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Timezone.ServiceAsync
asAsync()
Get an async version of this serviceList<Timezone>
getAllObjects()
Retrieve all timezone objects.Timezone
getObject()
getObject retrieves the SoftLayer_Locale_Timezone object whose ID number corresponds to the ID number of the init parameter passed to the SoftLayer_Locale_Timezone service.void
setMask(Timezone.Mask mask)
Timezone.Mask
withMask()
Use the existing mask on this service or create it if not presentTimezone.Mask
withNewMask()
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
Timezone.ServiceAsync asAsync()
Description copied from interface:Service
Get an async version of this service
-
withNewMask
Timezone.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
Timezone.Mask withMask()
Description copied from interface:Maskable
Use the existing mask on this service or create it if not present
-
setMask
void setMask(Timezone.Mask mask)
-
getAllObjects
@ApiMethod List<Timezone> getAllObjects()
Retrieve all timezone objects.- See Also:
- SoftLayer_Locale_Timezone::getAllObjects
-
getObject
@ApiMethod(instanceRequired=true) Timezone getObject()
getObject retrieves the SoftLayer_Locale_Timezone object whose ID number corresponds to the ID number of the init parameter passed to the SoftLayer_Locale_Timezone service.- See Also:
- SoftLayer_Locale_Timezone::getObject
-
-