CopyableBuilder<InventoryItem.Builder,InventoryItem>
, SdkBuilder<InventoryItem.Builder,InventoryItem>
public static interface InventoryItem.Builder extends CopyableBuilder<InventoryItem.Builder,InventoryItem>
Modifier and Type | Method | Description |
---|---|---|
InventoryItem.Builder |
captureTime(String captureTime) |
The time the inventory information was collected.
|
InventoryItem.Builder |
content(Collection<Map<String,String>> content) |
The inventory data of the inventory type.
|
InventoryItem.Builder |
content(Map<String,String>... content) |
The inventory data of the inventory type.
|
InventoryItem.Builder |
contentHash(String contentHash) |
MD5 hash of the inventory item type contents.
|
InventoryItem.Builder |
schemaVersion(String schemaVersion) |
The schema version for the inventory item.
|
InventoryItem.Builder |
typeName(String typeName) |
The name of the inventory type.
|
copy
apply, build
InventoryItem.Builder typeName(String typeName)
The name of the inventory type. Default inventory item type names start with AWS. Custom inventory type names will start with Custom. Default inventory item types include the following: AWS:AWSComponent, AWS:Application, AWS:InstanceInformation, AWS:Network, and AWS:WindowsUpdate.
typeName
- The name of the inventory type. Default inventory item type names start with AWS. Custom inventory
type names will start with Custom. Default inventory item types include the following:
AWS:AWSComponent, AWS:Application, AWS:InstanceInformation, AWS:Network, and AWS:WindowsUpdate.InventoryItem.Builder schemaVersion(String schemaVersion)
The schema version for the inventory item.
schemaVersion
- The schema version for the inventory item.InventoryItem.Builder captureTime(String captureTime)
The time the inventory information was collected.
captureTime
- The time the inventory information was collected.InventoryItem.Builder contentHash(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.InventoryItem.Builder content(Collection<Map<String,String>> content)
The inventory data of the inventory type.
content
- The inventory data of the inventory type.InventoryItem.Builder content(Map<String,String>... content)
The inventory data of the inventory type.
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
- The inventory data of the inventory type.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.