@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConnectionTrackingSpecification extends Object implements Serializable, Cloneable
A security group connection tracking specification that enables you to set the idle timeout for connection tracking on an Elastic network interface. For more information, see Connection tracking timeouts in the Amazon EC2 User Guide.
Constructor and Description |
---|
ConnectionTrackingSpecification() |
Modifier and Type | Method and Description |
---|---|
ConnectionTrackingSpecification |
clone() |
boolean |
equals(Object obj) |
Integer |
getTcpEstablishedTimeout()
Timeout (in seconds) for idle TCP connections in an established state.
|
Integer |
getUdpStreamTimeout()
Timeout (in seconds) for idle UDP flows classified as streams which have seen more than one request-response
transaction.
|
Integer |
getUdpTimeout()
Timeout (in seconds) for idle UDP flows that have seen traffic only in a single direction or a single
request-response transaction.
|
int |
hashCode() |
void |
setTcpEstablishedTimeout(Integer tcpEstablishedTimeout)
Timeout (in seconds) for idle TCP connections in an established state.
|
void |
setUdpStreamTimeout(Integer udpStreamTimeout)
Timeout (in seconds) for idle UDP flows classified as streams which have seen more than one request-response
transaction.
|
void |
setUdpTimeout(Integer udpTimeout)
Timeout (in seconds) for idle UDP flows that have seen traffic only in a single direction or a single
request-response transaction.
|
String |
toString()
Returns a string representation of this object.
|
ConnectionTrackingSpecification |
withTcpEstablishedTimeout(Integer tcpEstablishedTimeout)
Timeout (in seconds) for idle TCP connections in an established state.
|
ConnectionTrackingSpecification |
withUdpStreamTimeout(Integer udpStreamTimeout)
Timeout (in seconds) for idle UDP flows classified as streams which have seen more than one request-response
transaction.
|
ConnectionTrackingSpecification |
withUdpTimeout(Integer udpTimeout)
Timeout (in seconds) for idle UDP flows that have seen traffic only in a single direction or a single
request-response transaction.
|
public void setTcpEstablishedTimeout(Integer tcpEstablishedTimeout)
Timeout (in seconds) for idle TCP connections in an established state. Min: 60 seconds. Max: 432000 seconds (5 days). Default: 432000 seconds. Recommended: Less than 432000 seconds.
tcpEstablishedTimeout
- Timeout (in seconds) for idle TCP connections in an established state. Min: 60 seconds. Max: 432000
seconds (5 days). Default: 432000 seconds. Recommended: Less than 432000 seconds.public Integer getTcpEstablishedTimeout()
Timeout (in seconds) for idle TCP connections in an established state. Min: 60 seconds. Max: 432000 seconds (5 days). Default: 432000 seconds. Recommended: Less than 432000 seconds.
public ConnectionTrackingSpecification withTcpEstablishedTimeout(Integer tcpEstablishedTimeout)
Timeout (in seconds) for idle TCP connections in an established state. Min: 60 seconds. Max: 432000 seconds (5 days). Default: 432000 seconds. Recommended: Less than 432000 seconds.
tcpEstablishedTimeout
- Timeout (in seconds) for idle TCP connections in an established state. Min: 60 seconds. Max: 432000
seconds (5 days). Default: 432000 seconds. Recommended: Less than 432000 seconds.public void setUdpTimeout(Integer udpTimeout)
Timeout (in seconds) for idle UDP flows that have seen traffic only in a single direction or a single request-response transaction. Min: 30 seconds. Max: 60 seconds. Default: 30 seconds.
udpTimeout
- Timeout (in seconds) for idle UDP flows that have seen traffic only in a single direction or a single
request-response transaction. Min: 30 seconds. Max: 60 seconds. Default: 30 seconds.public Integer getUdpTimeout()
Timeout (in seconds) for idle UDP flows that have seen traffic only in a single direction or a single request-response transaction. Min: 30 seconds. Max: 60 seconds. Default: 30 seconds.
public ConnectionTrackingSpecification withUdpTimeout(Integer udpTimeout)
Timeout (in seconds) for idle UDP flows that have seen traffic only in a single direction or a single request-response transaction. Min: 30 seconds. Max: 60 seconds. Default: 30 seconds.
udpTimeout
- Timeout (in seconds) for idle UDP flows that have seen traffic only in a single direction or a single
request-response transaction. Min: 30 seconds. Max: 60 seconds. Default: 30 seconds.public void setUdpStreamTimeout(Integer udpStreamTimeout)
Timeout (in seconds) for idle UDP flows classified as streams which have seen more than one request-response transaction. Min: 60 seconds. Max: 180 seconds (3 minutes). Default: 180 seconds.
udpStreamTimeout
- Timeout (in seconds) for idle UDP flows classified as streams which have seen more than one
request-response transaction. Min: 60 seconds. Max: 180 seconds (3 minutes). Default: 180 seconds.public Integer getUdpStreamTimeout()
Timeout (in seconds) for idle UDP flows classified as streams which have seen more than one request-response transaction. Min: 60 seconds. Max: 180 seconds (3 minutes). Default: 180 seconds.
public ConnectionTrackingSpecification withUdpStreamTimeout(Integer udpStreamTimeout)
Timeout (in seconds) for idle UDP flows classified as streams which have seen more than one request-response transaction. Min: 60 seconds. Max: 180 seconds (3 minutes). Default: 180 seconds.
udpStreamTimeout
- Timeout (in seconds) for idle UDP flows classified as streams which have seen more than one
request-response transaction. Min: 60 seconds. Max: 180 seconds (3 minutes). Default: 180 seconds.public String toString()
toString
in class Object
Object.toString()
public ConnectionTrackingSpecification clone()