|
||||||||||
| 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.FirewallRule
public class FirewallRule
Represents a firewall rule.
Java class for FirewallRule complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="FirewallRule">
<complexContent>
<extension base="{http://www.vmware.com/vcloud/v1.5}VCloudExtensibleType">
<sequence>
<element name="IsEnabled" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="Description" 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="Protocols" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice>
<sequence>
<element name="Tcp" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="Udp" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
</sequence>
<element name="Icmp" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="Any" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
</choice>
</restriction>
</complexContent>
</complexType>
</element>
<element name="Port" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="DestinationIp" type="{http://www.vmware.com/vcloud/v1.5}FirewallIpAddressType"/>
<element name="SourcePort" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="SourceIp" type="{http://www.vmware.com/vcloud/v1.5}FirewallIpAddressType"/>
<element name="Direction" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="EnableLogging" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
</sequence>
<anyAttribute processContents='lax' namespace='##other'/>
</extension>
</complexContent>
</complexType>
| Nested Class Summary | |
|---|---|
static class |
FirewallRule.Builder
|
| Field Summary | |
|---|---|
protected String |
description
|
protected String |
destinationIp
|
protected String |
direction
|
protected Boolean |
enableLogging
|
protected Boolean |
isEnabled
|
protected String |
policy
|
protected Integer |
port
|
protected FirewallRuleProtocols |
protocols
|
protected String |
sourceIp
|
protected Integer |
sourcePort
|
| Method Summary | |
|---|---|
static FirewallRule.Builder |
builder()
|
boolean |
equals(Object o)
|
String |
getDescription()
Gets the value of the description property. |
String |
getDestinationIp()
Gets the value of the destinationIp property. |
String |
getDirection()
Gets the value of the direction property. |
String |
getPolicy()
Gets the value of the policy property. |
int |
getPort()
Gets the value of the port property. |
FirewallRuleProtocols |
getProtocols()
Gets the value of the protocols property. |
String |
getSourceIp()
Gets the value of the sourceIp property. |
int |
getSourcePort()
Gets the value of the sourcePort property. |
int |
hashCode()
|
Boolean |
isEnabled()
Gets the value of the isEnabled property. |
Boolean |
isEnableLogging()
Gets the value of the enableLogging property. |
FirewallRule.Builder |
toBuilder()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Boolean isEnabled
protected String description
protected String policy
protected FirewallRuleProtocols protocols
protected Integer port
protected String destinationIp
protected Integer sourcePort
protected String sourceIp
protected String direction
protected Boolean enableLogging
| Method Detail |
|---|
public static FirewallRule.Builder builder()
public FirewallRule.Builder toBuilder()
public Boolean isEnabled()
Booleanpublic String getDescription()
Stringpublic String getPolicy()
Stringpublic FirewallRuleProtocols getProtocols()
FirewallRuleProtocolspublic int getPort()
public String getDestinationIp()
Stringpublic int getSourcePort()
public String getSourceIp()
Stringpublic String getDirection()
Stringpublic Boolean isEnableLogging()
Booleanpublic 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 | |||||||||