Package org.onosproject.dhcp
Class IpAssignment.Builder
- java.lang.Object
-
- org.onosproject.dhcp.IpAssignment.Builder
-
- Enclosing class:
- IpAssignment
public static final class IpAssignment.Builder extends java.lang.ObjectIPAssignment Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IpAssignment.BuilderassignmentStatus(IpAssignment.AssignmentStatus status)IpAssignment.Builderbroadcast(Ip4Address broadcast)IpAssignmentbuild()IpAssignment.BuilderdhcpServer(Ip4Address dhcpServer)IpAssignment.BuilderdomainServer(Ip4Address domainServer)IpAssignment.BuilderipAddress(Ip4Address addr)IpAssignment.BuilderleasePeriod(int leasePeriodinSeconds)IpAssignment.BuilderrouterAddress(Ip4Address routerAddress)IpAssignment.BuildersubnetMask(Ip4Address subnetMask)IpAssignment.Buildertimestamp(java.util.Date timestamp)
-
-
-
Method Detail
-
build
public IpAssignment build()
-
ipAddress
public IpAssignment.Builder ipAddress(Ip4Address addr)
-
timestamp
public IpAssignment.Builder timestamp(java.util.Date timestamp)
-
leasePeriod
public IpAssignment.Builder leasePeriod(int leasePeriodinSeconds)
-
assignmentStatus
public IpAssignment.Builder assignmentStatus(IpAssignment.AssignmentStatus status)
-
subnetMask
public IpAssignment.Builder subnetMask(Ip4Address subnetMask)
-
broadcast
public IpAssignment.Builder broadcast(Ip4Address broadcast)
-
dhcpServer
public IpAssignment.Builder dhcpServer(Ip4Address dhcpServer)
-
domainServer
public IpAssignment.Builder domainServer(Ip4Address domainServer)
-
routerAddress
public IpAssignment.Builder routerAddress(Ip4Address routerAddress)
-
-