@Stability(value=Stable) public static final class CfnListenerRule.TargetGroupStickinessConfigProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnListenerRule.TargetGroupStickinessConfigProperty>
CfnListenerRule.TargetGroupStickinessConfigProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnListenerRule.TargetGroupStickinessConfigProperty |
build()
Builds the configured instance.
|
CfnListenerRule.TargetGroupStickinessConfigProperty.Builder |
durationSeconds(Number durationSeconds)
Sets the value of
CfnListenerRule.TargetGroupStickinessConfigProperty.getDurationSeconds() |
CfnListenerRule.TargetGroupStickinessConfigProperty.Builder |
enabled(Boolean enabled)
Sets the value of
CfnListenerRule.TargetGroupStickinessConfigProperty.getEnabled() |
CfnListenerRule.TargetGroupStickinessConfigProperty.Builder |
enabled(IResolvable enabled)
Sets the value of
CfnListenerRule.TargetGroupStickinessConfigProperty.getEnabled() |
@Stability(value=Stable) public CfnListenerRule.TargetGroupStickinessConfigProperty.Builder durationSeconds(Number durationSeconds)
CfnListenerRule.TargetGroupStickinessConfigProperty.getDurationSeconds()
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).this
@Stability(value=Stable) public CfnListenerRule.TargetGroupStickinessConfigProperty.Builder enabled(Boolean enabled)
CfnListenerRule.TargetGroupStickinessConfigProperty.getEnabled()
enabled
- Indicates whether target group stickiness is enabled.this
@Stability(value=Stable) public CfnListenerRule.TargetGroupStickinessConfigProperty.Builder enabled(IResolvable enabled)
CfnListenerRule.TargetGroupStickinessConfigProperty.getEnabled()
enabled
- Indicates whether target group stickiness is enabled.this
@Stability(value=Stable) public CfnListenerRule.TargetGroupStickinessConfigProperty build()
build
in interface software.amazon.jsii.Builder<CfnListenerRule.TargetGroupStickinessConfigProperty>
CfnListenerRule.TargetGroupStickinessConfigProperty
NullPointerException
- if any required attribute was not providedCopyright © 2023. All rights reserved.