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

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

public class NatPortForwardingRule
extends Object

Represents the NAT rule for port forwarding between internal IP/port and external IP/port.

Java class for NatPortForwardingRule complex type.

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

 <complexType name="NatPortForwardingRule">
   <complexContent>
     <extension base="{http://www.vmware.com/vcloud/v1.5}VCloudExtensibleType">
       <sequence>
         <element name="ExternalIpAddress" type="{http://www.vmware.com/vcloud/v1.5}IpAddressType"/>
         <element name="ExternalPort" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="InternalIpAddress" type="{http://www.vmware.com/vcloud/v1.5}IpAddressType"/>
         <element name="InternalPort" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="Protocol" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </sequence>
       <anyAttribute processContents='lax' namespace='##other'/>
     </extension>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class NatPortForwardingRule.Builder
           
 
Field Summary
protected  String externalIpAddress
           
protected  int externalPort
           
protected  String internalIpAddress
           
protected  int internalPort
           
protected  String protocol
           
 
Method Summary
static NatPortForwardingRule.Builder builder()
           
 boolean equals(Object o)
           
 String getExternalIpAddress()
          Gets the value of the externalIpAddress property.
 int getExternalPort()
          Gets the value of the externalPort property.
 String getInternalIpAddress()
          Gets the value of the internalIpAddress property.
 int getInternalPort()
          Gets the value of the internalPort property.
 String getProtocol()
          Gets the value of the protocol property.
 int hashCode()
           
 NatPortForwardingRule.Builder toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

externalIpAddress

protected String externalIpAddress

externalPort

protected int externalPort

internalIpAddress

protected String internalIpAddress

internalPort

protected int internalPort

protocol

protected String protocol
Method Detail

builder

public static NatPortForwardingRule.Builder builder()

toBuilder

public NatPortForwardingRule.Builder toBuilder()

getExternalIpAddress

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

Returns:
possible object is String

getExternalPort

public int getExternalPort()
Gets the value of the externalPort property.


getInternalIpAddress

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

Returns:
possible object is String

getInternalPort

public int getInternalPort()
Gets the value of the internalPort property.


getProtocol

public String getProtocol()
Gets the value of the protocol 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.