public abstract static class SubnetworkInfo.Builder extends Object
SubnetworkInfo objects.| Constructor and Description |
|---|
SubnetworkInfo.Builder() |
| Modifier and Type | Method and Description |
|---|---|
abstract SubnetworkInfo |
build()
Creates a
SubnetworkInfo object. |
abstract SubnetworkInfo.Builder |
description(String description)
Sets an optional textual description of the subnetwork.
|
abstract SubnetworkInfo.Builder |
ipRange(String ipRange)
Sets the range of internal IPv4 addresses that are owned by this subnetwork.
|
abstract SubnetworkInfo.Builder |
network(NetworkId network)
Sets the identity of the network to which this subnetwork belongs.
|
abstract SubnetworkInfo.Builder |
subnetworkId(SubnetworkId subnetworkId)
Sets the identity of the subnework.
|
public abstract SubnetworkInfo.Builder subnetworkId(SubnetworkId subnetworkId)
public abstract SubnetworkInfo.Builder description(String description)
public abstract SubnetworkInfo.Builder network(NetworkId network)
public abstract SubnetworkInfo.Builder ipRange(String ipRange)
192.168.0.0/16. Ranges must be unique and
non-overlapping within a network.public abstract SubnetworkInfo build()
SubnetworkInfo object.Copyright © 2016 Google. All rights reserved.