public class AddressBlock
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
AddressBlock.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
AddressBlock() |
AddressBlock(java.lang.String start,
java.lang.Long size,
java.lang.String available) |
Modifier and Type | Method and Description |
---|---|
AddressBlock.Builder |
asBuilder() |
static AddressBlock.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getAvailable()
Nuber of available blocks
|
java.lang.Long |
getSize()
Number of IP addresses to include in the block.
|
java.lang.String |
getStart()
Start of the IP address range.
|
int |
hashCode() |
void |
setAvailable(java.lang.String available) |
void |
setSize(java.lang.Long size) |
void |
setStart(java.lang.String start) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
public java.lang.String getStart()
public void setStart(java.lang.String start)
public java.lang.Long getSize()
public void setSize(java.lang.Long size)
public java.lang.String getAvailable()
public void setAvailable(java.lang.String available)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.util.Map<java.lang.String,java.lang.Object> toMap()
public java.lang.String toString()
toString
in class java.lang.Object
public static AddressBlock.Builder builder()
public final AddressBlock.Builder asBuilder()