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
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description TimeToLive()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods 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()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
createDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar createDate
date record is created
-
createDateSpecified
protected boolean createDateSpecified
-
path
@ApiProperty(canBeNullOrNotSet=true) protected String path
Path where purge will be executed after TTL
-
pathSpecified
protected boolean pathSpecified
-
timeToLive
@ApiProperty(canBeNullOrNotSet=true) protected Long timeToLive
Time interval after which purge will occur repeatedly
-
timeToLiveSpecified
protected boolean timeToLiveSpecified
-
-
Method Detail
-
getCreateDate
public GregorianCalendar getCreateDate()
-
setCreateDate
public void setCreateDate(GregorianCalendar createDate)
-
isCreateDateSpecified
public boolean isCreateDateSpecified()
-
unsetCreateDate
public void unsetCreateDate()
-
getPath
public String getPath()
-
setPath
public void setPath(String path)
-
isPathSpecified
public boolean isPathSpecified()
-
unsetPath
public void unsetPath()
-
getTimeToLive
public Long getTimeToLive()
-
setTimeToLive
public void setTimeToLive(Long timeToLive)
-
isTimeToLiveSpecified
public boolean isTimeToLiveSpecified()
-
unsetTimeToLive
public void unsetTimeToLive()
-
service
public static TimeToLive.Service service(ApiClient client)
-
-