Package com.vmware.nsx_policy.model
Class TransportInfo.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.TransportInfo.Builder
-
- Enclosing class:
- TransportInfo
public static final class TransportInfo.Builder extends java.lang.ObjectBuilder class forTransportInfo.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofTransportInfo.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransportInfobuild()TransportInfo.BuildersetDstPort(java.lang.Long dstPort)Destination port format: int64TransportInfo.BuildersetProtocol(java.lang.String protocol)Possible values are:TransportInfo.PROTOCOL_TCPTransportInfo.PROTOCOL_UDPTransportInfo.PROTOCOL_ICMPV4TransportInfo.PROTOCOL_ICMPV6TransportInfo.PROTOCOL_ESPProtocol type over IP layerTransportInfo.BuildersetSpi(java.lang.Long spi)Security Parameter Index is to uniquely identify a particular IPSec Security Association format: int64TransportInfo.BuildersetSrcPort(java.lang.Long srcPort)Source port format: int64
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofTransportInfo.
-
-
Method Detail
-
setDstPort
public TransportInfo.Builder setDstPort(java.lang.Long dstPort)
Destination port format: int64- Parameters:
dstPort- New value for the property.
-
setProtocol
public TransportInfo.Builder setProtocol(java.lang.String protocol)
Possible values are: Protocol type over IP layer- Parameters:
protocol- New value for the property.
-
setSpi
public TransportInfo.Builder setSpi(java.lang.Long spi)
Security Parameter Index is to uniquely identify a particular IPSec Security Association format: int64- Parameters:
spi- New value for the property.
-
setSrcPort
public TransportInfo.Builder setSrcPort(java.lang.Long srcPort)
Source port format: int64- Parameters:
srcPort- New value for the property.
-
build
public TransportInfo build()
-
-