Interface TimeToLive.Service
- All Superinterfaces:
Maskable
,ResultLimitable
,Service
- Enclosing class:
- TimeToLive
@ApiService("SoftLayer_Network_CdnMarketplace_Configuration_Cache_TimeToLive") public static interface TimeToLive.Service extends Service
This service manages Times To Live (TTLs) associated with a CDN mapping Configuration. A time to live represents the time a purge will occur at a given path.
-
Method Summary
Modifier and Type Method Description TimeToLive.ServiceAsync
asAsync()
Get an async version of this serviceString
createTimeToLive(String uniqueId, String pathName, String ttl)
String
deleteTimeToLive(String uniqueId, String pathName)
TimeToLive
getObject()
List<TimeToLive>
listTimeToLive(String uniqueId)
void
setMask(TimeToLive.Mask mask)
String
updateTimeToLive(String uniqueId, String oldPath, String newPath, String oldTtl, String newTtl)
TimeToLive.Mask
withMask()
Use the existing mask on this service or create it if not presentTimeToLive.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
TimeToLive.ServiceAsync asAsync()Description copied from interface:Service
Get an async version of this service -
withNewMask
TimeToLive.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
TimeToLive.Mask withMask()Description copied from interface:Maskable
Use the existing mask on this service or create it if not present -
setMask
-
createTimeToLive
-
deleteTimeToLive
-
getObject
-
listTimeToLive
-
updateTimeToLive
-