#[non_exhaustive]pub struct AwsElbLoadBalancerPolicies {
pub app_cookie_stickiness_policies: Option<Vec<AwsElbAppCookieStickinessPolicy>>,
pub lb_cookie_stickiness_policies: Option<Vec<AwsElbLbCookieStickinessPolicy>>,
pub other_policies: Option<Vec<String>>,
}
Expand description
Contains information about 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 that are created using CreateAppCookieStickinessPolicy
.
The stickiness policies that are created using CreateLBCookieStickinessPolicy
.
other_policies: Option<Vec<String>>
The policies other than the stickiness policies.
Implementations§
source§impl AwsElbLoadBalancerPolicies
impl AwsElbLoadBalancerPolicies
The stickiness policies that are 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 that are 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()
.
source§impl AwsElbLoadBalancerPolicies
impl AwsElbLoadBalancerPolicies
sourcepub fn builder() -> AwsElbLoadBalancerPoliciesBuilder
pub fn builder() -> AwsElbLoadBalancerPoliciesBuilder
Creates a new builder-style object to manufacture AwsElbLoadBalancerPolicies
.
Trait Implementations§
source§impl Clone for AwsElbLoadBalancerPolicies
impl Clone for AwsElbLoadBalancerPolicies
source§fn clone(&self) -> AwsElbLoadBalancerPolicies
fn clone(&self) -> AwsElbLoadBalancerPolicies
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AwsElbLoadBalancerPolicies
impl Debug for AwsElbLoadBalancerPolicies
source§impl PartialEq for AwsElbLoadBalancerPolicies
impl PartialEq for AwsElbLoadBalancerPolicies
source§fn eq(&self, other: &AwsElbLoadBalancerPolicies) -> bool
fn eq(&self, other: &AwsElbLoadBalancerPolicies) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsElbLoadBalancerPolicies
Auto Trait Implementations§
impl Freeze for AwsElbLoadBalancerPolicies
impl RefUnwindSafe for AwsElbLoadBalancerPolicies
impl Send for AwsElbLoadBalancerPolicies
impl Sync for AwsElbLoadBalancerPolicies
impl Unpin for AwsElbLoadBalancerPolicies
impl UnwindSafe for AwsElbLoadBalancerPolicies
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