org.jclouds.vcloud.domain
Class NetworkConnectionSection
java.lang.Object
org.jclouds.vcloud.domain.NetworkConnectionSection
public class NetworkConnectionSection
- extends Object
The NetworkConnectionSection element specifies how a Vm is connected to a vApp network. It
extends the ovf:NetworkConnection element.
NOTE The OVF NetworkSection element and the vCloud API NetworkConnectionSection element specify
many of the same parameters for a network connection. If both are present in a Vm body, the
values specified in the NetworkConnectionSection override those specified in the NetworkSection.
type
protected final String type
href
protected final URI href
info
protected final String info
primaryNetworkConnectionIndex
protected final Integer primaryNetworkConnectionIndex
connections
protected final Set<NetworkConnection> connections
edit
protected final ReferenceType edit
NetworkConnectionSection
public NetworkConnectionSection(String type,
URI href,
String info,
Integer primaryNetworkConnectionIndex,
Iterable<NetworkConnection> connections,
ReferenceType edit)
builder
public static NetworkConnectionSection.Builder builder()
getType
public String getType()
- Returns:
- media type of this section
getHref
public URI getHref()
- Returns:
- URL to access this section
getInfo
public String getInfo()
- Returns:
getPrimaryNetworkConnectionIndex
public Integer getPrimaryNetworkConnectionIndex()
- Returns:
- The value of the rasd:AddressOnParent element of the device (NIC) supporting the
primary network connection to the containing virtual machine.
getConnections
public Set<NetworkConnection> getConnections()
getEdit
public ReferenceType getEdit()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toBuilder
public NetworkConnectionSection.Builder toBuilder()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2012 jclouds. All Rights Reserved.