@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TcpRoute extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents a TCP route type.
| Constructor and Description |
|---|
TcpRoute() |
| Modifier and Type | Method and Description |
|---|---|
TcpRoute |
clone() |
boolean |
equals(Object obj) |
TcpRouteAction |
getAction()
The action to take if a match is determined.
|
TcpRouteMatch |
getMatch()
An object that represents the criteria for determining a request match.
|
TcpTimeout |
getTimeout()
An object that represents types of timeouts.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAction(TcpRouteAction action)
The action to take if a match is determined.
|
void |
setMatch(TcpRouteMatch match)
An object that represents the criteria for determining a request match.
|
void |
setTimeout(TcpTimeout timeout)
An object that represents types of timeouts.
|
String |
toString()
Returns a string representation of this object.
|
TcpRoute |
withAction(TcpRouteAction action)
The action to take if a match is determined.
|
TcpRoute |
withMatch(TcpRouteMatch match)
An object that represents the criteria for determining a request match.
|
TcpRoute |
withTimeout(TcpTimeout timeout)
An object that represents types of timeouts.
|
public void setAction(TcpRouteAction action)
The action to take if a match is determined.
action - The action to take if a match is determined.public TcpRouteAction getAction()
The action to take if a match is determined.
public TcpRoute withAction(TcpRouteAction action)
The action to take if a match is determined.
action - The action to take if a match is determined.public void setMatch(TcpRouteMatch 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 TcpRouteMatch getMatch()
An object that represents the criteria for determining a request match.
public TcpRoute withMatch(TcpRouteMatch 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 void setTimeout(TcpTimeout timeout)
An object that represents types of timeouts.
timeout - An object that represents types of timeouts.public TcpTimeout getTimeout()
An object that represents types of timeouts.
public TcpRoute withTimeout(TcpTimeout timeout)
An object that represents types of timeouts.
timeout - An object that represents types of timeouts.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.