Class SessionPersistence
- java.lang.Object
-
- org.jclouds.openstack.neutron.v2.domain.lbaas.v1.SessionPersistence
-
public class SessionPersistence extends Object
A Neutron LBaaS v1 SessionPersistence. Contains a type and cookie name describing the session persistence.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SessionPersistence.Builder
Builder.static class
SessionPersistence.Type
Enumerates supported SessionPersistence types.
-
Field Summary
Fields Modifier and Type Field Description protected String
cookieName
protected SessionPersistence.Type
type
-
Constructor Summary
Constructors Modifier Constructor Description protected
SessionPersistence(SessionPersistence.Type type, String cookieName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SessionPersistence.Builder
builder()
boolean
equals(Object obj)
String
getCookieName()
SessionPersistence.Type
getType()
int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
String
toString()
-
-
-
Field Detail
-
type
protected final SessionPersistence.Type type
-
cookieName
@Named("cookie_name") protected final String cookieName
-
-
Constructor Detail
-
SessionPersistence
@ConstructorProperties({"type","cookie_name"}) protected SessionPersistence(SessionPersistence.Type type, String cookieName)
-
-
Method Detail
-
getType
@Nullable public SessionPersistence.Type getType()
- Returns:
- the type of the SessionPersistence.
-
getCookieName
@Nullable public String getCookieName()
- Returns:
- the cookie name of the SessionPersistence.
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
builder
public static SessionPersistence.Builder builder()
- Returns:
- the Builder for SessionPersistence.
-
-