@Generated(value="software.amazon.awssdk:codegen") public final class InventoryResultEntity extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InventoryResultEntity.Builder,InventoryResultEntity>
Inventory query results.
Modifier and Type | Class and Description |
---|---|
static interface |
InventoryResultEntity.Builder |
Modifier and Type | Method and Description |
---|---|
static InventoryResultEntity.Builder |
builder() |
Map<String,InventoryResultItem> |
data()
The data section in the inventory result entity JSON.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasData()
Returns true if the Data property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
int |
hashCode() |
String |
id()
ID of the inventory result entity.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends InventoryResultEntity.Builder> |
serializableBuilderClass() |
InventoryResultEntity.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public 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.
public boolean hasData()
public Map<String,InventoryResultItem> data()
The data section in the inventory result entity JSON.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasData()
to see if a value was sent in this field.
public InventoryResultEntity.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<InventoryResultEntity.Builder,InventoryResultEntity>
public static InventoryResultEntity.Builder builder()
public static Class<? extends InventoryResultEntity.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2020. All rights reserved.