public final class StorageDeviceComplianceInfo
extends java.lang.Object
implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
StorageDeviceComplianceInfo
class contains properties that describe
the compliance information of a storage device. This class was added in vSphere
API 7.0.2.1.Modifier and Type | Class and Description |
---|---|
static class |
StorageDeviceComplianceInfo.Builder
Builder class for
StorageDeviceComplianceInfo . |
Modifier and Type | Field and Description |
---|---|
protected com.vmware.vapi.data.StructValue |
__dynamicStructureFields |
Modifier | Constructor and Description |
---|---|
|
StorageDeviceComplianceInfo()
Default constructor.
|
protected |
StorageDeviceComplianceInfo(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 StorageDeviceComplianceInfo |
_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 StorageDeviceComplianceInfo |
_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) |
ComplianceStatusDetail |
getDetail()
Detailed compliance status of the storage device.
|
java.lang.Long |
getDeviceCount()
Indicate the number of actual physical storage devices represented by this info.
|
java.lang.String |
getDriverName()
Driver name on the storage device.
|
java.lang.String |
getDriverVersion()
Driver Version on the storage device.
|
java.lang.String |
getFirmwareVersion()
Firmware version on the storage device.
|
java.util.Map<java.lang.String,HostInfo> |
getHostInfo()
Affected List of Host IDs where this device is found.
|
java.util.List<StorageDeviceCompatibility> |
getMatches()
Provides information about possible compatibility matches for the given storage
device.
|
Notifications |
getNotifications()
Device Specific notifications describing the compliance result.
|
ComplianceStatus |
getStatus()
Compliance status of the storage device.
|
StorageDeviceInfo |
getStorageDeviceInfo()
Information of the storage device.
|
boolean |
getUsedByVsan()
Deprecated.
As of release vSphere API 8.0.0.1.
|
java.util.Map<Service,java.util.Set<java.lang.String>> |
getValidatedFeaturesInUse()
Validated Features in use on the storage device If Service is set but features
is empty, device is active for solution Subset of validated features for which
we provide certification - for example RDMA, not IPV6 Inclusion in this set of
features is independent of the certification status of device.
|
int |
hashCode() |
void |
setDetail(ComplianceStatusDetail detail)
Detailed compliance status of the storage device.
|
void |
setDeviceCount(java.lang.Long deviceCount)
Indicate the number of actual physical storage devices represented by this info.
|
void |
setDriverName(java.lang.String driverName)
Driver name on the storage device.
|
void |
setDriverVersion(java.lang.String driverVersion)
Driver Version on the storage device.
|
void |
setFirmwareVersion(java.lang.String firmwareVersion)
Firmware version on the storage device.
|
void |
setHostInfo(java.util.Map<java.lang.String,HostInfo> hostInfo)
Affected List of Host IDs where this device is found.
|
void |
setMatches(java.util.List<StorageDeviceCompatibility> matches)
Provides information about possible compatibility matches for the given storage
device.
|
void |
setNotifications(Notifications notifications)
Device Specific notifications describing the compliance result.
|
void |
setStatus(ComplianceStatus status)
Compliance status of the storage device.
|
void |
setStorageDeviceInfo(StorageDeviceInfo storageDeviceInfo)
Information of the storage device.
|
void |
setUsedByVsan(boolean usedByVsan)
Deprecated.
As of release vSphere API 8.0.0.1.
|
void |
setValidatedFeaturesInUse(java.util.Map<Service,java.util.Set<java.lang.String>> validatedFeaturesInUse)
Validated Features in use on the storage device If Service is set but features
is empty, device is active for solution Subset of validated features for which
we provide certification - for example RDMA, not IPV6 Inclusion in this set of
features is independent of the certification status of device.
|
java.lang.String |
toString() |
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
public StorageDeviceComplianceInfo()
protected StorageDeviceComplianceInfo(com.vmware.vapi.data.StructValue __dynamicStructureFields)
public StorageDeviceInfo getStorageDeviceInfo()
public void setStorageDeviceInfo(StorageDeviceInfo storageDeviceInfo)
storageDeviceInfo
- New value for the property.public java.lang.Long getDeviceCount()
public void setDeviceCount(java.lang.Long deviceCount)
deviceCount
- New value for the property.public ComplianceStatus getStatus()
ComplianceStatus.UNAVAILABLE
Each match found would be listed under getMatches()
with the corresponding compliance status of the storage device if compared
against the constraints specified in the match. This property was added in
vSphere API 7.0.2.1.public void setStatus(ComplianceStatus status)
ComplianceStatus.UNAVAILABLE
Each match found would be listed under getMatches()
with the corresponding compliance status of the storage device if compared
against the constraints specified in the match. This property was added in
vSphere API 7.0.2.1.status
- New value for the property.public ComplianceStatusDetail getDetail()
public void setDetail(ComplianceStatusDetail detail)
detail
- New value for the property.public java.util.Map<java.lang.String,HostInfo> getHostInfo()
Map
must be an identifier for the resource type: HostSystem
. When methods return a value of this class as a return value, the
key in the property Map
will be an identifier for the resource
type: HostSystem
.public void setHostInfo(java.util.Map<java.lang.String,HostInfo> hostInfo)
hostInfo
- New value for the property.
When clients pass a value of this class as a parameter, the key in the property
Map
must be an identifier for the resource type: HostSystem
. When methods return a value of this class as a return value, the
key in the property Map
will be an identifier for the resource
type: HostSystem
.public java.lang.String getFirmwareVersion()
null
if the firmware version on the storage device
is unknown or cannot be determined.public void setFirmwareVersion(java.lang.String firmwareVersion)
null
if the firmware version on the storage device
is unknown or cannot be determined.firmwareVersion
- New value for the property.public java.util.Map<Service,java.util.Set<java.lang.String>> getValidatedFeaturesInUse()
public void setValidatedFeaturesInUse(java.util.Map<Service,java.util.Set<java.lang.String>> validatedFeaturesInUse)
validatedFeaturesInUse
- New value for the property.public java.lang.String getDriverName()
null
if there is no driver associated with the
device.public void setDriverName(java.lang.String driverName)
null
if there is no driver associated with the
device.driverName
- New value for the property.public java.lang.String getDriverVersion()
null
if there is no driver associated with the
device.public void setDriverVersion(java.lang.String driverVersion)
null
if there is no driver associated with the
device.driverVersion
- New value for the property.public java.util.List<StorageDeviceCompatibility> getMatches()
There could be multiple possible matches available in the compatibility data.
. This property was added in vSphere API 7.0.2.1.public void setMatches(java.util.List<StorageDeviceCompatibility> matches)
There could be multiple possible matches available in the compatibility data.
. This property was added in vSphere API 7.0.2.1.matches
- New value for the property.@Deprecated public boolean getUsedByVsan()
@Deprecated public void setUsedByVsan(boolean usedByVsan)
usedByVsan
- New value for the property.public Notifications getNotifications()
null
if there are no notificationspublic void setNotifications(Notifications notifications)
null
if there are no notificationsnotifications
- 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 StorageDeviceComplianceInfo _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 StorageDeviceComplianceInfo _newInstance2(com.vmware.vapi.data.StructValue structValue)