@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HttpGatewayRoute extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents an HTTP gateway route.
Constructor and Description |
---|
HttpGatewayRoute() |
Modifier and Type | Method and Description |
---|---|
HttpGatewayRoute |
clone() |
boolean |
equals(Object obj) |
HttpGatewayRouteAction |
getAction()
An object that represents the action to take if a match is determined.
|
HttpGatewayRouteMatch |
getMatch()
An object that represents the criteria for determining a request match.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAction(HttpGatewayRouteAction action)
An object that represents the action to take if a match is determined.
|
void |
setMatch(HttpGatewayRouteMatch match)
An object that represents the criteria for determining a request match.
|
String |
toString()
Returns a string representation of this object.
|
HttpGatewayRoute |
withAction(HttpGatewayRouteAction action)
An object that represents the action to take if a match is determined.
|
HttpGatewayRoute |
withMatch(HttpGatewayRouteMatch match)
An object that represents the criteria for determining a request match.
|
public void setAction(HttpGatewayRouteAction action)
An object that represents the action to take if a match is determined.
action
- An object that represents the action to take if a match is determined.public HttpGatewayRouteAction getAction()
An object that represents the action to take if a match is determined.
public HttpGatewayRoute withAction(HttpGatewayRouteAction action)
An object that represents the action to take if a match is determined.
action
- An object that represents the action to take if a match is determined.public void setMatch(HttpGatewayRouteMatch match)
An object that represents the criteria for determining a request match.
match
- An object that represents the criteria for determining a request match.public HttpGatewayRouteMatch getMatch()
An object that represents the criteria for determining a request match.
public HttpGatewayRoute withMatch(HttpGatewayRouteMatch match)
An object that represents the criteria for determining a request match.
match
- An object that represents the criteria for determining a request match.public String toString()
toString
in class Object
Object.toString()
public HttpGatewayRoute clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.