GatewayLocalResponseCachePerInstancePropertiesArgs

data class GatewayLocalResponseCachePerInstancePropertiesArgs(val responseCacheType: Output<String>, val size: Output<String>? = null, val timeToLive: Output<String>? = null) : ConvertibleToJava<GatewayLocalResponseCachePerInstancePropertiesArgs>

Spring Cloud Gateway local response cache per instance properties.

Constructors

constructor(responseCacheType: Output<String>, size: Output<String>? = null, timeToLive: Output<String>? = null)

Properties

Link copied to clipboard

The type of the response cache. Expected value is 'LocalCachePerInstance'.

Link copied to clipboard
val size: Output<String>? = null

Maximum size of cache (10MB, 900KB, 1GB...) to determine if the cache needs to evict some entries

Link copied to clipboard
val timeToLive: Output<String>? = null

Time before a cached entry is expired (300s, 5m, 1h...)

Functions

Link copied to clipboard
open override fun toJava(): GatewayLocalResponseCachePerInstancePropertiesArgs