public final class CheckResult
extends java.lang.Object
implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
CheckResult
class contains information to describe HCL compliance
result of a cluster on target software specification.Modifier and Type | Class and Description |
---|---|
static class |
CheckResult.Builder
Builder class for
CheckResult . |
Modifier and Type | Field and Description |
---|---|
protected com.vmware.vapi.data.StructValue |
__dynamicStructureFields |
Modifier | Constructor and Description |
---|---|
|
CheckResult()
Default constructor.
|
protected |
CheckResult(com.vmware.vapi.data.StructValue __dynamicStructureFields) |
Modifier and Type | Method and Description |
---|---|
<T extends com.vmware.vapi.bindings.Structure> |
_convertTo(java.lang.Class<T> clazz) |
java.lang.String |
_getCanonicalName() |
static java.lang.String |
_getCanonicalTypeName()
Returns the canonical type name.
|
static com.vmware.vapi.bindings.type.StructType |
_getClassType()
WARNING: Internal method, subject to change in future versions.
|
com.vmware.vapi.data.StructValue |
_getDataValue() |
com.vmware.vapi.data.DataValue |
_getDynamicField(java.lang.String fieldName) |
java.util.Set<java.lang.String> |
_getDynamicFieldNames() |
com.vmware.vapi.bindings.type.StructType |
_getType() |
boolean |
_hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz) |
static CheckResult |
_newInstance(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Returns new instance of this binding class and injects the provided data value. WARNING: The returned object is not fully initialized. |
static CheckResult |
_newInstance2(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Serves as a versioning mechanism. |
void |
_setDynamicField(java.lang.String fieldName,
com.vmware.vapi.data.DataValue fieldValue) |
protected void |
_updateDataValue(com.vmware.vapi.data.StructValue structValue) |
void |
_validate() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getBaseImageVersion()
Target base image version E.g., version = BaseImageSpec->Version
BaseImageSpec.getVersion() class |
java.lang.String |
getCommit()
Spec Identifier of the desired configuration on which the HCL scan is performed
to generate this result, populated by the HCL validation.
|
LocalizableMessage |
getNote()
Localizable disclaimer notice to show on the UI detailing the type of checks are
done by the HCL Validaiton.
|
Notifications |
getNotifications()
Notifications returned by the HCL Validation operation.
|
PciDeviceCompliance |
getPciDeviceCompliance()
Compliance result for the Pci Devices that are present in all hosts of the
cluster.
|
java.util.Calendar |
getScanTime()
HCL Validation check time.
|
ComplianceStatus |
getStatus()
Overall compliance status of Cluster with respective to all hosts in the
cluster.
|
StorageDeviceCompliance |
getStorageDeviceCompliance()
Compliance result for storage devices in all the hosts of the cluster.
|
java.lang.Boolean |
getUpdatedSinceLastCheck()
Flag to indicate if there were any hardware compatibility overrides were
performed after the last check method.
|
java.lang.Boolean |
getvSanDataOnly()
HCL Validation Computed only for vSAN Clusters.
|
int |
hashCode() |
void |
setBaseImageVersion(java.lang.String baseImageVersion)
Target base image version E.g., version = BaseImageSpec->Version
BaseImageSpec.getVersion() class |
void |
setCommit(java.lang.String commit)
Spec Identifier of the desired configuration on which the HCL scan is performed
to generate this result, populated by the HCL validation.
|
void |
setNote(LocalizableMessage note)
Localizable disclaimer notice to show on the UI detailing the type of checks are
done by the HCL Validaiton.
|
void |
setNotifications(Notifications notifications)
Notifications returned by the HCL Validation operation.
|
void |
setPciDeviceCompliance(PciDeviceCompliance pciDeviceCompliance)
Compliance result for the Pci Devices that are present in all hosts of the
cluster.
|
void |
setScanTime(java.util.Calendar scanTime)
HCL Validation check time.
|
void |
setStatus(ComplianceStatus status)
Overall compliance status of Cluster with respective to all hosts in the
cluster.
|
void |
setStorageDeviceCompliance(StorageDeviceCompliance storageDeviceCompliance)
Compliance result for storage devices in all the hosts of the cluster.
|
void |
setUpdatedSinceLastCheck(java.lang.Boolean updatedSinceLastCheck)
Flag to indicate if there were any hardware compatibility overrides were
performed after the last check method.
|
void |
setvSanDataOnly(java.lang.Boolean vSanDataOnly)
HCL Validation Computed only for vSAN Clusters.
|
java.lang.String |
toString() |
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
public CheckResult()
protected CheckResult(com.vmware.vapi.data.StructValue __dynamicStructureFields)
public ComplianceStatus getStatus()
public void setStatus(ComplianceStatus status)
status
- New value for the property.public java.util.Calendar getScanTime()
public void setScanTime(java.util.Calendar scanTime)
scanTime
- New value for the property.public java.lang.Boolean getUpdatedSinceLastCheck()
public void setUpdatedSinceLastCheck(java.lang.Boolean updatedSinceLastCheck)
updatedSinceLastCheck
- New value for the property.public java.lang.Boolean getvSanDataOnly()
null
to show vSAN in UIpublic void setvSanDataOnly(java.lang.Boolean vSanDataOnly)
null
to show vSAN in UIvSanDataOnly
- New value for the property.public java.lang.String getCommit()
null
if validation was performed against a draft.com.vmware.esx.settings.commit
. When
methods return a value of this class as a return value, the property will be an
identifier for the resource type: com.vmware.esx.settings.commit
.public void setCommit(java.lang.String commit)
null
if validation was performed against a draft.commit
- New value for the property.
When clients pass a value of this class as a parameter, the property must be an
identifier for the resource type: com.vmware.esx.settings.commit
. When
methods return a value of this class as a return value, the property will be an
identifier for the resource type: com.vmware.esx.settings.commit
.public java.lang.String getBaseImageVersion()
BaseImageSpec.getVersion()
classpublic void setBaseImageVersion(java.lang.String baseImageVersion)
BaseImageSpec.getVersion()
classbaseImageVersion
- New value for the property.public PciDeviceCompliance getPciDeviceCompliance()
null
if Pci device compliance was not computed.public void setPciDeviceCompliance(PciDeviceCompliance pciDeviceCompliance)
null
if Pci device compliance was not computed.pciDeviceCompliance
- New value for the property.public StorageDeviceCompliance getStorageDeviceCompliance()
null
if storage device compliance was not
computed.public void setStorageDeviceCompliance(StorageDeviceCompliance storageDeviceCompliance)
null
if storage device compliance was not
computed.storageDeviceCompliance
- New value for the property.public Notifications getNotifications()
public void setNotifications(Notifications notifications)
notifications
- New value for the property.public LocalizableMessage getNote()
public void setNote(LocalizableMessage note)
note
- New value for the property.public com.vmware.vapi.bindings.type.StructType _getType()
_getType
in interface com.vmware.vapi.bindings.StaticStructure
public com.vmware.vapi.data.StructValue _getDataValue()
_getDataValue
in interface com.vmware.vapi.bindings.Structure
protected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
public void _validate()
_validate
in interface com.vmware.vapi.bindings.StaticStructure
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in interface com.vmware.vapi.bindings.StaticStructure
toString
in class java.lang.Object
public boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
_hasTypeNameOf
in interface com.vmware.vapi.bindings.Structure
public <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
_convertTo
in interface com.vmware.vapi.bindings.Structure
public void _setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)
_setDynamicField
in interface com.vmware.vapi.bindings.StaticStructure
public com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
_getDynamicField
in interface com.vmware.vapi.bindings.StaticStructure
public java.util.Set<java.lang.String> _getDynamicFieldNames()
_getDynamicFieldNames
in interface com.vmware.vapi.bindings.StaticStructure
public static com.vmware.vapi.bindings.type.StructType _getClassType()
StructType
instance representing the static bindings
type for this Structure
.public java.lang.String _getCanonicalName()
_getCanonicalName
in interface com.vmware.vapi.bindings.Structure
public static java.lang.String _getCanonicalTypeName()
_getCanonicalName()
.public static CheckResult _newInstance(com.vmware.vapi.data.StructValue structValue)
structValue
- the source of the data contained in the binding object. Could
contain more data than fields of this class can describe i.e.
newer version of the binding object. Could be null.StructType
public static CheckResult _newInstance2(com.vmware.vapi.data.StructValue structValue)