public abstract static class SubnetworkInfo.Builder extends Object
SubnetworkInfo
objects.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
abstract SubnetworkInfo |
build()
Creates a
SubnetworkInfo object. |
abstract SubnetworkInfo.Builder |
setDescription(String description)
Sets an optional textual description of the subnetwork.
|
abstract SubnetworkInfo.Builder |
setIpRange(String ipRange)
Sets the range of internal IPv4 addresses that are owned by this subnetwork.
|
abstract SubnetworkInfo.Builder |
setNetwork(NetworkId network)
Sets the identity of the network to which this subnetwork belongs.
|
abstract SubnetworkInfo.Builder |
setSubnetworkId(SubnetworkId subnetworkId)
Sets the identity of the subnework.
|
public abstract SubnetworkInfo.Builder setSubnetworkId(SubnetworkId subnetworkId)
public abstract SubnetworkInfo.Builder setDescription(String description)
public abstract SubnetworkInfo.Builder setNetwork(NetworkId network)
public abstract SubnetworkInfo.Builder setIpRange(String ipRange)
192.168.0.0/16
. Ranges must be unique and
non-overlapping within a network.public abstract SubnetworkInfo build()
SubnetworkInfo
object.Copyright © 2019 Google LLC. All rights reserved.