public static final class TcpMssClamping.Builder
extends java.lang.Object
TcpMssClamping
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
TcpMssClamping . |
Modifier and Type | Method and Description |
---|---|
TcpMssClamping |
build() |
TcpMssClamping.Builder |
setDirection(java.lang.String direction)
Possible values are:
TcpMssClamping.DIRECTION_NONE TcpMssClamping.DIRECTION_INBOUND_CONNECTION
TcpMssClamping.DIRECTION_OUTBOUND_CONNECTION
TcpMssClamping.DIRECTION_BOTH
Specifies the traffic direction for which to apply MSS Clamping. |
TcpMssClamping.Builder |
setMaxSegmentSize(java.lang.Long maxSegmentSize)
It defines the maximum amount of data that a host is willing to accept in a
single TCP segment.
|
public Builder()
TcpMssClamping
.public TcpMssClamping.Builder setDirection(java.lang.String direction)
direction
- New value for the property.public TcpMssClamping.Builder setMaxSegmentSize(java.lang.Long maxSegmentSize)
maxSegmentSize
- New value for the property.public TcpMssClamping build()