Class VirtualNetworkInventoryItem
java.lang.Object
com.azure.resourcemanager.connectedvmware.fluent.models.InventoryItemProperties
com.azure.resourcemanager.connectedvmware.models.VirtualNetworkInventoryItem
The Virtual network inventory item.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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.Methods inherited from class com.azure.resourcemanager.connectedvmware.fluent.models.InventoryItemProperties
managedResourceId, moName, moRefId, provisioningState
-
Constructor Details
-
VirtualNetworkInventoryItem
public VirtualNetworkInventoryItem()
-
-
Method Details
-
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.
-