@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InventoryResultEntity extends Object implements Serializable, Cloneable, StructuredPojo
Inventory query results.
Constructor and Description |
---|
InventoryResultEntity() |
Modifier and Type | Method and Description |
---|---|
InventoryResultEntity |
addDataEntry(String key,
InventoryResultItem value)
Add a single Data entry
|
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 |
marshall(ProtocolMarshaller protocolMarshaller) |
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.
|
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()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2020. All rights reserved.