Struct aws_sdk_elasticloadbalancingv2::model::TargetGroupStickinessConfig [−][src]
#[non_exhaustive]pub struct TargetGroupStickinessConfig {
pub enabled: Option<bool>,
pub duration_seconds: Option<i32>,
}
Expand description
Information about the target group stickiness for a rule.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.enabled: Option<bool>
Indicates whether target group stickiness is enabled.
duration_seconds: Option<i32>
The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days).
Implementations
Creates a new builder-style object to manufacture TargetGroupStickinessConfig
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TargetGroupStickinessConfig
impl Send for TargetGroupStickinessConfig
impl Sync for TargetGroupStickinessConfig
impl Unpin for TargetGroupStickinessConfig
impl UnwindSafe for TargetGroupStickinessConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more