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