org.jclouds.vcloud.domain.network.internal
Class OrgNetworkImpl
java.lang.Object
org.jclouds.vcloud.domain.internal.ReferenceTypeImpl
org.jclouds.vcloud.domain.network.internal.OrgNetworkImpl
- All Implemented Interfaces:
- Comparable<ReferenceType>, OrgNetwork, ReferenceType
public class OrgNetworkImpl
- extends ReferenceTypeImpl
- implements OrgNetwork
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)
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.