public class RuleViolation extends VmConfigFault
Java class for RuleViolation complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="RuleViolation">
<complexContent>
<extension base="{urn:vim25}VmConfigFault">
<sequence>
<element name="host" type="{urn:vim25}ManagedObjectReference" minOccurs="0"/>
<element name="rule" type="{urn:vim25}ClusterRuleInfo" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected ManagedObjectReference |
host |
protected ClusterRuleInfo |
rule |
faultCause, faultMessage| Constructor and Description |
|---|
RuleViolation() |
| Modifier and Type | Method and Description |
|---|---|
ManagedObjectReference |
getHost()
Gets the value of the host property.
|
ClusterRuleInfo |
getRule()
Gets the value of the rule property.
|
void |
setHost(ManagedObjectReference value)
Sets the value of the host property.
|
void |
setRule(ClusterRuleInfo value)
Sets the value of the rule property.
|
getFaultCause, getFaultMessage, setFaultCauseprotected ManagedObjectReference host
protected ClusterRuleInfo rule
public ManagedObjectReference getHost()
ManagedObjectReferencepublic void setHost(ManagedObjectReference value)
value - allowed object is
ManagedObjectReferencepublic ClusterRuleInfo getRule()
ClusterRuleInfopublic void setRule(ClusterRuleInfo value)
value - allowed object is
ClusterRuleInfoCopyright © 2018. All rights reserved.