@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RouteSpec extends Object implements Serializable, Cloneable, StructuredPojo
An object representing the specification of a route.
Constructor and Description |
---|
RouteSpec() |
Modifier and Type | Method and Description |
---|---|
RouteSpec |
clone() |
boolean |
equals(Object obj) |
HttpRoute |
getHttpRoute()
The HTTP routing information for the route.
|
TcpRoute |
getTcpRoute()
The TCP routing information for the route.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setHttpRoute(HttpRoute httpRoute)
The HTTP routing information for the route.
|
void |
setTcpRoute(TcpRoute tcpRoute)
The TCP routing information for the route.
|
String |
toString()
Returns a string representation of this object.
|
RouteSpec |
withHttpRoute(HttpRoute httpRoute)
The HTTP routing information for the route.
|
RouteSpec |
withTcpRoute(TcpRoute tcpRoute)
The TCP routing information for the route.
|
public void setHttpRoute(HttpRoute httpRoute)
The HTTP routing information for the route.
httpRoute
- The HTTP routing information for the route.public HttpRoute getHttpRoute()
The HTTP routing information for the route.
public RouteSpec withHttpRoute(HttpRoute httpRoute)
The HTTP routing information for the route.
httpRoute
- The HTTP routing information for the route.public void setTcpRoute(TcpRoute tcpRoute)
The TCP routing information for the route.
tcpRoute
- The TCP routing information for the route.public TcpRoute getTcpRoute()
The TCP routing information for the route.
public RouteSpec withTcpRoute(TcpRoute tcpRoute)
The TCP routing information for the route.
tcpRoute
- The TCP routing information for the route.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.