@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TcpRouteMatch extends Object implements Serializable, Cloneable, StructuredPojo
An object representing the TCP route to match.
Constructor and Description |
---|
TcpRouteMatch() |
Modifier and Type | Method and Description |
---|---|
TcpRouteMatch |
clone() |
boolean |
equals(Object obj) |
Integer |
getPort()
The port number to match on.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPort(Integer port)
The port number to match on.
|
String |
toString()
Returns a string representation of this object.
|
TcpRouteMatch |
withPort(Integer port)
The port number to match on.
|
public void setPort(Integer port)
The port number to match on.
port
- The port number to match on.public Integer getPort()
The port number to match on.
public TcpRouteMatch withPort(Integer port)
The port number to match on.
port
- The port number to match on.public String toString()
toString
in class Object
Object.toString()
public TcpRouteMatch clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.