public final class IpAssignment extends Object
Modifier and Type | Class and Description |
---|---|
static class |
IpAssignment.AssignmentStatus |
static class |
IpAssignment.Builder
IPAssignment Builder.
|
Modifier and Type | Method and Description |
---|---|
IpAssignment.AssignmentStatus |
assignmentStatus()
Returns the assignment status of the IP assignment.
|
Ip4Address |
broadcast()
Returns broadcast address of the IP assignment.
|
static IpAssignment.Builder |
builder()
Creates and returns a new builder instance.
|
static IpAssignment.Builder |
builder(IpAssignment assignment)
Creates and returns a new builder instance that clones an existing IPAssignment.
|
Ip4Address |
dhcpServer()
Returns dhcp server of the IP assignment.
|
Ip4Address |
domainServer()
Returns domain server address.
|
Ip4Address |
ipAddress()
Returns the IP Address of the IP assignment.
|
int |
leasePeriod()
Returns the lease period of the IP assignment.
|
int |
leasePeriodMs()
Returns the lease period of the IP assignment.
|
Ip4Address |
routerAddress()
Returns router address of the IP assignment.
|
Ip4Address |
subnetMask()
Returns subnet mask of the IP assignment.
|
Date |
timestamp()
Returns the timestamp of the IP assignment.
|
String |
toString() |
public Ip4Address ipAddress()
public Date timestamp()
public IpAssignment.AssignmentStatus assignmentStatus()
public int leasePeriod()
public int leasePeriodMs()
public Ip4Address subnetMask()
public Ip4Address broadcast()
public Ip4Address dhcpServer()
public Ip4Address routerAddress()
public Ip4Address domainServer()
public static IpAssignment.Builder builder()
public static IpAssignment.Builder builder(IpAssignment assignment)
assignment
- ip address assignment