@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InventoryResultEntity extends Object implements Serializable, Cloneable
Inventory query results.
Constructor and Description |
---|
InventoryResultEntity() |
Modifier and Type | Method and Description |
---|---|
InventoryResultEntity |
addDataEntry(String key,
InventoryResultItem value) |
InventoryResultEntity |
clearDataEntries()
Removes all the entries added into Data.
|
InventoryResultEntity |
clone() |
boolean |
equals(Object obj) |
Map<String,InventoryResultItem> |
getData()
The data section in the inventory result entity json.
|
String |
getId()
ID of the inventory result entity.
|
int |
hashCode() |
void |
setData(Map<String,InventoryResultItem> data)
The data section in the inventory result entity json.
|
void |
setId(String id)
ID of the inventory result entity.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
InventoryResultEntity |
withData(Map<String,InventoryResultItem> data)
The data section in the inventory result entity json.
|
InventoryResultEntity |
withId(String id)
ID of the inventory result entity.
|
public void setId(String id)
ID of the inventory result entity. For example, for managed instance inventory the result will be the managed instance ID. For EC2 instance inventory, the result will be the instance ID.
id
- ID of the inventory result entity. For example, for managed instance inventory the result will be the
managed instance ID. For EC2 instance inventory, the result will be the instance ID.public String getId()
ID of the inventory result entity. For example, for managed instance inventory the result will be the managed instance ID. For EC2 instance inventory, the result will be the instance ID.
public InventoryResultEntity withId(String id)
ID of the inventory result entity. For example, for managed instance inventory the result will be the managed instance ID. For EC2 instance inventory, the result will be the instance ID.
id
- ID of the inventory result entity. For example, for managed instance inventory the result will be the
managed instance ID. For EC2 instance inventory, the result will be the instance ID.public Map<String,InventoryResultItem> getData()
The data section in the inventory result entity json.
public void setData(Map<String,InventoryResultItem> data)
The data section in the inventory result entity json.
data
- The data section in the inventory result entity json.public InventoryResultEntity withData(Map<String,InventoryResultItem> data)
The data section in the inventory result entity json.
data
- The data section in the inventory result entity json.public InventoryResultEntity addDataEntry(String key, InventoryResultItem value)
public InventoryResultEntity clearDataEntries()
public String toString()
toString
in class Object
Object.toString()
public InventoryResultEntity clone()
Copyright © 2017. All rights reserved.