|
||||||||||
| 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.NatRule
public class NatRule
Represents a NAT rule.
Java class for NatRule complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="NatRule">
<complexContent>
<extension base="{http://www.vmware.com/vcloud/v1.5}VCloudExtensibleType">
<sequence>
<element name="Description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<choice>
<element name="OneToOneBasicRule" type="{http://www.vmware.com/vcloud/v1.5}NatOneToOneBasicRuleType"/>
<element name="OneToOneVmRule" type="{http://www.vmware.com/vcloud/v1.5}NatOneToOneVmRuleType"/>
<element name="PortForwardingRule" type="{http://www.vmware.com/vcloud/v1.5}NatPortForwardingRuleType"/>
<element name="VmRule" type="{http://www.vmware.com/vcloud/v1.5}NatVmRuleType"/>
</choice>
</sequence>
<anyAttribute processContents='lax' namespace='##other'/>
</extension>
</complexContent>
</complexType>
| Nested Class Summary | |
|---|---|
static class |
NatRule.Builder
|
| Field Summary | |
|---|---|
protected String |
description
|
protected NatOneToOneBasicRule |
oneToOneBasicRule
|
protected NatOneToOneVmRule |
oneToOneVmRule
|
protected NatPortForwardingRule |
portForwardingRule
|
protected NatVmRule |
vmRule
|
| Constructor Summary | |
|---|---|
NatRule(String description,
NatOneToOneBasicRule oneToOneBasicRule,
NatOneToOneVmRule oneToOneVmRule,
NatPortForwardingRule portForwardingRule,
NatVmRule vmRule)
|
|
| Method Summary | |
|---|---|
static NatRule.Builder |
builder()
|
boolean |
equals(Object o)
|
String |
getDescription()
Gets the value of the description property. |
NatOneToOneBasicRule |
getOneToOneBasicRule()
Gets the value of the oneToOneBasicRule property. |
NatOneToOneVmRule |
getOneToOneVmRule()
Gets the value of the oneToOneVmRule property. |
NatPortForwardingRule |
getPortForwardingRule()
Gets the value of the portForwardingRule property. |
NatVmRule |
getVmRule()
Gets the value of the vmRule property. |
int |
hashCode()
|
NatRule.Builder |
toBuilder()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String description
protected NatOneToOneBasicRule oneToOneBasicRule
protected NatOneToOneVmRule oneToOneVmRule
protected NatPortForwardingRule portForwardingRule
protected NatVmRule vmRule
| Constructor Detail |
|---|
public NatRule(String description,
NatOneToOneBasicRule oneToOneBasicRule,
NatOneToOneVmRule oneToOneVmRule,
NatPortForwardingRule portForwardingRule,
NatVmRule vmRule)
| Method Detail |
|---|
public static NatRule.Builder builder()
public NatRule.Builder toBuilder()
public String getDescription()
Stringpublic NatOneToOneBasicRule getOneToOneBasicRule()
NatOneToOneBasicRulepublic NatOneToOneVmRule getOneToOneVmRule()
NatOneToOneVmRulepublic NatPortForwardingRule getPortForwardingRule()
NatPortForwardingRulepublic NatVmRule getVmRule()
NatVmRulepublic 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 | |||||||||