#[non_exhaustive]pub struct SessionStickinessConfigBuilder { /* private fields */ }
Expand description
A builder for SessionStickinessConfig
.
Implementations§
source§impl SessionStickinessConfigBuilder
impl SessionStickinessConfigBuilder
sourcepub fn idle_ttl(self, input: i32) -> Self
pub fn idle_ttl(self, input: i32) -> Self
The amount of time after which you want sessions to cease if no requests are received. Allowed values are 300–3600 seconds (5–60 minutes).
The value must be less than or equal to MaximumTTL
.
sourcepub fn set_idle_ttl(self, input: Option<i32>) -> Self
pub fn set_idle_ttl(self, input: Option<i32>) -> Self
The amount of time after which you want sessions to cease if no requests are received. Allowed values are 300–3600 seconds (5–60 minutes).
The value must be less than or equal to MaximumTTL
.
sourcepub fn maximum_ttl(self, input: i32) -> Self
pub fn maximum_ttl(self, input: i32) -> Self
The maximum amount of time to consider requests from the viewer as being part of the same session. Allowed values are 300–3600 seconds (5–60 minutes).
The value must be less than or equal to IdleTTL
.
sourcepub fn set_maximum_ttl(self, input: Option<i32>) -> Self
pub fn set_maximum_ttl(self, input: Option<i32>) -> Self
The maximum amount of time to consider requests from the viewer as being part of the same session. Allowed values are 300–3600 seconds (5–60 minutes).
The value must be less than or equal to IdleTTL
.
sourcepub fn build(self) -> SessionStickinessConfig
pub fn build(self) -> SessionStickinessConfig
Consumes the builder and constructs a SessionStickinessConfig
.
Trait Implementations§
source§impl Clone for SessionStickinessConfigBuilder
impl Clone for SessionStickinessConfigBuilder
source§fn clone(&self) -> SessionStickinessConfigBuilder
fn clone(&self) -> SessionStickinessConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for SessionStickinessConfigBuilder
impl Default for SessionStickinessConfigBuilder
source§fn default() -> SessionStickinessConfigBuilder
fn default() -> SessionStickinessConfigBuilder
source§impl PartialEq<SessionStickinessConfigBuilder> for SessionStickinessConfigBuilder
impl PartialEq<SessionStickinessConfigBuilder> for SessionStickinessConfigBuilder
source§fn eq(&self, other: &SessionStickinessConfigBuilder) -> bool
fn eq(&self, other: &SessionStickinessConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.