Class TimeToLive
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.network.cdnmarketplace.configuration.cache.TimeToLive
@ApiType("SoftLayer_Network_CdnMarketplace_Configuration_Cache_TimeToLive") public class TimeToLive extends Entity
This data type models a purge event that occurs repetitively and automatically in caching server after a set interval of time. A time to live instance contains a reference to a mapping configuration, the path to execute the purge on, the result of the purge, and the time interval after which the purge will be executed.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TimeToLive.Mask
static interface
TimeToLive.Service
This service manages Times To Live (TTLs) associated with a CDN mapping Configuration.static interface
TimeToLive.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected GregorianCalendar
createDate
date record is createdprotected boolean
createDateSpecified
protected String
path
Path where purge will be executed after TTLprotected boolean
pathSpecified
protected Long
timeToLive
Time interval after which purge will occur repeatedlyprotected boolean
timeToLiveSpecified
-
Constructor Summary
Constructors Constructor Description TimeToLive()
-
Method Summary
Modifier and Type Method Description GregorianCalendar
getCreateDate()
String
getPath()
Long
getTimeToLive()
boolean
isCreateDateSpecified()
boolean
isPathSpecified()
boolean
isTimeToLiveSpecified()
static TimeToLive.Service
service(ApiClient client)
void
setCreateDate(GregorianCalendar createDate)
void
setPath(String path)
void
setTimeToLive(Long timeToLive)
void
unsetCreateDate()
void
unsetPath()
void
unsetTimeToLive()
-
Field Details
-
createDate
date record is created -
createDateSpecified
protected boolean createDateSpecified -
path
Path where purge will be executed after TTL -
pathSpecified
protected boolean pathSpecified -
timeToLive
Time interval after which purge will occur repeatedly -
timeToLiveSpecified
protected boolean timeToLiveSpecified
-
-
Constructor Details
-
TimeToLive
public TimeToLive()
-
-
Method Details
-
getCreateDate
-
setCreateDate
-
isCreateDateSpecified
public boolean isCreateDateSpecified() -
unsetCreateDate
public void unsetCreateDate() -
getPath
-
setPath
-
isPathSpecified
public boolean isPathSpecified() -
unsetPath
public void unsetPath() -
getTimeToLive
-
setTimeToLive
-
isTimeToLiveSpecified
public boolean isTimeToLiveSpecified() -
unsetTimeToLive
public void unsetTimeToLive() -
service
-