org.jclouds.vcloud.director.v1_5.domain.network
Class NetworkConnection

java.lang.Object
  extended by org.jclouds.vcloud.director.v1_5.domain.network.NetworkConnection

public class NetworkConnection
extends Object

Represents a network connection.

 <complexType name="NetworkConnection">
   <complexContent>
     <extension base="{http://www.vmware.com/vcloud/v1.5}VCloudExtensibleType">
       <sequence>
         <element name="NetworkConnectionIndex" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="IpAddress" type="{http://www.vmware.com/vcloud/v1.5}IpAddressType" minOccurs="0"/>
         <element name="ExternalIpAddress" type="{http://www.vmware.com/vcloud/v1.5}IpAddressType" minOccurs="0"/>
         <element name="IsConnected" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="MACAddress" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="IpAddressAllocationMode" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </sequence>
       <attribute name="network" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="needsCustomization" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <anyAttribute processContents='lax' namespace='##other'/>
     </extension>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class NetworkConnection.Builder
           
static class NetworkConnection.IpAddressAllocationMode
           
 
Field Summary
protected  String externalIpAddress
           
protected  String ipAddress
           
protected  NetworkConnection.IpAddressAllocationMode ipAddressAllocationMode
           
protected  boolean isConnected
           
protected  String macAddress
           
protected  Boolean needsCustomization
           
protected  String network
           
protected  int networkConnectionIndex
           
 
Constructor Summary
NetworkConnection(int networkConnectionIndex, String ipAddress, String externalIpAddress, boolean connected, String macAddress, NetworkConnection.IpAddressAllocationMode ipAddressAllocationMode, String network, Boolean needsCustomization)
           
 
Method Summary
static NetworkConnection.Builder builder()
           
 boolean equals(Object o)
           
 String getExternalIpAddress()
          Gets the value of the externalIpAddress property.
 String getIpAddress()
          Gets the value of the ipAddress property.
 NetworkConnection.IpAddressAllocationMode getIpAddressAllocationMode()
          Gets the value of the ipAddressAllocationMode property.
 String getMACAddress()
          Gets the value of the macAddress property.
 String getNetwork()
          Gets the value of the network property.
 int getNetworkConnectionIndex()
          Gets the value of the networkConnectionIndex property.
 int hashCode()
           
 boolean isConnected()
          Gets the value of the isConnected property.
 Boolean needsCustomization()
          Gets the value of the needsCustomization property.
 NetworkConnection.Builder toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

networkConnectionIndex

protected int networkConnectionIndex

ipAddress

protected String ipAddress

externalIpAddress

protected String externalIpAddress

isConnected

protected boolean isConnected

macAddress

protected String macAddress

ipAddressAllocationMode

protected NetworkConnection.IpAddressAllocationMode ipAddressAllocationMode

network

protected String network

needsCustomization

protected Boolean needsCustomization
Constructor Detail

NetworkConnection

public NetworkConnection(int networkConnectionIndex,
                         String ipAddress,
                         String externalIpAddress,
                         boolean connected,
                         String macAddress,
                         NetworkConnection.IpAddressAllocationMode ipAddressAllocationMode,
                         String network,
                         Boolean needsCustomization)
Method Detail

builder

public static NetworkConnection.Builder builder()

toBuilder

public NetworkConnection.Builder toBuilder()

getNetworkConnectionIndex

public int getNetworkConnectionIndex()
Gets the value of the networkConnectionIndex property.


getIpAddress

public String getIpAddress()
Gets the value of the ipAddress property.

Returns:
possible object is String

getExternalIpAddress

public String getExternalIpAddress()
Gets the value of the externalIpAddress property.

Returns:
possible object is String

isConnected

public boolean isConnected()
Gets the value of the isConnected property.


getMACAddress

public String getMACAddress()
Gets the value of the macAddress property.

Returns:
possible object is String

getIpAddressAllocationMode

public NetworkConnection.IpAddressAllocationMode getIpAddressAllocationMode()
Gets the value of the ipAddressAllocationMode property.

Returns:
possible object is String

getNetwork

public String getNetwork()
Gets the value of the network property.

Returns:
possible object is String

needsCustomization

public Boolean needsCustomization()
Gets the value of the needsCustomization property.

Returns:
possible object is Boolean

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


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