Package org.pcap4j.packet
Class IpV6NeighborDiscoverySourceLinkLayerAddressOption.Builder
- java.lang.Object
-
- org.pcap4j.packet.IpV6NeighborDiscoverySourceLinkLayerAddressOption.Builder
-
- All Implemented Interfaces:
LengthBuilder<IpV6NeighborDiscoverySourceLinkLayerAddressOption>
- Enclosing class:
- IpV6NeighborDiscoverySourceLinkLayerAddressOption
public static final class IpV6NeighborDiscoverySourceLinkLayerAddressOption.Builder extends java.lang.Object implements LengthBuilder<IpV6NeighborDiscoverySourceLinkLayerAddressOption>
- Since:
- pcap4j 0.9.15
- Author:
- Kaito Yamada
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description IpV6NeighborDiscoverySourceLinkLayerAddressOption
build()
IpV6NeighborDiscoverySourceLinkLayerAddressOption.Builder
correctLengthAtBuild(boolean correctLengthAtBuild)
IpV6NeighborDiscoverySourceLinkLayerAddressOption.Builder
length(byte length)
IpV6NeighborDiscoverySourceLinkLayerAddressOption.Builder
linkLayerAddress(byte[] linkLayerAddress)
-
-
-
Method Detail
-
length
public IpV6NeighborDiscoverySourceLinkLayerAddressOption.Builder length(byte length)
- Parameters:
length
- length- Returns:
- this Builder object for method chaining.
-
linkLayerAddress
public IpV6NeighborDiscoverySourceLinkLayerAddressOption.Builder linkLayerAddress(byte[] linkLayerAddress)
- Parameters:
linkLayerAddress
- linkLayerAddress- Returns:
- this Builder object for method chaining.
-
correctLengthAtBuild
public IpV6NeighborDiscoverySourceLinkLayerAddressOption.Builder correctLengthAtBuild(boolean correctLengthAtBuild)
- Specified by:
correctLengthAtBuild
in interfaceLengthBuilder<IpV6NeighborDiscoverySourceLinkLayerAddressOption>
- Parameters:
correctLengthAtBuild
- correctLengthAtBuild- Returns:
- LengthBuilder
-
build
public IpV6NeighborDiscoverySourceLinkLayerAddressOption build()
- Specified by:
build
in interfaceLengthBuilder<IpV6NeighborDiscoverySourceLinkLayerAddressOption>
- Returns:
- a new object.
-
-