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

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

public class NatRule
extends Object

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

description

protected String description

oneToOneBasicRule

protected NatOneToOneBasicRule oneToOneBasicRule

oneToOneVmRule

protected NatOneToOneVmRule oneToOneVmRule

portForwardingRule

protected NatPortForwardingRule portForwardingRule

vmRule

protected NatVmRule vmRule
Constructor Detail

NatRule

public NatRule(String description,
               NatOneToOneBasicRule oneToOneBasicRule,
               NatOneToOneVmRule oneToOneVmRule,
               NatPortForwardingRule portForwardingRule,
               NatVmRule vmRule)
Method Detail

builder

public static NatRule.Builder builder()

toBuilder

public NatRule.Builder toBuilder()

getDescription

public String getDescription()
Gets the value of the description property.

Returns:
possible object is String

getOneToOneBasicRule

public NatOneToOneBasicRule getOneToOneBasicRule()
Gets the value of the oneToOneBasicRule property.

Returns:
possible object is NatOneToOneBasicRule

getOneToOneVmRule

public NatOneToOneVmRule getOneToOneVmRule()
Gets the value of the oneToOneVmRule property.

Returns:
possible object is NatOneToOneVmRule

getPortForwardingRule

public NatPortForwardingRule getPortForwardingRule()
Gets the value of the portForwardingRule property.

Returns:
possible object is NatPortForwardingRule

getVmRule

public NatVmRule getVmRule()
Gets the value of the vmRule property.

Returns:
possible object is NatVmRule

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.