#[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.
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
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 Default for LbCookieStickinessPolicyBuilder
impl Default for LbCookieStickinessPolicyBuilder
source§fn default() -> LbCookieStickinessPolicyBuilder
fn default() -> LbCookieStickinessPolicyBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<LbCookieStickinessPolicyBuilder> for LbCookieStickinessPolicyBuilder
impl PartialEq<LbCookieStickinessPolicyBuilder> for LbCookieStickinessPolicyBuilder
source§fn eq(&self, other: &LbCookieStickinessPolicyBuilder) -> bool
fn eq(&self, other: &LbCookieStickinessPolicyBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LbCookieStickinessPolicyBuilder
Auto Trait Implementations§
impl RefUnwindSafe for LbCookieStickinessPolicyBuilder
impl Send for LbCookieStickinessPolicyBuilder
impl Sync for LbCookieStickinessPolicyBuilder
impl Unpin for LbCookieStickinessPolicyBuilder
impl UnwindSafe for LbCookieStickinessPolicyBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more