Struct aws_sdk_elasticloadbalancing::types::Policies
source · #[non_exhaustive]pub struct Policies {
pub app_cookie_stickiness_policies: Option<Vec<AppCookieStickinessPolicy>>,
pub lb_cookie_stickiness_policies: Option<Vec<LbCookieStickinessPolicy>>,
pub other_policies: Option<Vec<String>>,
}
Expand description
The policies for a load balancer.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.The stickiness policies created using CreateAppCookieStickinessPolicy
.
The stickiness policies created using CreateLBCookieStickinessPolicy
.
other_policies: Option<Vec<String>>
The policies other than the stickiness policies.
Implementations§
source§impl Policies
impl Policies
The stickiness policies created using CreateAppCookieStickinessPolicy
.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .app_cookie_stickiness_policies.is_none()
.
The stickiness policies created using CreateLBCookieStickinessPolicy
.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .lb_cookie_stickiness_policies.is_none()
.
sourcepub fn other_policies(&self) -> &[String]
pub fn other_policies(&self) -> &[String]
The policies other than the stickiness policies.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .other_policies.is_none()
.
Trait Implementations§
source§impl PartialEq for Policies
impl PartialEq for Policies
impl StructuralPartialEq for Policies
Auto Trait Implementations§
impl Freeze for Policies
impl RefUnwindSafe for Policies
impl Send for Policies
impl Sync for Policies
impl Unpin for Policies
impl UnwindSafe for Policies
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> 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