Module org.pcap4j.core
Package org.pcap4j.packet
Class IpV6NeighborDiscoveryTargetLinkLayerAddressOption.Builder
- java.lang.Object
-
- org.pcap4j.packet.IpV6NeighborDiscoveryTargetLinkLayerAddressOption.Builder
-
- All Implemented Interfaces:
LengthBuilder<IpV6NeighborDiscoveryTargetLinkLayerAddressOption>
- Enclosing class:
- IpV6NeighborDiscoveryTargetLinkLayerAddressOption
public static final class IpV6NeighborDiscoveryTargetLinkLayerAddressOption.Builder extends java.lang.Object implements LengthBuilder<IpV6NeighborDiscoveryTargetLinkLayerAddressOption>
- Since:
- pcap4j 0.9.15
-
-
Field Summary
Fields Modifier and Type Field Description private booleancorrectLengthAtBuildprivate bytelengthprivate byte[]linkLayerAddress
-
Constructor Summary
Constructors Modifier Constructor Description Builder()privateBuilder(IpV6NeighborDiscoveryTargetLinkLayerAddressOption option)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IpV6NeighborDiscoveryTargetLinkLayerAddressOptionbuild()IpV6NeighborDiscoveryTargetLinkLayerAddressOption.BuildercorrectLengthAtBuild(boolean correctLengthAtBuild)IpV6NeighborDiscoveryTargetLinkLayerAddressOption.Builderlength(byte length)IpV6NeighborDiscoveryTargetLinkLayerAddressOption.BuilderlinkLayerAddress(byte[] linkLayerAddress)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
private Builder(IpV6NeighborDiscoveryTargetLinkLayerAddressOption option)
-
-
Method Detail
-
length
public IpV6NeighborDiscoveryTargetLinkLayerAddressOption.Builder length(byte length)
- Parameters:
length- length- Returns:
- this Builder object for method chaining.
-
linkLayerAddress
public IpV6NeighborDiscoveryTargetLinkLayerAddressOption.Builder linkLayerAddress(byte[] linkLayerAddress)
- Parameters:
linkLayerAddress- linkLayerAddress- Returns:
- this Builder object for method chaining.
-
correctLengthAtBuild
public IpV6NeighborDiscoveryTargetLinkLayerAddressOption.Builder correctLengthAtBuild(boolean correctLengthAtBuild)
- Specified by:
correctLengthAtBuildin interfaceLengthBuilder<IpV6NeighborDiscoveryTargetLinkLayerAddressOption>- Parameters:
correctLengthAtBuild- correctLengthAtBuild- Returns:
- LengthBuilder
-
build
public IpV6NeighborDiscoveryTargetLinkLayerAddressOption build()
- Specified by:
buildin interfaceLengthBuilder<IpV6NeighborDiscoveryTargetLinkLayerAddressOption>- Returns:
- a new object.
-
-