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