#[non_exhaustive]pub struct LbCookieStickinessPolicyBuilder { /* private fields */ }
Expand description
A builder for LbCookieStickinessPolicy
.
Implementations§
source§impl LbCookieStickinessPolicyBuilder
impl LbCookieStickinessPolicyBuilder
sourcepub fn policy_name(self, input: impl Into<String>) -> Self
pub fn policy_name(self, input: impl Into<String>) -> Self
The name of the policy. This name must be unique within the set of policies for this load balancer.
sourcepub fn set_policy_name(self, input: Option<String>) -> Self
pub fn set_policy_name(self, input: Option<String>) -> Self
The name of the policy. This name must be unique within the set of policies for this load balancer.
sourcepub fn get_policy_name(&self) -> &Option<String>
pub fn get_policy_name(&self) -> &Option<String>
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.
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.
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.
sourcepub fn build(self) -> LbCookieStickinessPolicy
pub fn build(self) -> LbCookieStickinessPolicy
Consumes the builder and constructs a LbCookieStickinessPolicy
.
Trait Implementations§
source§impl Clone for LbCookieStickinessPolicyBuilder
impl Clone for LbCookieStickinessPolicyBuilder
source§fn clone(&self) -> LbCookieStickinessPolicyBuilder
fn clone(&self) -> LbCookieStickinessPolicyBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for LbCookieStickinessPolicyBuilder
impl Default for LbCookieStickinessPolicyBuilder
source§fn default() -> LbCookieStickinessPolicyBuilder
fn default() -> LbCookieStickinessPolicyBuilder
source§impl PartialEq for LbCookieStickinessPolicyBuilder
impl PartialEq for LbCookieStickinessPolicyBuilder
source§fn eq(&self, other: &LbCookieStickinessPolicyBuilder) -> bool
fn eq(&self, other: &LbCookieStickinessPolicyBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.