Class InventoryItemDetails
- java.lang.Object
-
- com.azure.resourcemanager.scvmm.models.InventoryItemDetails
-
public final class InventoryItemDetails extends Object
Defines the resource properties.
-
-
Constructor Summary
Constructors Constructor Description InventoryItemDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
inventoryItemId()
Get the inventoryItemId property: Gets or sets the inventory Item ID for the resource.String
inventoryItemName()
Get the inventoryItemName property: Gets or sets the Managed Object name in VMM for the resource.void
validate()
Validates the instance.InventoryItemDetails
withInventoryItemId(String inventoryItemId)
Set the inventoryItemId property: Gets or sets the inventory Item ID for the resource.InventoryItemDetails
withInventoryItemName(String inventoryItemName)
Set the inventoryItemName property: Gets or sets the Managed Object name in VMM for the resource.
-
-
-
Method Detail
-
inventoryItemId
public String inventoryItemId()
Get the inventoryItemId property: Gets or sets the inventory Item ID for the resource.- Returns:
- the inventoryItemId value.
-
withInventoryItemId
public InventoryItemDetails withInventoryItemId(String inventoryItemId)
Set the inventoryItemId property: Gets or sets the inventory Item ID for the resource.- Parameters:
inventoryItemId
- the inventoryItemId value to set.- Returns:
- the InventoryItemDetails object itself.
-
inventoryItemName
public String inventoryItemName()
Get the inventoryItemName property: Gets or sets the Managed Object name in VMM for the resource.- Returns:
- the inventoryItemName value.
-
withInventoryItemName
public InventoryItemDetails withInventoryItemName(String inventoryItemName)
Set the inventoryItemName property: Gets or sets the Managed Object name in VMM for the resource.- Parameters:
inventoryItemName
- the inventoryItemName value to set.- Returns:
- the InventoryItemDetails object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-