Interface TargetGroupStickinessConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TargetGroupStickinessConfig.Builder,
,TargetGroupStickinessConfig> SdkBuilder<TargetGroupStickinessConfig.Builder,
,TargetGroupStickinessConfig> SdkPojo
- Enclosing class:
TargetGroupStickinessConfig
public static interface TargetGroupStickinessConfig.Builder
extends SdkPojo, CopyableBuilder<TargetGroupStickinessConfig.Builder,TargetGroupStickinessConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondurationSeconds
(Integer durationSeconds) The time period, in seconds, during which requests from a client should be routed to the same target group.Indicates whether target group stickiness is enabled.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
enabled
Indicates whether target group stickiness is enabled.
- Parameters:
enabled
- Indicates whether target group stickiness is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
durationSeconds
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).
- Parameters:
durationSeconds
- 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).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-