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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ForwardActionConfig.BuildertargetGroups(Collection<TargetGroupTuple> targetGroups)The target groups.ForwardActionConfig.BuildertargetGroups(Consumer<TargetGroupTuple.Builder>... targetGroups)The target groups.ForwardActionConfig.BuildertargetGroups(TargetGroupTuple... targetGroups)The target groups.default ForwardActionConfig.BuildertargetGroupStickinessConfig(Consumer<TargetGroupStickinessConfig.Builder> targetGroupStickinessConfig)The target group stickiness for the rule.ForwardActionConfig.BuildertargetGroupStickinessConfig(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 Detail
-
targetGroups
ForwardActionConfig.Builder targetGroups(Collection<TargetGroupTuple> 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
ForwardActionConfig.Builder targetGroups(TargetGroupTuple... 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
ForwardActionConfig.Builder targetGroups(Consumer<TargetGroupTuple.Builder>... 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.Builderavoiding the need to create one manually viaTargetGroupTuple.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#targetGroups(List.) - 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:
#targetGroups(java.util.Collection)
-
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.Builderavoiding the need to create one manually viaTargetGroupStickinessConfig.builder().When the
Consumercompletes,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:
targetGroupStickinessConfig(TargetGroupStickinessConfig)
-
-