Class SessionPersistence
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.gatewayapi.v1.SessionPersistence
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<SessionPersistenceBuilder>
,io.fabric8.kubernetes.api.model.KubernetesResource
,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class SessionPersistence extends Object implements io.fabric8.kubernetes.api.builder.Editable<SessionPersistenceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
SessionPersistence defines the desired state of SessionPersistence.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SessionPersistence()
No args constructor for use in serializationSessionPersistence(String absoluteTimeout, CookieConfig cookieConfig, String idleTimeout, String sessionName, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SessionPersistenceBuilder
edit()
String
getAbsoluteTimeout()
AbsoluteTimeout defines the absolute timeout of the persistent session.Map<String,Object>
getAdditionalProperties()
CookieConfig
getCookieConfig()
SessionPersistence defines the desired state of SessionPersistence.String
getIdleTimeout()
IdleTimeout defines the idle timeout of the persistent session.String
getSessionName()
SessionName defines the name of the persistent session token which may be reflected in the cookie or the header.String
getType()
Type defines the type of session persistence such as through the use a header or cookie.void
setAbsoluteTimeout(String absoluteTimeout)
AbsoluteTimeout defines the absolute timeout of the persistent session.void
setAdditionalProperties(Map<String,Object> additionalProperties)
void
setAdditionalProperty(String name, Object value)
void
setCookieConfig(CookieConfig cookieConfig)
SessionPersistence defines the desired state of SessionPersistence.void
setIdleTimeout(String idleTimeout)
IdleTimeout defines the idle timeout of the persistent session.void
setSessionName(String sessionName)
SessionName defines the name of the persistent session token which may be reflected in the cookie or the header.void
setType(String type)
Type defines the type of session persistence such as through the use a header or cookie.SessionPersistenceBuilder
toBuilder()
-
-
-
Constructor Detail
-
SessionPersistence
public SessionPersistence()
No args constructor for use in serialization
-
SessionPersistence
public SessionPersistence(String absoluteTimeout, CookieConfig cookieConfig, String idleTimeout, String sessionName, String type)
-
-
Method Detail
-
getAbsoluteTimeout
public String getAbsoluteTimeout()
AbsoluteTimeout defines the absolute timeout of the persistent session. Once the AbsoluteTimeout duration has elapsed, the session becomes invalid.Support: Extended
-
setAbsoluteTimeout
public void setAbsoluteTimeout(String absoluteTimeout)
AbsoluteTimeout defines the absolute timeout of the persistent session. Once the AbsoluteTimeout duration has elapsed, the session becomes invalid.Support: Extended
-
getCookieConfig
public CookieConfig getCookieConfig()
SessionPersistence defines the desired state of SessionPersistence.
-
setCookieConfig
public void setCookieConfig(CookieConfig cookieConfig)
SessionPersistence defines the desired state of SessionPersistence.
-
getIdleTimeout
public String getIdleTimeout()
IdleTimeout defines the idle timeout of the persistent session. Once the session has been idle for more than the specified IdleTimeout duration, the session becomes invalid.Support: Extended
-
setIdleTimeout
public void setIdleTimeout(String idleTimeout)
IdleTimeout defines the idle timeout of the persistent session. Once the session has been idle for more than the specified IdleTimeout duration, the session becomes invalid.Support: Extended
-
getSessionName
public String getSessionName()
SessionName defines the name of the persistent session token which may be reflected in the cookie or the header. Users should avoid reusing session names to prevent unintended consequences, such as rejection or unpredictable behavior.Support: Implementation-specific
-
setSessionName
public void setSessionName(String sessionName)
SessionName defines the name of the persistent session token which may be reflected in the cookie or the header. Users should avoid reusing session names to prevent unintended consequences, such as rejection or unpredictable behavior.Support: Implementation-specific
-
getType
public String getType()
Type defines the type of session persistence such as through the use a header or cookie. Defaults to cookie based session persistence.Support: Core for "Cookie" type
Support: Extended for "Header" type
-
setType
public void setType(String type)
Type defines the type of session persistence such as through the use a header or cookie. Defaults to cookie based session persistence.Support: Core for "Cookie" type
Support: Extended for "Header" type
-
edit
public SessionPersistenceBuilder edit()
- Specified by:
edit
in interfaceio.fabric8.kubernetes.api.builder.Editable<SessionPersistenceBuilder>
-
toBuilder
public SessionPersistenceBuilder toBuilder()
-
-