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