#[non_exhaustive]pub struct LbCookieStickinessPolicy { /* private fields */ }
Expand description
Information about a policy for duration-based session stickiness.
Implementations§
source§impl LbCookieStickinessPolicy
impl LbCookieStickinessPolicy
sourcepub fn policy_name(&self) -> Option<&str>
pub fn policy_name(&self) -> Option<&str>
The name of the policy. This name must be unique within the set of policies for this load balancer.
The time period, in seconds, after which the cookie should be considered stale. If this parameter is not specified, the stickiness session lasts for the duration of the browser session.
source§impl LbCookieStickinessPolicy
impl LbCookieStickinessPolicy
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture LbCookieStickinessPolicy
.
Trait Implementations§
source§impl Clone for LbCookieStickinessPolicy
impl Clone for LbCookieStickinessPolicy
source§fn clone(&self) -> LbCookieStickinessPolicy
fn clone(&self) -> LbCookieStickinessPolicy
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LbCookieStickinessPolicy
impl Debug for LbCookieStickinessPolicy
source§impl PartialEq<LbCookieStickinessPolicy> for LbCookieStickinessPolicy
impl PartialEq<LbCookieStickinessPolicy> for LbCookieStickinessPolicy
source§fn eq(&self, other: &LbCookieStickinessPolicy) -> bool
fn eq(&self, other: &LbCookieStickinessPolicy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.