public static final class LogicalNetwork.Builder
extends java.lang.Object
LogicalNetwork
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
LogicalNetwork . |
Modifier and Type | Method and Description |
---|---|
LogicalNetwork |
build() |
LogicalNetwork.Builder |
setDhcpEnabled(java.lang.String dhcpEnabled)
if 'true' - enabled; if 'false' - disabled
|
LogicalNetwork.Builder |
setDhcpIpRange(java.lang.String dhcpIpRange)
ip range within the subnet mask, range delimiter is '-' (example
10.118.10.130-10.118.10.140)
|
LogicalNetwork.Builder |
setGatewayIp(java.lang.String gatewayIp)
gateway ip of the logical network
|
LogicalNetwork.Builder |
setId(java.lang.String id) |
LogicalNetwork.Builder |
setName(java.lang.String name)
name of the network
|
LogicalNetwork.Builder |
setNetworkType(java.lang.String networkType)
|
LogicalNetwork.Builder |
setSubnetCidr(java.lang.String subnetCidr)
the subnet cidr
|
LogicalNetwork.Builder |
setTunnelId(java.lang.Long tunnelId)
tunnel id of extended network format: int32
|
public Builder()
LogicalNetwork
.public LogicalNetwork.Builder setSubnetCidr(java.lang.String subnetCidr)
subnetCidr
- New value for the property.public LogicalNetwork.Builder setName(java.lang.String name)
name
- New value for the property.public LogicalNetwork.Builder setGatewayIp(java.lang.String gatewayIp)
gatewayIp
- New value for the property.public LogicalNetwork.Builder setDhcpEnabled(java.lang.String dhcpEnabled)
dhcpEnabled
- New value for the property.public LogicalNetwork.Builder setDhcpIpRange(java.lang.String dhcpIpRange)
dhcpIpRange
- New value for the property.public LogicalNetwork.Builder setTunnelId(java.lang.Long tunnelId)
tunnelId
- New value for the property.public LogicalNetwork.Builder setId(java.lang.String id)
id
- New value for the property.public LogicalNetwork.Builder setNetworkType(java.lang.String networkType)
networkType
- New value for the property.public LogicalNetwork build()