public class FirewallRule extends Object
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>
Modifier and Type | Class and Description |
---|---|
static class |
FirewallRule.Builder |
Modifier and Type | Field and Description |
---|---|
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 |
Modifier and Type | Method and Description |
---|---|
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() |
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
public static FirewallRule.Builder builder()
public FirewallRule.Builder toBuilder()
public Boolean isEnabled()
Boolean
public String getDescription()
String
public String getPolicy()
String
public FirewallRuleProtocols getProtocols()
FirewallRuleProtocols
public int getPort()
public String getDestinationIp()
String
public int getSourcePort()
public String getSourceIp()
String
public String getDirection()
String
public Boolean isEnableLogging()
Boolean
Copyright © 2009-2013 jclouds. All Rights Reserved.