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 Object
IPAssignment Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IpAssignment.Builder
assignmentStatus(IpAssignment.AssignmentStatus status)
IpAssignment.Builder
broadcast(Ip4Address broadcast)
IpAssignment
build()
IpAssignment.Builder
dhcpServer(Ip4Address dhcpServer)
IpAssignment.Builder
domainServer(Ip4Address domainServer)
IpAssignment.Builder
ipAddress(Ip4Address addr)
IpAssignment.Builder
leasePeriod(int leasePeriodinSeconds)
IpAssignment.Builder
routerAddress(Ip4Address routerAddress)
IpAssignment.Builder
subnetMask(Ip4Address subnetMask)
IpAssignment.Builder
timestamp(Date timestamp)
-
-
-
Method Detail
-
build
public IpAssignment build()
-
ipAddress
public IpAssignment.Builder ipAddress(Ip4Address addr)
-
timestamp
public IpAssignment.Builder timestamp(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)
-
-