Class ClusterInventoryItem

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

public final class ClusterInventoryItem extends InventoryItemProperties
The cluster inventory item.
  • Constructor Details

    • ClusterInventoryItem

      public ClusterInventoryItem()
  • Method Details

    • withManagedResourceId

      public ClusterInventoryItem 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 ClusterInventoryItem 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 ClusterInventoryItem 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.