Package com.vmware.nsx_policy.model
Class TransportProtocolHeader.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.TransportProtocolHeader.Builder
-
- Enclosing class:
- TransportProtocolHeader
public static final class TransportProtocolHeader.Builder extends java.lang.Object
Builder class forTransportProtocolHeader
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofTransportProtocolHeader
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransportProtocolHeader
build()
TransportProtocolHeader.Builder
setDhcpHeader(DhcpHeader dhcpHeader)
TransportProtocolHeader.Builder
setDhcpv6Header(Dhcpv6Header dhcpv6Header)
TransportProtocolHeader.Builder
setDnsHeader(DnsHeader dnsHeader)
TransportProtocolHeader.Builder
setIcmpEchoRequestHeader(IcmpEchoRequestHeader icmpEchoRequestHeader)
TransportProtocolHeader.Builder
setNdpHeader(NdpHeader ndpHeader)
TransportProtocolHeader.Builder
setTcpHeader(TcpHeader tcpHeader)
TransportProtocolHeader.Builder
setUdpHeader(UdpHeader udpHeader)
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofTransportProtocolHeader
.
-
-
Method Detail
-
setDhcpHeader
public TransportProtocolHeader.Builder setDhcpHeader(DhcpHeader dhcpHeader)
- Parameters:
dhcpHeader
- New value for the property.
-
setDhcpv6Header
public TransportProtocolHeader.Builder setDhcpv6Header(Dhcpv6Header dhcpv6Header)
- Parameters:
dhcpv6Header
- New value for the property.
-
setDnsHeader
public TransportProtocolHeader.Builder setDnsHeader(DnsHeader dnsHeader)
- Parameters:
dnsHeader
- New value for the property.
-
setIcmpEchoRequestHeader
public TransportProtocolHeader.Builder setIcmpEchoRequestHeader(IcmpEchoRequestHeader icmpEchoRequestHeader)
- Parameters:
icmpEchoRequestHeader
- New value for the property.
-
setNdpHeader
public TransportProtocolHeader.Builder setNdpHeader(NdpHeader ndpHeader)
- Parameters:
ndpHeader
- New value for the property.
-
setTcpHeader
public TransportProtocolHeader.Builder setTcpHeader(TcpHeader tcpHeader)
- Parameters:
tcpHeader
- New value for the property.
-
setUdpHeader
public TransportProtocolHeader.Builder setUdpHeader(UdpHeader udpHeader)
- Parameters:
udpHeader
- New value for the property.
-
build
public TransportProtocolHeader build()
-
-