public final class SoftwareInfo
extends java.lang.Object
implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
SoftwareInfo
class contains information that describes the desired
software specification for an ESX host.Modifier and Type | Class and Description |
---|---|
static class |
SoftwareInfo.Builder
Builder class for
SoftwareInfo . |
Modifier and Type | Field and Description |
---|---|
protected com.vmware.vapi.data.StructValue |
__dynamicStructureFields |
Modifier | Constructor and Description |
---|---|
|
SoftwareInfo()
Default constructor.
|
protected |
SoftwareInfo(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 SoftwareInfo |
_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 SoftwareInfo |
_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) |
AddOnInfo |
getAddOn()
OEM customization on top of given base image.
|
BaseImageInfo |
getBaseImage()
Base image of the ESX.
|
java.util.Map<java.lang.String,ComponentInfo> |
getComponents()
Information about the components in the software specification.
|
HardwareSupportInfo |
getHardwareSupport()
Information about the Hardware Support Packages (HSP) configured.
|
java.util.Map<java.lang.String,ComponentInfo> |
getRemovedComponents()
Information about the components to be removed in the software specification.
|
java.util.Map<java.lang.String,SolutionInfo> |
getSolutions()
Information about the solutions in the software specification.
|
int |
hashCode() |
void |
setAddOn(AddOnInfo addOn)
OEM customization on top of given base image.
|
void |
setBaseImage(BaseImageInfo baseImage)
Base image of the ESX.
|
void |
setComponents(java.util.Map<java.lang.String,ComponentInfo> components)
Information about the components in the software specification.
|
void |
setHardwareSupport(HardwareSupportInfo hardwareSupport)
Information about the Hardware Support Packages (HSP) configured.
|
void |
setRemovedComponents(java.util.Map<java.lang.String,ComponentInfo> removedComponents)
Information about the components to be removed in the software specification.
|
void |
setSolutions(java.util.Map<java.lang.String,SolutionInfo> solutions)
Information about the solutions in the software specification.
|
java.lang.String |
toString() |
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
public SoftwareInfo()
protected SoftwareInfo(com.vmware.vapi.data.StructValue __dynamicStructureFields)
public BaseImageInfo getBaseImage()
public void setBaseImage(BaseImageInfo baseImage)
baseImage
- New value for the property.public AddOnInfo getAddOn()
null
, no OEM customization will be applied.public void setAddOn(AddOnInfo addOn)
null
, no OEM customization will be applied.addOn
- New value for the property.public java.util.Map<java.lang.String,ComponentInfo> getComponents()
Map
must be an identifier for the resource type: com.vmware.esx.settings.component
. 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: com.vmware.esx.settings.component
.public void setComponents(java.util.Map<java.lang.String,ComponentInfo> components)
components
- 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: com.vmware.esx.settings.component
. 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: com.vmware.esx.settings.component
.public java.util.Map<java.lang.String,SolutionInfo> getSolutions()
Map
must be an identifier for the resource type: com.vmware.esx.settings.solution
. 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: com.vmware.esx.settings.solution
.public void setSolutions(java.util.Map<java.lang.String,SolutionInfo> solutions)
solutions
- 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: com.vmware.esx.settings.solution
. 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: com.vmware.esx.settings.solution
.public HardwareSupportInfo getHardwareSupport()
null
, no Hardware Support Package (HSP) is specified for the cluster.public void setHardwareSupport(HardwareSupportInfo hardwareSupport)
null
, no Hardware Support Package (HSP) is specified for the cluster.hardwareSupport
- New value for the property.public java.util.Map<java.lang.String,ComponentInfo> getRemovedComponents()
Map
must be an identifier for the resource type: com.vmware.esx.settings.component
. 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: com.vmware.esx.settings.component
.public void setRemovedComponents(java.util.Map<java.lang.String,ComponentInfo> removedComponents)
removedComponents
- 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: com.vmware.esx.settings.component
. 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: com.vmware.esx.settings.component
.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 SoftwareInfo _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 SoftwareInfo _newInstance2(com.vmware.vapi.data.StructValue structValue)