Class Network
- java.lang.Object
-
- org.jclouds.googlecomputeengine.domain.Network
-
public abstract class Network extends Object
Represents a network used to enable instance communication.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Network.NetworkType
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract boolean
autoCreateSubnetworks()
static Network
create(String id, Date creationTimestamp, URI selfLink, String name, String description, String rangeIPv4, String gatewayIPv4, boolean autoCreateSubnetworks, List<URI> subnetworks)
abstract Date
creationTimestamp()
abstract String
description()
abstract String
gatewayIPv4()
This must be within the range specified by IPv4Range, and is typically the first usable address in that range.abstract String
id()
abstract String
name()
abstract String
rangeIPv4()
The range of internal addresses that are legal on this network.abstract URI
selfLink()
abstract List<URI>
subnetworks()
Network.NetworkType
type()
-
-
-
Method Detail
-
id
public abstract String id()
-
creationTimestamp
public abstract Date creationTimestamp()
-
selfLink
public abstract URI selfLink()
-
name
public abstract String name()
-
rangeIPv4
@Nullable public abstract String rangeIPv4()
The range of internal addresses that are legal on this network. This range is a CIDR specification, for example:192.168.0.0/16
.
-
gatewayIPv4
@Nullable public abstract String gatewayIPv4()
This must be within the range specified by IPv4Range, and is typically the first usable address in that range. If not specified, the default value is the first usable address in IPv4Range.
-
autoCreateSubnetworks
public abstract boolean autoCreateSubnetworks()
-
create
public static Network create(String id, Date creationTimestamp, URI selfLink, String name, String description, String rangeIPv4, String gatewayIPv4, boolean autoCreateSubnetworks, List<URI> subnetworks)
-
type
public Network.NetworkType type()
-
-