Interface ForwardActionConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ForwardActionConfig.Builder,
,ForwardActionConfig> SdkBuilder<ForwardActionConfig.Builder,
,ForwardActionConfig> SdkPojo
- Enclosing class:
ForwardActionConfig
public static interface ForwardActionConfig.Builder
extends SdkPojo, CopyableBuilder<ForwardActionConfig.Builder,ForwardActionConfig>
-
Method Summary
Modifier and TypeMethodDescriptiontargetGroups
(Collection<TargetGroupTuple> targetGroups) The target groups.targetGroups
(Consumer<TargetGroupTuple.Builder>... targetGroups) The target groups.targetGroups
(TargetGroupTuple... targetGroups) The target groups.default ForwardActionConfig.Builder
targetGroupStickinessConfig
(Consumer<TargetGroupStickinessConfig.Builder> targetGroupStickinessConfig) The target group stickiness for the rule.targetGroupStickinessConfig
(TargetGroupStickinessConfig targetGroupStickinessConfig) The target group stickiness for the rule.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
-
targetGroups
The target groups. For Network Load Balancers, you can specify a single target group.
- Parameters:
targetGroups
- The target groups. For Network Load Balancers, you can specify a single target group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetGroups
The target groups. For Network Load Balancers, you can specify a single target group.
- Parameters:
targetGroups
- The target groups. For Network Load Balancers, you can specify a single target group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetGroups
The target groups. For Network Load Balancers, you can specify a single target group.
This is a convenience method that creates an instance of theTargetGroupTuple.Builder
avoiding the need to create one manually viaTargetGroupTuple.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargetGroups(List<TargetGroupTuple>)
.- Parameters:
targetGroups
- a consumer that will call methods onTargetGroupTuple.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetGroupStickinessConfig
ForwardActionConfig.Builder targetGroupStickinessConfig(TargetGroupStickinessConfig targetGroupStickinessConfig) The target group stickiness for the rule.
- Parameters:
targetGroupStickinessConfig
- The target group stickiness for the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetGroupStickinessConfig
default ForwardActionConfig.Builder targetGroupStickinessConfig(Consumer<TargetGroupStickinessConfig.Builder> targetGroupStickinessConfig) The target group stickiness for the rule.
This is a convenience method that creates an instance of theTargetGroupStickinessConfig.Builder
avoiding the need to create one manually viaTargetGroupStickinessConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargetGroupStickinessConfig(TargetGroupStickinessConfig)
.- Parameters:
targetGroupStickinessConfig
- a consumer that will call methods onTargetGroupStickinessConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-