|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.vcloud.director.v1_5.domain.network.NatVmRule
public class NatVmRule
Represents the NAT rule for port forwarding between VM NIC/port and external IP/port.
Java class for NatVmRule complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="NatVmRule">
<complexContent>
<extension base="{http://www.vmware.com/vcloud/v1.5}VCloudExtensibleType">
<sequence>
<element name="ExternalIpAddress" type="{http://www.vmware.com/vcloud/v1.5}IpAddressType" minOccurs="0"/>
<element name="ExternalPort" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="VAppScopedVmId" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="VmNicId" type="{http://www.w3.org/2001/XMLSchema}int"/>
<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 |
NatVmRule.Builder
|
| Field Summary | |
|---|---|
protected String |
externalIpAddress
|
protected int |
externalPort
|
protected int |
internalPort
|
protected String |
protocol
|
protected String |
vAppScopedVmId
|
protected int |
vmNicId
|
| Method Summary | |
|---|---|
static NatVmRule.Builder |
builder()
|
boolean |
equals(Object o)
|
String |
getExternalIpAddress()
Gets the value of the externalIpAddress property. |
int |
getExternalPort()
Gets the value of the externalPort property. |
int |
getInternalPort()
Gets the value of the internalPort property. |
String |
getProtocol()
Gets the value of the protocol property. |
String |
getVAppScopedVmId()
Gets the value of the vAppScopedVmId property. |
int |
getVmNicId()
Gets the value of the vmNicId property. |
int |
hashCode()
|
NatVmRule.Builder |
toBuilder()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String externalIpAddress
protected int externalPort
protected String vAppScopedVmId
protected int vmNicId
protected int internalPort
protected String protocol
| Method Detail |
|---|
public static NatVmRule.Builder builder()
public NatVmRule.Builder toBuilder()
public String getExternalIpAddress()
Stringpublic int getExternalPort()
public String getVAppScopedVmId()
Stringpublic int getVmNicId()
public int getInternalPort()
public String getProtocol()
Stringpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||