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 classSessionPersistence.BuilderBuilder.static classSessionPersistence.TypeEnumerates supported SessionPersistence types.
-
Field Summary
Fields Modifier and Type Field Description protected StringcookieNameprotected SessionPersistence.Typetype
-
Constructor Summary
Constructors Modifier Constructor Description protectedSessionPersistence(SessionPersistence.Type type, String cookieName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SessionPersistence.Builderbuilder()booleanequals(Object obj)StringgetCookieName()SessionPersistence.TypegetType()inthashCode()protected com.google.common.base.MoreObjects.ToStringHelperstring()StringtoString()
-
-
-
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.
-
-