#[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 ==
.