public static final class NetworkInterface.AccessConfig.Builder extends Object
Modifier and Type | Method and Description |
---|---|
NetworkInterface.AccessConfig |
build()
Creates an
AccessConfig object. |
NetworkInterface.AccessConfig.Builder |
setName(String name)
Sets the name of the access configuration.
|
NetworkInterface.AccessConfig.Builder |
setNatIp(String natIp)
Sets an external IP address associated with this instance.
|
NetworkInterface.AccessConfig.Builder |
setType(NetworkInterface.AccessConfig.Type type)
Sets the type of the access configuration.
|
public NetworkInterface.AccessConfig.Builder setName(String name)
public NetworkInterface.AccessConfig.Builder setNatIp(String natIp)
public NetworkInterface.AccessConfig.Builder setType(NetworkInterface.AccessConfig.Type type)
NetworkInterface.AccessConfig.Type.ONE_TO_ONE_NAT
.public NetworkInterface.AccessConfig build()
AccessConfig
object.Copyright © 2019 Google LLC. All rights reserved.