public class SubnetNetworkConfiguration extends NetworkConfiguration
autoCreateSubnetworks()
.NetworkConfiguration.Type
Modifier and Type | Method and Description |
---|---|
Boolean |
autoCreateSubnetworks()
Returns whether the subnetworks should be automatically created.
|
boolean |
equals(Object obj) |
List<SubnetworkId> |
getSubnetworks()
Returns the identities of all networks in this network.
|
int |
hashCode() |
static SubnetNetworkConfiguration |
of(boolean autoCreateSubnetworks)
Returns a
SubnetNetworkConfiguration object. |
getType, toString
public Boolean autoCreateSubnetworks()
true
, the
network is created in "auto subnet mode". When set to false
, the network is in "custom
subnet mode". In "auto subnet mode", a subnetwork per region is automatically created. In
"custom subnet mode", a custom topology of subnetworks can be created by the user.public List<SubnetworkId> getSubnetworks()
public static SubnetNetworkConfiguration of(boolean autoCreateSubnetworks)
SubnetNetworkConfiguration
object. The autoCreateSubnetworks
parameter sets whether subnetworks should be automatically created. When set to true
,
the network is created in "auto subnet mode". When set to false
, the network is in
"custom subnet mode". In "auto subnet mode", a subnetwork per region is automatically created.
In "custom subnet mode", a custom topology of subnetworks can be created by the user.Copyright © 2019 Google LLC. All rights reserved.