org.jclouds.trmk.vcloud_0_8.domain.internal
Class NetworkImpl
java.lang.Object
org.jclouds.trmk.vcloud_0_8.domain.internal.ReferenceTypeImpl
org.jclouds.trmk.vcloud_0_8.domain.internal.NetworkImpl
- All Implemented Interfaces:
- Comparable<ReferenceType>, Network, ReferenceType
public class NetworkImpl
- extends ReferenceTypeImpl
- implements Network
Locations of resources in vCloud
- Author:
- Adrian Cole
description
protected final String description
gateway
protected final String gateway
netmask
protected final String netmask
fenceMode
protected final FenceMode fenceMode
networkExtension
protected final ReferenceType networkExtension
ips
protected final ReferenceType ips
NetworkImpl
public NetworkImpl(String name,
String type,
URI id,
String description,
String gateway,
String netmask,
FenceMode fenceMode,
ReferenceType networkExtension,
ReferenceType ips)
getDescription
public String getDescription()
-
- Specified by:
getDescription
in interface Network
- Returns:
- Description of the network
getGateway
public String getGateway()
-
- Specified by:
getGateway
in interface Network
- Returns:
- The IP address of the network primary gateway
getNetmask
public String getNetmask()
- *
- Specified by:
getNetmask
in interface Network
- Returns:
- the network subnet mask
getFenceMode
public FenceMode getFenceMode()
- return the network fence mode.
- Specified by:
getFenceMode
in interface Network
getIps
public ReferenceType getIps()
-
- Specified by:
getIps
in interface Network
getNetworkExtension
public ReferenceType getNetworkExtension()
-
- Specified by:
getNetworkExtension
in interface Network
compareTo
public int compareTo(ReferenceType o)
-
- Specified by:
compareTo
in interface Comparable<ReferenceType>
- Overrides:
compareTo
in class ReferenceTypeImpl
Copyright © 2009-2011 jclouds. All Rights Reserved.