public class ComplianceResult extends DynamicData
Java class for ComplianceResult complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ComplianceResult">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="profile" type="{urn:vim25}ManagedObjectReference" minOccurs="0"/>
<element name="complianceStatus" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="entity" type="{urn:vim25}ManagedObjectReference" minOccurs="0"/>
<element name="checkTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="failure" type="{urn:vim25}ComplianceFailure" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected XMLGregorianCalendar |
checkTime |
protected String |
complianceStatus |
protected ManagedObjectReference |
entity |
protected List<ComplianceFailure> |
failure |
protected ManagedObjectReference |
profile |
| Constructor and Description |
|---|
ComplianceResult() |
| Modifier and Type | Method and Description |
|---|---|
XMLGregorianCalendar |
getCheckTime()
Gets the value of the checkTime property.
|
String |
getComplianceStatus()
Gets the value of the complianceStatus property.
|
ManagedObjectReference |
getEntity()
Gets the value of the entity property.
|
List<ComplianceFailure> |
getFailure()
Gets the value of the failure property.
|
ManagedObjectReference |
getProfile()
Gets the value of the profile property.
|
void |
setCheckTime(XMLGregorianCalendar value)
Sets the value of the checkTime property.
|
void |
setComplianceStatus(String value)
Sets the value of the complianceStatus property.
|
void |
setEntity(ManagedObjectReference value)
Sets the value of the entity property.
|
void |
setProfile(ManagedObjectReference value)
Sets the value of the profile property.
|
protected ManagedObjectReference profile
protected String complianceStatus
protected ManagedObjectReference entity
protected XMLGregorianCalendar checkTime
protected List<ComplianceFailure> failure
public ManagedObjectReference getProfile()
ManagedObjectReferencepublic void setProfile(ManagedObjectReference value)
value - allowed object is
ManagedObjectReferencepublic String getComplianceStatus()
Stringpublic void setComplianceStatus(String value)
value - allowed object is
Stringpublic ManagedObjectReference getEntity()
ManagedObjectReferencepublic void setEntity(ManagedObjectReference value)
value - allowed object is
ManagedObjectReferencepublic XMLGregorianCalendar getCheckTime()
XMLGregorianCalendarpublic void setCheckTime(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic List<ComplianceFailure> getFailure()
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 failure property.
For example, to add a new item, do as follows:
getFailure().add(newItem);
Objects of the following type(s) are allowed in the list
ComplianceFailure
Copyright © 2018. All rights reserved.