public class HostFirewallInfo extends DynamicData
Java class for HostFirewallInfo complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="HostFirewallInfo">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="defaultPolicy" type="{urn:vim25}HostFirewallDefaultPolicy"/>
<element name="ruleset" type="{urn:vim25}HostFirewallRuleset" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected HostFirewallDefaultPolicy |
defaultPolicy |
protected List<HostFirewallRuleset> |
ruleset |
| Constructor and Description |
|---|
HostFirewallInfo() |
| Modifier and Type | Method and Description |
|---|---|
HostFirewallDefaultPolicy |
getDefaultPolicy()
Gets the value of the defaultPolicy property.
|
List<HostFirewallRuleset> |
getRuleset()
Gets the value of the ruleset property.
|
void |
setDefaultPolicy(HostFirewallDefaultPolicy value)
Sets the value of the defaultPolicy property.
|
protected HostFirewallDefaultPolicy defaultPolicy
protected List<HostFirewallRuleset> ruleset
public HostFirewallDefaultPolicy getDefaultPolicy()
HostFirewallDefaultPolicypublic void setDefaultPolicy(HostFirewallDefaultPolicy value)
value - allowed object is
HostFirewallDefaultPolicypublic List<HostFirewallRuleset> getRuleset()
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 ruleset property.
For example, to add a new item, do as follows:
getRuleset().add(newItem);
Objects of the following type(s) are allowed in the list
HostFirewallRuleset
Copyright © 2018. All rights reserved.