public static final class NetworkInterface.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
NetworkInterface.Builder |
accessConfigurations(List<NetworkInterface.AccessConfig> accessConfigurations)
Sets a list of access configurations for the network interface.
|
NetworkInterface.Builder |
accessConfigurations(NetworkInterface.AccessConfig... accessConfigurations)
Sets a list of access configurations for the network interface.
|
NetworkInterface |
build()
Creates a
NetworkInterface object. |
NetworkInterface.Builder |
network(NetworkId network)
Sets the identity of the network this interface applies to.
|
NetworkInterface.Builder |
subnetwork(SubnetworkId subnetwork)
Sets the identity of the subnetwork this interface applies to.
|
public NetworkInterface.Builder network(NetworkId network)
public NetworkInterface.Builder subnetwork(SubnetworkId subnetwork)
public NetworkInterface.Builder accessConfigurations(List<NetworkInterface.AccessConfig> accessConfigurations)
public NetworkInterface.Builder accessConfigurations(NetworkInterface.AccessConfig... accessConfigurations)
public NetworkInterface build()
NetworkInterface object.Copyright © 2016 Google. All rights reserved.