InventoryList Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. InventoryList
- com.
Implements
public final class InventoryList
implements JsonSerializable<InventoryList>
Model for inventory to be included or excluded from Agentless.
Constructor Summary
| Constructor | Description |
|---|---|
| InventoryList() |
Creates an instance of Inventory |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Inventory |
fromJson(JsonReader jsonReader)
Reads an instance of Inventory |
|
Inventory |
inventoryKind()
Get the inventory |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| String |
value()
Get the value property: Gets or sets the value for inventory type. |
|
Inventory |
withInventoryKind(InventoryKind inventoryKind)
Set the inventory |
|
Inventory |
withValue(String value)
Set the value property: Gets or sets the value for inventory type. |
Methods inherited from java.lang.Object
Constructor Details
InventoryList
public InventoryList()
Creates an instance of InventoryList class.
Method Details
fromJson
public static InventoryList fromJson(JsonReader jsonReader)
Reads an instance of InventoryList from the JsonReader.
Parameters:
Returns:
Throws:
inventoryKind
public InventoryKind inventoryKind()
Get the inventoryKind property: Types for inventory kind.
Returns:
toJson
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: Gets or sets the value for inventory type.
Returns:
withInventoryKind
public InventoryList withInventoryKind(InventoryKind inventoryKind)
Set the inventoryKind property: Types for inventory kind.
Parameters:
Returns:
withValue
public InventoryList withValue(String value)
Set the value property: Gets or sets the value for inventory type.
Parameters:
Returns: