@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InventoryResultItem extends Object implements Serializable, Cloneable, StructuredPojo
The inventory result item.
Constructor and Description |
---|
InventoryResultItem() |
Modifier and Type | Method and Description |
---|---|
InventoryResultItem |
clone() |
boolean |
equals(Object obj) |
String |
getCaptureTime()
The time inventory item data was captured.
|
List<Map<String,String>> |
getContent()
Contains all the inventory data of the item type.
|
String |
getContentHash()
MD5 hash of the inventory item type contents.
|
String |
getSchemaVersion()
The schema version for the inventory result item/
|
String |
getTypeName()
The name of the inventory result item type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCaptureTime(String captureTime)
The time inventory item data was captured.
|
void |
setContent(Collection<Map<String,String>> content)
Contains all the inventory data of the item type.
|
void |
setContentHash(String contentHash)
MD5 hash of the inventory item type contents.
|
void |
setSchemaVersion(String schemaVersion)
The schema version for the inventory result item/
|
void |
setTypeName(String typeName)
The name of the inventory result item type.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
InventoryResultItem |
withCaptureTime(String captureTime)
The time inventory item data was captured.
|
InventoryResultItem |
withContent(Collection<Map<String,String>> content)
Contains all the inventory data of the item type.
|
InventoryResultItem |
withContent(Map<String,String>... content)
Contains all the inventory data of the item type.
|
InventoryResultItem |
withContentHash(String contentHash)
MD5 hash of the inventory item type contents.
|
InventoryResultItem |
withSchemaVersion(String schemaVersion)
The schema version for the inventory result item/
|
InventoryResultItem |
withTypeName(String typeName)
The name of the inventory result item type.
|
public void setTypeName(String typeName)
The name of the inventory result item type.
typeName
- The name of the inventory result item type.public String getTypeName()
The name of the inventory result item type.
public InventoryResultItem withTypeName(String typeName)
The name of the inventory result item type.
typeName
- The name of the inventory result item type.public void setSchemaVersion(String schemaVersion)
The schema version for the inventory result item/
schemaVersion
- The schema version for the inventory result item/public String getSchemaVersion()
The schema version for the inventory result item/
public InventoryResultItem withSchemaVersion(String schemaVersion)
The schema version for the inventory result item/
schemaVersion
- The schema version for the inventory result item/public void setCaptureTime(String captureTime)
The time inventory item data was captured.
captureTime
- The time inventory item data was captured.public String getCaptureTime()
The time inventory item data was captured.
public InventoryResultItem withCaptureTime(String captureTime)
The time inventory item data was captured.
captureTime
- The time inventory item data was captured.public void setContentHash(String contentHash)
MD5 hash of the inventory item type contents. The content hash is used to determine whether to update inventory information. The PutInventory API does not update the inventory item type contents if the MD5 hash has not changed since last update.
contentHash
- MD5 hash of the inventory item type contents. The content hash is used to determine whether to update
inventory information. The PutInventory API does not update the inventory item type contents if the MD5
hash has not changed since last update.public String getContentHash()
MD5 hash of the inventory item type contents. The content hash is used to determine whether to update inventory information. The PutInventory API does not update the inventory item type contents if the MD5 hash has not changed since last update.
public InventoryResultItem withContentHash(String contentHash)
MD5 hash of the inventory item type contents. The content hash is used to determine whether to update inventory information. The PutInventory API does not update the inventory item type contents if the MD5 hash has not changed since last update.
contentHash
- MD5 hash of the inventory item type contents. The content hash is used to determine whether to update
inventory information. The PutInventory API does not update the inventory item type contents if the MD5
hash has not changed since last update.public List<Map<String,String>> getContent()
Contains all the inventory data of the item type. Results include attribute names and values.
public void setContent(Collection<Map<String,String>> content)
Contains all the inventory data of the item type. Results include attribute names and values.
content
- Contains all the inventory data of the item type. Results include attribute names and values.public InventoryResultItem withContent(Map<String,String>... content)
Contains all the inventory data of the item type. Results include attribute names and values.
NOTE: This method appends the values to the existing list (if any). Use
setContent(java.util.Collection)
or withContent(java.util.Collection)
if you want to override
the existing values.
content
- Contains all the inventory data of the item type. Results include attribute names and values.public InventoryResultItem withContent(Collection<Map<String,String>> content)
Contains all the inventory data of the item type. Results include attribute names and values.
content
- Contains all the inventory data of the item type. Results include attribute names and values.public String toString()
toString
in class Object
Object.toString()
public InventoryResultItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.