| Package | Description |
|---|---|
| com.google.cloud.compute |
A client to Google Cloud Compute.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
Subnetwork.Builder
A builder for
Subnetwork objects. |
| Modifier and Type | Method and Description |
|---|---|
static SubnetworkInfo.Builder |
SubnetworkInfo.builder(SubnetworkId subnetworkId,
NetworkId network,
String ipRange)
Returns a builder for a
SubnetworkInfo object given the identity of the subnetwork, the
identity of the network this subnetwork belongs to and the range of IPv4 addresses owned by
this subnetwork. |
abstract SubnetworkInfo.Builder |
SubnetworkInfo.Builder.description(String description)
Sets an optional textual description of the subnetwork.
|
abstract SubnetworkInfo.Builder |
SubnetworkInfo.Builder.ipRange(String ipRange)
Sets the range of internal IPv4 addresses that are owned by this subnetwork.
|
abstract SubnetworkInfo.Builder |
SubnetworkInfo.Builder.network(NetworkId network)
Sets the identity of the network to which this subnetwork belongs.
|
abstract SubnetworkInfo.Builder |
SubnetworkInfo.Builder.subnetworkId(SubnetworkId subnetworkId)
Sets the identity of the subnework.
|
SubnetworkInfo.Builder |
SubnetworkInfo.toBuilder()
Returns a builder for the current subnetwork.
|
Copyright © 2016 Google. All rights reserved.