Class HostInventoryItem
java.lang.Object
com.azure.resourcemanager.connectedvmware.fluent.models.InventoryItemProperties
com.azure.resourcemanager.connectedvmware.models.HostInventoryItem
The host inventory item.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparent()
Get the parent property: Parent host inventory resource details.void
validate()
Validates the instance.withManagedResourceId
(String managedResourceId) Set the managedResourceId property: Gets or sets the tracked resource id corresponding to the inventory resource.withMoName
(String moName) Set the moName property: Gets or sets the vCenter Managed Object name for the inventory item.withMoRefId
(String moRefId) Set the moRefId property: Gets or sets the MoRef (Managed Object Reference) ID for the inventory item.withParent
(InventoryItemDetails parent) Set the parent property: Parent host inventory resource details.Methods inherited from class com.azure.resourcemanager.connectedvmware.fluent.models.InventoryItemProperties
managedResourceId, moName, moRefId, provisioningState
-
Constructor Details
-
HostInventoryItem
public HostInventoryItem()
-
-
Method Details
-
parent
Get the parent property: Parent host inventory resource details.- Returns:
- the parent value.
-
withParent
Set the parent property: Parent host inventory resource details.- Parameters:
parent
- the parent value to set.- Returns:
- the HostInventoryItem object itself.
-
withManagedResourceId
Set the managedResourceId property: Gets or sets the tracked resource id corresponding to the inventory resource.- Overrides:
withManagedResourceId
in classInventoryItemProperties
- Parameters:
managedResourceId
- the managedResourceId value to set.- Returns:
- the InventoryItemProperties object itself.
-
withMoRefId
Set the moRefId property: Gets or sets the MoRef (Managed Object Reference) ID for the inventory item.- Overrides:
withMoRefId
in classInventoryItemProperties
- Parameters:
moRefId
- the moRefId value to set.- Returns:
- the InventoryItemProperties object itself.
-
withMoName
Set the moName property: Gets or sets the vCenter Managed Object name for the inventory item.- Overrides:
withMoName
in classInventoryItemProperties
- Parameters:
moName
- the moName value to set.- Returns:
- the InventoryItemProperties object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classInventoryItemProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-