public class HostFirewallConfig extends DynamicData
Java class for HostFirewallConfig complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="HostFirewallConfig">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="rule" type="{urn:vim25}HostFirewallConfigRuleSetConfig" maxOccurs="unbounded" minOccurs="0"/>
<element name="defaultBlockingPolicy" type="{urn:vim25}HostFirewallDefaultPolicy"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected HostFirewallDefaultPolicy |
defaultBlockingPolicy |
protected List<HostFirewallConfigRuleSetConfig> |
rule |
| Constructor and Description |
|---|
HostFirewallConfig() |
| Modifier and Type | Method and Description |
|---|---|
HostFirewallDefaultPolicy |
getDefaultBlockingPolicy()
Gets the value of the defaultBlockingPolicy property.
|
List<HostFirewallConfigRuleSetConfig> |
getRule()
Gets the value of the rule property.
|
void |
setDefaultBlockingPolicy(HostFirewallDefaultPolicy value)
Sets the value of the defaultBlockingPolicy property.
|
protected List<HostFirewallConfigRuleSetConfig> rule
protected HostFirewallDefaultPolicy defaultBlockingPolicy
public List<HostFirewallConfigRuleSetConfig> getRule()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the rule property.
For example, to add a new item, do as follows:
getRule().add(newItem);
Objects of the following type(s) are allowed in the list
HostFirewallConfigRuleSetConfig
public HostFirewallDefaultPolicy getDefaultBlockingPolicy()
HostFirewallDefaultPolicypublic void setDefaultBlockingPolicy(HostFirewallDefaultPolicy value)
value - allowed object is
HostFirewallDefaultPolicyCopyright © 2018. All rights reserved.