Package com.vaadin.kubernetes.starter
Class KubernetesKitProperties
java.lang.Object
com.vaadin.kubernetes.starter.KubernetesKitProperties
@ConfigurationProperties(prefix="vaadin.kubernetes")
public class KubernetesKitProperties
extends Object
Definition of configuration properties for the Kubernetes Kit starter.
- Since:
- 1.0
- Author:
- Vaadin Ltd
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classHazelcast configuration properties. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the amount of time to be added to the HTTP session timeout to determine the expiration of the backend session.Gets the name of the distributed storage session key cookie.Gets the distributed storage session key cookie's SameSite attribute value.Gets Hazelcast configuration properties.booleanChecks if auto-configuration ofKubernetesKitConfigurationis enabled.voidsetAutoConfigure(boolean autoConfigure) Enables or disables auto-configuration ofKubernetesKitConfiguration.voidsetBackendSessionExpirationTolerance(Duration backendSessionExpirationTolerance) Sets the amount of time to be added to the HTTP session timeout to determine the expiration of the backend session.voidsetClusterKeyCookieName(String clusterKeyCookieName) Sets the name of the distributed storage session key cookie.voidsetClusterKeyCookieSameSite(SameSite sameSite) Sets the distributed storage session key cookie's SameSite attribute.voidSets Hazelcast configuration properties.
-
Field Details
-
PREFIX
The prefix for Kubernetes Kit starter properties.- See Also:
-
-
Constructor Details
-
KubernetesKitProperties
public KubernetesKitProperties()
-
-
Method Details
-
isAutoConfigure
public boolean isAutoConfigure()Checks if auto-configuration ofKubernetesKitConfigurationis enabled.- Returns:
- true, if auto-configuration is enabled
-
setAutoConfigure
public void setAutoConfigure(boolean autoConfigure) Enables or disables auto-configuration ofKubernetesKitConfiguration.- Parameters:
autoConfigure-trueto enable auto-configuration,falseto disable
-
setBackendSessionExpirationTolerance
Sets the amount of time to be added to the HTTP session timeout to determine the expiration of the backend session. -
getBackendSessionExpirationTolerance
Gets the amount of time to be added to the HTTP session timeout to determine the expiration of the backend session. -
getClusterKeyCookieName
Gets the name of the distributed storage session key cookie.- Returns:
- the name of the distributed storage session key cookie
-
setClusterKeyCookieName
Sets the name of the distributed storage session key cookie.- Parameters:
clusterKeyCookieName- the name of the distributed storage session key cookie
-
getClusterKeyCookieSameSite
Gets the distributed storage session key cookie's SameSite attribute value.- Returns:
- the distributed storage session key cookie's SameSite attribute value
-
setClusterKeyCookieSameSite
Sets the distributed storage session key cookie's SameSite attribute.- Parameters:
sameSite- value of the distributed storage session key cookie's SameSite attribute
-
getHazelcast
Gets Hazelcast configuration properties.- Returns:
- the Hazelcast configuration properties
-
setHazelcast
Sets Hazelcast configuration properties.- Parameters:
hazelcast- the Hazelcast configuration properties
-