@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HttpRouteAction extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents the action to take if a match is determined.
| Constructor and Description | 
|---|
| HttpRouteAction() | 
| Modifier and Type | Method and Description | 
|---|---|
| HttpRouteAction | clone() | 
| boolean | equals(Object obj) | 
| List<WeightedTarget> | getWeightedTargets()
 An object that represents the targets that traffic is routed to when a request matches the route. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setWeightedTargets(Collection<WeightedTarget> weightedTargets)
 An object that represents the targets that traffic is routed to when a request matches the route. | 
| String | toString()Returns a string representation of this object. | 
| HttpRouteAction | withWeightedTargets(Collection<WeightedTarget> weightedTargets)
 An object that represents the targets that traffic is routed to when a request matches the route. | 
| HttpRouteAction | withWeightedTargets(WeightedTarget... weightedTargets)
 An object that represents the targets that traffic is routed to when a request matches the route. | 
public List<WeightedTarget> getWeightedTargets()
An object that represents the targets that traffic is routed to when a request matches the route.
public void setWeightedTargets(Collection<WeightedTarget> weightedTargets)
An object that represents the targets that traffic is routed to when a request matches the route.
weightedTargets - An object that represents the targets that traffic is routed to when a request matches the route.public HttpRouteAction withWeightedTargets(WeightedTarget... weightedTargets)
An object that represents the targets that traffic is routed to when a request matches the route.
 NOTE: This method appends the values to the existing list (if any). Use
 setWeightedTargets(java.util.Collection) or withWeightedTargets(java.util.Collection) if you
 want to override the existing values.
 
weightedTargets - An object that represents the targets that traffic is routed to when a request matches the route.public HttpRouteAction withWeightedTargets(Collection<WeightedTarget> weightedTargets)
An object that represents the targets that traffic is routed to when a request matches the route.
weightedTargets - An object that represents the targets that traffic is routed to when a request matches the route.public String toString()
toString in class ObjectObject.toString()public HttpRouteAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.