Package com.vmware.nsx_policy.model
Class TcpHeader.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.TcpHeader.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TcpHeader
build()
TcpHeader.Builder
setDstPort(java.lang.Long dstPort)
Destination port of tcp header format: int64TcpHeader.Builder
setSrcPort(java.lang.Long srcPort)
Source port of tcp header format: int64TcpHeader.Builder
setTcpFlags(java.lang.Long tcpFlags)
TCP flags (9bits) format: int64
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofTcpHeader
.
-
-
Method Detail
-
setDstPort
public TcpHeader.Builder setDstPort(java.lang.Long dstPort)
Destination port of tcp header format: int64- Parameters:
dstPort
- New value for the property.
-
setSrcPort
public TcpHeader.Builder setSrcPort(java.lang.Long srcPort)
Source port of tcp header format: int64- Parameters:
srcPort
- New value for the property.
-
setTcpFlags
public TcpHeader.Builder setTcpFlags(java.lang.Long tcpFlags)
TCP flags (9bits) format: int64- Parameters:
tcpFlags
- New value for the property.
-
build
public TcpHeader build()
-
-