Package com.myjeeva.digitalocean.pojo
Class StickySessions
java.lang.Object
com.myjeeva.digitalocean.pojo.RateLimitBase
com.myjeeva.digitalocean.pojo.Base
com.myjeeva.digitalocean.pojo.StickySessions
- All Implemented Interfaces:
Serializable
Represents DigitalOcean Load Balancer sticky sessions object
- Since:
- v2.11
- Author:
- Thomas Lehoux (https://github.com/tlehoux)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetType()voidsetCookieName(String cookieName) voidsetCookieTtlInSeconds(Integer cookieTtlInSeconds) voidsetType(StickySessionType type) toString()Methods inherited from class com.myjeeva.digitalocean.pojo.Base
getLinks, getMeta, setLinks, setMetaMethods inherited from class com.myjeeva.digitalocean.pojo.RateLimitBase
getRateLimit, setRateLimit
-
Constructor Details
-
StickySessions
public StickySessions()
-
-
Method Details
-
toString
-
getType
- Returns:
- the type
-
setType
- Parameters:
type- the type to set
-
getCookieName
- Returns:
- the cookie name
-
setCookieName
- Parameters:
cookieName- the cookie name to set
-
getCookieTtlInSeconds
- Returns:
- the cookie TTL in seconds
-
setCookieTtlInSeconds
- Parameters:
cookieTtlInSeconds- the cookie TTL in seconds to set
-