Class StickySessions

All Implemented Interfaces:
Serializable

public class StickySessions extends Base
Represents DigitalOcean Load Balancer sticky sessions object
Since:
v2.11
Author:
Thomas Lehoux (https://github.com/tlehoux)
See Also:
  • Constructor Details

    • StickySessions

      public StickySessions()
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Base
    • getType

      public StickySessionType getType()
      Returns:
      the type
    • setType

      public void setType(StickySessionType type)
      Parameters:
      type - the type to set
    • getCookieName

      public String getCookieName()
      Returns:
      the cookie name
    • setCookieName

      public void setCookieName(String cookieName)
      Parameters:
      cookieName - the cookie name to set
    • getCookieTtlInSeconds

      public Integer getCookieTtlInSeconds()
      Returns:
      the cookie TTL in seconds
    • setCookieTtlInSeconds

      public void setCookieTtlInSeconds(Integer cookieTtlInSeconds)
      Parameters:
      cookieTtlInSeconds - the cookie TTL in seconds to set