@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HttpGatewayRouteAction extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents the action to take if a match is determined.
Constructor and Description |
---|
HttpGatewayRouteAction() |
Modifier and Type | Method and Description |
---|---|
HttpGatewayRouteAction |
clone() |
boolean |
equals(Object obj) |
GatewayRouteTarget |
getTarget()
An object that represents the target that traffic is routed to when a request matches the gateway route.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setTarget(GatewayRouteTarget target)
An object that represents the target that traffic is routed to when a request matches the gateway route.
|
String |
toString()
Returns a string representation of this object.
|
HttpGatewayRouteAction |
withTarget(GatewayRouteTarget target)
An object that represents the target that traffic is routed to when a request matches the gateway route.
|
public void setTarget(GatewayRouteTarget target)
An object that represents the target that traffic is routed to when a request matches the gateway route.
target
- An object that represents the target that traffic is routed to when a request matches the gateway route.public GatewayRouteTarget getTarget()
An object that represents the target that traffic is routed to when a request matches the gateway route.
public HttpGatewayRouteAction withTarget(GatewayRouteTarget target)
An object that represents the target that traffic is routed to when a request matches the gateway route.
target
- An object that represents the target that traffic is routed to when a request matches the gateway route.public String toString()
toString
in class Object
Object.toString()
public HttpGatewayRouteAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.