Class ResourcePoolInventoryItem

java.lang.Object
com.azure.resourcemanager.connectedvmware.fluent.models.InventoryItemProperties
com.azure.resourcemanager.connectedvmware.models.ResourcePoolInventoryItem

public final class ResourcePoolInventoryItem extends InventoryItemProperties
The resource pool inventory item.
  • Constructor Details

    • ResourcePoolInventoryItem

      public ResourcePoolInventoryItem()
  • Method Details

    • parent

      public InventoryItemDetails parent()
      Get the parent property: Parent resourcePool inventory resource details.
      Returns:
      the parent value.
    • withParent

      public ResourcePoolInventoryItem withParent(InventoryItemDetails parent)
      Set the parent property: Parent resourcePool inventory resource details.
      Parameters:
      parent - the parent value to set.
      Returns:
      the ResourcePoolInventoryItem object itself.
    • withManagedResourceId

      public ResourcePoolInventoryItem withManagedResourceId(String managedResourceId)
      Set the managedResourceId property: Gets or sets the tracked resource id corresponding to the inventory resource.
      Overrides:
      withManagedResourceId in class InventoryItemProperties
      Parameters:
      managedResourceId - the managedResourceId value to set.
      Returns:
      the InventoryItemProperties object itself.
    • withMoRefId

      public ResourcePoolInventoryItem withMoRefId(String moRefId)
      Set the moRefId property: Gets or sets the MoRef (Managed Object Reference) ID for the inventory item.
      Overrides:
      withMoRefId in class InventoryItemProperties
      Parameters:
      moRefId - the moRefId value to set.
      Returns:
      the InventoryItemProperties object itself.
    • withMoName

      public ResourcePoolInventoryItem withMoName(String moName)
      Set the moName property: Gets or sets the vCenter Managed Object name for the inventory item.
      Overrides:
      withMoName in class InventoryItemProperties
      Parameters:
      moName - the moName value to set.
      Returns:
      the InventoryItemProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class InventoryItemProperties
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.