public static interface InventoryItem.Builder extends CopyableBuilder<InventoryItem.Builder,InventoryItem>
Modifier and Type | Method and 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 |
context(Map<String,String> context)
A map of associated properties for a specified inventory type.
|
InventoryItem.Builder |
schemaVersion(String schemaVersion)
The schema version for the inventory item.
|
InventoryItem.Builder |
typeName(String typeName)
The name of the inventory type.
|
copy
applyMutation, 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.
content
- The inventory data of the inventory type.InventoryItem.Builder context(Map<String,String> context)
A map of associated properties for a specified inventory type. For example, with this attribute, you can
specify the ExecutionId
, ExecutionType
, ComplianceType
properties of
the AWS:ComplianceItem
type.
context
- A map of associated properties for a specified inventory type. For example, with this attribute, you
can specify the ExecutionId
, ExecutionType
, ComplianceType
properties of the AWS:ComplianceItem
type.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.