@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ForwardActionConfig extends Object implements Serializable, Cloneable
Information about a forward action.
Constructor and Description |
---|
ForwardActionConfig() |
Modifier and Type | Method and Description |
---|---|
ForwardActionConfig |
clone() |
boolean |
equals(Object obj) |
List<TargetGroupTuple> |
getTargetGroups()
The target groups.
|
TargetGroupStickinessConfig |
getTargetGroupStickinessConfig()
The target group stickiness for the rule.
|
int |
hashCode() |
void |
setTargetGroups(Collection<TargetGroupTuple> targetGroups)
The target groups.
|
void |
setTargetGroupStickinessConfig(TargetGroupStickinessConfig targetGroupStickinessConfig)
The target group stickiness for the rule.
|
String |
toString()
Returns a string representation of this object.
|
ForwardActionConfig |
withTargetGroups(Collection<TargetGroupTuple> targetGroups)
The target groups.
|
ForwardActionConfig |
withTargetGroups(TargetGroupTuple... targetGroups)
The target groups.
|
ForwardActionConfig |
withTargetGroupStickinessConfig(TargetGroupStickinessConfig targetGroupStickinessConfig)
The target group stickiness for the rule.
|
public List<TargetGroupTuple> getTargetGroups()
The target groups. For Network Load Balancers, you can specify a single target group.
public void setTargetGroups(Collection<TargetGroupTuple> targetGroups)
The target groups. For Network Load Balancers, you can specify a single target group.
targetGroups
- The target groups. For Network Load Balancers, you can specify a single target group.public ForwardActionConfig withTargetGroups(TargetGroupTuple... targetGroups)
The target groups. For Network Load Balancers, you can specify a single target group.
NOTE: This method appends the values to the existing list (if any). Use
setTargetGroups(java.util.Collection)
or withTargetGroups(java.util.Collection)
if you want to
override the existing values.
targetGroups
- The target groups. For Network Load Balancers, you can specify a single target group.public ForwardActionConfig withTargetGroups(Collection<TargetGroupTuple> targetGroups)
The target groups. For Network Load Balancers, you can specify a single target group.
targetGroups
- The target groups. For Network Load Balancers, you can specify a single target group.public void setTargetGroupStickinessConfig(TargetGroupStickinessConfig targetGroupStickinessConfig)
The target group stickiness for the rule.
targetGroupStickinessConfig
- The target group stickiness for the rule.public TargetGroupStickinessConfig getTargetGroupStickinessConfig()
The target group stickiness for the rule.
public ForwardActionConfig withTargetGroupStickinessConfig(TargetGroupStickinessConfig targetGroupStickinessConfig)
The target group stickiness for the rule.
targetGroupStickinessConfig
- The target group stickiness for the rule.public String toString()
toString
in class Object
Object.toString()
public ForwardActionConfig clone()