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

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

public class NatOneToOneVmRule
extends Object

Represents the NAT rule for one to one mapping of VM NIC and external IP addresses from a network.

Java class for NatOneToOneVmRule complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="NatOneToOneVmRule">
   <complexContent>
     <extension base="{http://www.vmware.com/vcloud/v1.5}VCloudExtensibleType">
       <sequence>
         <element name="MappingMode" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="ExternalIpAddress" type="{http://www.vmware.com/vcloud/v1.5}IpAddressType" minOccurs="0"/>
         <element name="VAppScopedVmId" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="VmNicId" type="{http://www.w3.org/2001/XMLSchema}int"/>
       </sequence>
       <anyAttribute processContents='lax' namespace='##other'/>
     </extension>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class NatOneToOneVmRule.Builder
           
 
Field Summary
protected  String externalIpAddress
           
protected  String mappingMode
           
protected  String vAppScopedVmId
           
protected  int vmNicId
           
 
Method Summary
static NatOneToOneVmRule.Builder builder()
           
 boolean equals(Object o)
           
 String getExternalIpAddress()
          Gets the value of the externalIpAddress property.
 String getMappingMode()
          Gets the value of the mappingMode property.
 String getVAppScopedVmId()
          Gets the value of the vAppScopedVmId property.
 int getVmNicId()
          Gets the value of the vmNicId property.
 int hashCode()
           
 NatOneToOneVmRule.Builder toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

mappingMode

protected String mappingMode

externalIpAddress

protected String externalIpAddress

vAppScopedVmId

protected String vAppScopedVmId

vmNicId

protected int vmNicId
Method Detail

builder

public static NatOneToOneVmRule.Builder builder()

toBuilder

public NatOneToOneVmRule.Builder toBuilder()

getMappingMode

public String getMappingMode()
Gets the value of the mappingMode property.

Returns:
possible object is String

getExternalIpAddress

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

Returns:
possible object is String

getVAppScopedVmId

public String getVAppScopedVmId()
Gets the value of the vAppScopedVmId property.

Returns:
possible object is String

getVmNicId

public int getVmNicId()
Gets the value of the vmNicId property.


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.