public abstract static class NetworkInfo.Builder extends Object
NetworkInfo
objects.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
abstract NetworkInfo |
build()
Creates a
NetworkInfo object. |
abstract NetworkInfo.Builder |
setConfiguration(NetworkConfiguration configuration)
Sets the network configuration.
|
abstract NetworkInfo.Builder |
setDescription(String description)
Sets an optional textual description of the network.
|
abstract NetworkInfo.Builder |
setNetworkId(NetworkId networkId)
Sets the identity of the network.
|
public abstract NetworkInfo.Builder setNetworkId(NetworkId networkId)
public abstract NetworkInfo.Builder setDescription(String description)
public abstract NetworkInfo.Builder setConfiguration(NetworkConfiguration configuration)
StandardNetworkConfiguration
to create a standard
network with associated IPv4 range. Use SubnetNetworkConfiguration
to create a
network that could be divided into subnetworks, up to one per region, each with its own
address range.public abstract NetworkInfo build()
NetworkInfo
object.Copyright © 2019 Google LLC. All rights reserved.