| Package | Description |
|---|---|
| com.google.cloud.compute |
A client to Google Cloud Compute.
|
| Modifier and Type | Method and Description |
|---|---|
NetworkInterface.AccessConfig |
NetworkInterface.AccessConfig.Builder.build()
Creates an
AccessConfig object. |
static NetworkInterface.AccessConfig |
NetworkInterface.AccessConfig.of()
Returns an
AccessConfig object. |
static NetworkInterface.AccessConfig |
NetworkInterface.AccessConfig.of(String natIp)
Returns an
AccessConfig object given the static external IP address. |
| Modifier and Type | Method and Description |
|---|---|
List<NetworkInterface.AccessConfig> |
NetworkInterface.accessConfigurations()
Returns a list of access configurations for the network interface.
|
| Modifier and Type | Method and Description |
|---|---|
NetworkInterface.Builder |
NetworkInterface.Builder.accessConfigurations(NetworkInterface.AccessConfig... accessConfigurations)
Sets a list of access configurations for the network interface.
|
Operation |
Compute.addAccessConfig(InstanceId instance,
String networkInterface,
NetworkInterface.AccessConfig accessConfig,
Compute.OperationOption... options)
Adds an access configuration to an instance's network interface.
|
Operation |
Instance.addAccessConfig(String networkInterface,
NetworkInterface.AccessConfig accessConfig,
Compute.OperationOption... options)
Adds an access configuration to the provided network interface for this instance.
|
| Modifier and Type | Method and Description |
|---|---|
NetworkInterface.Builder |
NetworkInterface.Builder.accessConfigurations(List<NetworkInterface.AccessConfig> accessConfigurations)
Sets a list of access configurations for the network interface.
|
Copyright © 2016 Google. All rights reserved.