public class VirtualNetwork
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
VirtualNetwork.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
VirtualNetwork() |
VirtualNetwork(java.lang.Long virtualNetworkID,
java.lang.Long virtualNetworkTag,
AddressBlock[] addressBlocks,
java.lang.String name,
java.lang.String netmask,
java.lang.String svip,
Optional<java.lang.String> gateway,
Optional<java.lang.Boolean> namespace,
Optional<Attributes> attributes) |
VirtualNetwork(java.lang.Long virtualNetworkID,
java.lang.Long virtualNetworkTag,
AddressBlock[] addressBlocks,
java.lang.String name,
java.lang.String netmask,
java.lang.String svip,
Optional<java.lang.String> gateway,
Optional<java.lang.Boolean> namespace,
Optional<Attributes> attributes,
java.lang.Long[] initiatorIDs) |
Modifier and Type | Method and Description |
---|---|
VirtualNetwork.Builder |
asBuilder() |
static VirtualNetwork.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
AddressBlock[] |
getAddressBlocks()
Range of address blocks currently assigned to the virtual network.
|
Optional<Attributes> |
getAttributes()
List of Name/Value pairs in JSON object format.
|
Optional<java.lang.String> |
getGateway() |
java.lang.Long[] |
getInitiatorIDs()
The list of numeric IDs of the initiators associated with this VirtualNetwork.
|
java.lang.String |
getName()
The name assigned to the virtual network.
|
Optional<java.lang.Boolean> |
getNamespace() |
java.lang.String |
getNetmask()
IP address of the netmask for the virtual network.
|
java.lang.String |
getSvip()
Storage IP address for the virtual network.
|
java.lang.Long |
getVirtualNetworkID()
SolidFire unique identifier for a virtual network.
|
java.lang.Long |
getVirtualNetworkTag()
VLAN Tag identifier.
|
int |
hashCode() |
void |
setAddressBlocks(AddressBlock[] addressBlocks) |
void |
setAttributes(Optional<Attributes> attributes) |
void |
setGateway(Optional<java.lang.String> gateway) |
void |
setInitiatorIDs(java.lang.Long[] initiatorIDs) |
void |
setName(java.lang.String name) |
void |
setNamespace(Optional<java.lang.Boolean> namespace) |
void |
setNetmask(java.lang.String netmask) |
void |
setSvip(java.lang.String svip) |
void |
setVirtualNetworkID(java.lang.Long virtualNetworkID) |
void |
setVirtualNetworkTag(java.lang.Long virtualNetworkTag) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public VirtualNetwork(java.lang.Long virtualNetworkID, java.lang.Long virtualNetworkTag, AddressBlock[] addressBlocks, java.lang.String name, java.lang.String netmask, java.lang.String svip, Optional<java.lang.String> gateway, Optional<java.lang.Boolean> namespace, Optional<Attributes> attributes)
@Since(value="12.0") public VirtualNetwork(java.lang.Long virtualNetworkID, java.lang.Long virtualNetworkTag, AddressBlock[] addressBlocks, java.lang.String name, java.lang.String netmask, java.lang.String svip, Optional<java.lang.String> gateway, Optional<java.lang.Boolean> namespace, Optional<Attributes> attributes, java.lang.Long[] initiatorIDs)
public java.lang.Long getVirtualNetworkID()
public void setVirtualNetworkID(java.lang.Long virtualNetworkID)
public java.lang.Long getVirtualNetworkTag()
public void setVirtualNetworkTag(java.lang.Long virtualNetworkTag)
public AddressBlock[] getAddressBlocks()
public void setAddressBlocks(AddressBlock[] addressBlocks)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getNetmask()
public void setNetmask(java.lang.String netmask)
public java.lang.String getSvip()
public void setSvip(java.lang.String svip)
public Optional<java.lang.String> getGateway()
public void setGateway(Optional<java.lang.String> gateway)
public Optional<java.lang.Boolean> getNamespace()
public void setNamespace(Optional<java.lang.Boolean> namespace)
public Optional<Attributes> getAttributes()
public void setAttributes(Optional<Attributes> attributes)
public java.lang.Long[] getInitiatorIDs()
public void setInitiatorIDs(java.lang.Long[] initiatorIDs)
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 VirtualNetwork.Builder builder()
public final VirtualNetwork.Builder asBuilder()