#[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 ==
.impl StructuralPartialEq for LbCookieStickinessPolicyBuilder
Auto Trait Implementations§
impl Freeze for LbCookieStickinessPolicyBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more