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

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

public class NatOneToOneBasicRule
extends Object

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

Java class for NatOneToOneBasicRule complex type.

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

 <complexType name="NatOneToOneBasicRule">
   <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"/>
         <element name="InternalIpAddress" type="{http://www.vmware.com/vcloud/v1.5}IpAddressType"/>
       </sequence>
       <anyAttribute processContents='lax' namespace='##other'/>
     </extension>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class NatOneToOneBasicRule.Builder
           
 
Field Summary
protected  String externalIpAddress
           
protected  String internalIpAddress
           
protected  String mappingMode
           
 
Method Summary
static NatOneToOneBasicRule.Builder builder()
           
 boolean equals(Object o)
           
 String getExternalIpAddress()
          Gets the value of the externalIpAddress property.
 String getInternalIpAddress()
          Gets the value of the internalIpAddress property.
 String getMappingMode()
          Gets the value of the mappingMode property.
 int hashCode()
           
 NatOneToOneBasicRule.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

internalIpAddress

protected String internalIpAddress
Method Detail

builder

public static NatOneToOneBasicRule.Builder builder()

toBuilder

public NatOneToOneBasicRule.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

getInternalIpAddress

public String getInternalIpAddress()
Gets the value of the internalIpAddress property.

Returns:
possible object is String

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.