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