public static final class CfnListener.ForwardConfigProperty.Builder
extends java.lang.Object
CfnListener.ForwardConfigProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnListener.ForwardConfigProperty |
build()
Builds the configured instance.
|
CfnListener.ForwardConfigProperty.Builder |
targetGroups(IResolvable targetGroups)
Sets the value of
CfnListener.ForwardConfigProperty.getTargetGroups() |
CfnListener.ForwardConfigProperty.Builder |
targetGroups(java.util.List<? extends java.lang.Object> targetGroups)
Sets the value of
CfnListener.ForwardConfigProperty.getTargetGroups() |
CfnListener.ForwardConfigProperty.Builder |
targetGroupStickinessConfig(CfnListener.TargetGroupStickinessConfigProperty targetGroupStickinessConfig)
Sets the value of
CfnListener.ForwardConfigProperty.getTargetGroupStickinessConfig() |
CfnListener.ForwardConfigProperty.Builder |
targetGroupStickinessConfig(IResolvable targetGroupStickinessConfig)
Sets the value of
CfnListener.ForwardConfigProperty.getTargetGroupStickinessConfig() |
public CfnListener.ForwardConfigProperty.Builder targetGroups(IResolvable targetGroups)
CfnListener.ForwardConfigProperty.getTargetGroups()
targetGroups
- Information about how traffic will be distributed between multiple target groups in a forward rule.this
public CfnListener.ForwardConfigProperty.Builder targetGroups(java.util.List<? extends java.lang.Object> targetGroups)
CfnListener.ForwardConfigProperty.getTargetGroups()
targetGroups
- Information about how traffic will be distributed between multiple target groups in a forward rule.this
public CfnListener.ForwardConfigProperty.Builder targetGroupStickinessConfig(IResolvable targetGroupStickinessConfig)
CfnListener.ForwardConfigProperty.getTargetGroupStickinessConfig()
targetGroupStickinessConfig
- Information about the target group stickiness for a rule.this
public CfnListener.ForwardConfigProperty.Builder targetGroupStickinessConfig(CfnListener.TargetGroupStickinessConfigProperty targetGroupStickinessConfig)
CfnListener.ForwardConfigProperty.getTargetGroupStickinessConfig()
targetGroupStickinessConfig
- Information about the target group stickiness for a rule.this
public CfnListener.ForwardConfigProperty build()
CfnListener.ForwardConfigProperty
java.lang.NullPointerException
- if any required attribute was not provided