org.jclouds.vcloud.domain.network.internal
Class OrgNetworkImpl

java.lang.Object
  extended by org.jclouds.vcloud.domain.internal.ReferenceTypeImpl
      extended by org.jclouds.vcloud.domain.network.internal.OrgNetworkImpl
All Implemented Interfaces:
Comparable<ReferenceType>, OrgNetwork, ReferenceType

public class OrgNetworkImpl
extends ReferenceTypeImpl
implements OrgNetwork

Author:
Adrian Cole

Nested Class Summary
static class OrgNetworkImpl.ConfigurationImpl
           
 
Nested classes/interfaces inherited from interface org.jclouds.vcloud.domain.network.OrgNetwork
OrgNetwork.Configuration
 
Constructor Summary
OrgNetworkImpl(String name, String type, URI id, ReferenceType org, String description, Iterable<Task> tasks, OrgNetwork.Configuration configuration, ReferenceType networkPool, Iterable<String> allowedExternalIpAddresses)
           
 
Method Summary
 boolean equals(Object obj)
           
 Set<String> getAllowedExternalIpAddresses()
          list of external IP addresses that this network can use for NAT.
 OrgNetwork.Configuration getConfiguration()
          
 String getDescription()
          optional description
 ReferenceType getNetworkPool()
          A reference the network pool from which this network is provisioned.
 ReferenceType getOrg()
          The org this network belongs to.
 List<Task> getTasks()
          read‐only container for Task elements.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class org.jclouds.vcloud.domain.internal.ReferenceTypeImpl
compareTo, getHref, getName, getType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jclouds.vcloud.domain.ReferenceType
getHref, getName, getType
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

OrgNetworkImpl

public OrgNetworkImpl(String name,
                      String type,
                      URI id,
                      @Nullable
                      ReferenceType org,
                      @Nullable
                      String description,
                      Iterable<Task> tasks,
                      OrgNetwork.Configuration configuration,
                      @Nullable
                      ReferenceType networkPool,
                      Iterable<String> allowedExternalIpAddresses)
Method Detail

getOrg

public ReferenceType getOrg()
The org this network belongs to.

Specified by:
getOrg in interface OrgNetwork

getDescription

public String getDescription()
optional description

Specified by:
getDescription in interface OrgNetwork

getTasks

public List<Task> getTasks()
read‐only container for Task elements. Each element in the container represents a queued, running, or failed task owned by this object.

Specified by:
getTasks in interface OrgNetwork

getConfiguration

public OrgNetwork.Configuration getConfiguration()

Specified by:
getConfiguration in interface OrgNetwork
Returns:
properties of the network

getNetworkPool

public ReferenceType getNetworkPool()
A reference the network pool from which this network is provisioned. This element, which is required when creating a NatRouted or Isolated network, is returned in response to a creation request but not shown in subsequent GET requests.

Specified by:
getNetworkPool in interface OrgNetwork

getAllowedExternalIpAddresses

public Set<String> getAllowedExternalIpAddresses()
list of external IP addresses that this network can use for NAT.

Specified by:
getAllowedExternalIpAddresses in interface OrgNetwork

hashCode

public int hashCode()
Overrides:
hashCode in class ReferenceTypeImpl

equals

public boolean equals(Object obj)
Overrides:
equals in class ReferenceTypeImpl

toString

public String toString()
Overrides:
toString in class ReferenceTypeImpl


Copyright © 2009-2011 jclouds. All Rights Reserved.