public class NatService extends NetworkServiceType<NatService>
Java class for NatService complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="NatService">
<complexContent>
<extension base="{http://www.vmware.com/vcloud/v1.5}NetworkServiceType">
<sequence>
<element name="NatType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="Policy" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="NatRule" type="{http://www.vmware.com/vcloud/v1.5}NatRuleType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<anyAttribute processContents='lax' namespace='##other'/>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
NatService.Builder |
| Modifier and Type | Method and Description |
|---|---|
static NatService.Builder |
builder() |
boolean |
equals(Object o) |
Set<NatRule> |
getNatRules() |
String |
getNatType() |
String |
getPolicy() |
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
NatService.Builder |
toBuilder() |
isEnabled, toStringpublic static NatService.Builder builder()
public NatService.Builder toBuilder()
toBuilder in class NetworkServiceType<NatService>public String getNatType()
public String getPolicy()
public boolean equals(Object o)
equals in class NetworkServiceType<NatService>public int hashCode()
hashCode in class NetworkServiceType<NatService>protected com.google.common.base.Objects.ToStringHelper string()
string in class NetworkServiceType<NatService>Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.