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


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
 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.
 com.google.common.base.Objects.ToStringHelper string()
           
 
Methods inherited from class org.jclouds.vcloud.domain.internal.ReferenceTypeImpl
compareTo, equals, getHref, getName, getType, hashCode, toString
 
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

string

public com.google.common.base.Objects.ToStringHelper string()
Overrides:
string in class ReferenceTypeImpl


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.