@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConnectionTrackingSpecificationRequest extends Object implements Serializable, Cloneable
A security group connection tracking specification request 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 |
---|
ConnectionTrackingSpecificationRequest() |
Modifier and Type | Method and Description |
---|---|
ConnectionTrackingSpecificationRequest |
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.
|
ConnectionTrackingSpecificationRequest |
withTcpEstablishedTimeout(Integer tcpEstablishedTimeout)
Timeout (in seconds) for idle TCP connections in an established state.
|
ConnectionTrackingSpecificationRequest |
withUdpStreamTimeout(Integer udpStreamTimeout)
Timeout (in seconds) for idle UDP flows classified as streams which have seen more than one request-response
transaction.
|
ConnectionTrackingSpecificationRequest |
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 ConnectionTrackingSpecificationRequest()
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 ConnectionTrackingSpecificationRequest 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 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 ConnectionTrackingSpecificationRequest 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 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 ConnectionTrackingSpecificationRequest 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 String toString()
toString
in class Object
Object.toString()
public ConnectionTrackingSpecificationRequest clone()