#[non_exhaustive]pub struct PoliciesBuilder { /* private fields */ }Expand description
A builder for Policies.
Implementations§
source§impl PoliciesBuilder
impl PoliciesBuilder
Appends an item to app_cookie_stickiness_policies.
To override the contents of this collection use set_app_cookie_stickiness_policies.
The stickiness policies created using CreateAppCookieStickinessPolicy.
The stickiness policies created using CreateAppCookieStickinessPolicy.
The stickiness policies created using CreateAppCookieStickinessPolicy.
Appends an item to lb_cookie_stickiness_policies.
To override the contents of this collection use set_lb_cookie_stickiness_policies.
The stickiness policies created using CreateLBCookieStickinessPolicy.
The stickiness policies created using CreateLBCookieStickinessPolicy.
The stickiness policies created using CreateLBCookieStickinessPolicy.
sourcepub fn other_policies(self, input: impl Into<String>) -> Self
pub fn other_policies(self, input: impl Into<String>) -> Self
Appends an item to other_policies.
To override the contents of this collection use set_other_policies.
The policies other than the stickiness policies.
sourcepub fn set_other_policies(self, input: Option<Vec<String>>) -> Self
pub fn set_other_policies(self, input: Option<Vec<String>>) -> Self
The policies other than the stickiness policies.
sourcepub fn get_other_policies(&self) -> &Option<Vec<String>>
pub fn get_other_policies(&self) -> &Option<Vec<String>>
The policies other than the stickiness policies.
Trait Implementations§
source§impl Clone for PoliciesBuilder
impl Clone for PoliciesBuilder
source§fn clone(&self) -> PoliciesBuilder
fn clone(&self) -> PoliciesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PoliciesBuilder
impl Debug for PoliciesBuilder
source§impl Default for PoliciesBuilder
impl Default for PoliciesBuilder
source§fn default() -> PoliciesBuilder
fn default() -> PoliciesBuilder
source§impl PartialEq for PoliciesBuilder
impl PartialEq for PoliciesBuilder
source§fn eq(&self, other: &PoliciesBuilder) -> bool
fn eq(&self, other: &PoliciesBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PoliciesBuilder
Auto Trait Implementations§
impl Freeze for PoliciesBuilder
impl RefUnwindSafe for PoliciesBuilder
impl Send for PoliciesBuilder
impl Sync for PoliciesBuilder
impl Unpin for PoliciesBuilder
impl UnwindSafe for PoliciesBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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