public class AddVirtualNetworkRequest
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
AddVirtualNetworkRequest.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
AddVirtualNetworkRequest() |
AddVirtualNetworkRequest(java.lang.Long virtualNetworkTag,
java.lang.String name,
AddressBlockParams[] addressBlocks,
java.lang.String netmask,
java.lang.String svip,
Optional<Attributes> attributes) |
AddVirtualNetworkRequest(java.lang.Long virtualNetworkTag,
java.lang.String name,
AddressBlockParams[] addressBlocks,
java.lang.String netmask,
java.lang.String svip,
Optional<java.lang.String> gateway,
Optional<java.lang.Boolean> namespace,
Optional<Attributes> attributes) |
Modifier and Type | Method and Description |
---|---|
AddVirtualNetworkRequest.Builder |
asBuilder() |
static AddVirtualNetworkRequest.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
AddressBlockParams[] |
getAddressBlocks()
Unique range of IP addresses to include in the virtual network.
|
Optional<Attributes> |
getAttributes()
List of name-value pairs in JSON object format.
|
Optional<java.lang.String> |
getGateway()
The IP address of a gateway of the virtual network.
|
java.lang.String |
getName()
A user-defined name for the new virtual network.
|
Optional<java.lang.Boolean> |
getNamespace()
When set to true, enables the Routable Storage VLANs functionality by recreating the virtual network and configuring a namespace to contain it.
|
java.lang.String |
getNetmask()
Unique network mask for the virtual network being created.
|
java.lang.String |
getSvip()
Unique storage IP address for the virtual network being created.
|
java.lang.Long |
getVirtualNetworkTag()
A unique virtual network (VLAN) tag.
|
int |
hashCode() |
void |
setAddressBlocks(AddressBlockParams[] addressBlocks) |
void |
setAttributes(Optional<Attributes> attributes) |
void |
setGateway(Optional<java.lang.String> gateway) |
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 |
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 AddVirtualNetworkRequest(java.lang.Long virtualNetworkTag, java.lang.String name, AddressBlockParams[] addressBlocks, java.lang.String netmask, java.lang.String svip, Optional<Attributes> attributes)
@Since(value="9.0") public AddVirtualNetworkRequest(java.lang.Long virtualNetworkTag, java.lang.String name, AddressBlockParams[] addressBlocks, java.lang.String netmask, java.lang.String svip, Optional<java.lang.String> gateway, Optional<java.lang.Boolean> namespace, Optional<Attributes> attributes)
public java.lang.Long getVirtualNetworkTag()
public void setVirtualNetworkTag(java.lang.Long virtualNetworkTag)
public java.lang.String getName()
public void setName(java.lang.String name)
public AddressBlockParams[] getAddressBlocks()
public void setAddressBlocks(AddressBlockParams[] addressBlocks)
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 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 AddVirtualNetworkRequest.Builder builder()
public final AddVirtualNetworkRequest.Builder asBuilder()