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 classNetwork.NetworkType
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract booleanautoCreateSubnetworks()static Networkcreate(String id, Date creationTimestamp, URI selfLink, String name, String description, String rangeIPv4, String gatewayIPv4, boolean autoCreateSubnetworks, List<URI> subnetworks)abstract DatecreationTimestamp()abstract Stringdescription()abstract StringgatewayIPv4()This must be within the range specified by IPv4Range, and is typically the first usable address in that range.abstract Stringid()abstract Stringname()abstract StringrangeIPv4()The range of internal addresses that are legal on this network.abstract URIselfLink()abstract List<URI>subnetworks()Network.NetworkTypetype()
-
-
-
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()
-
-