Interface InventoryItem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InventoryItem.Builder,
,InventoryItem> SdkBuilder<InventoryItem.Builder,
,InventoryItem> SdkPojo
- Enclosing class:
InventoryItem
-
Method Summary
Modifier and TypeMethodDescriptioncaptureTime
(String captureTime) The time the inventory information was collected.content
(Collection<? extends Map<String, String>> content) The inventory data of the inventory type.The inventory data of the inventory type.contentHash
(String contentHash) MD5 hash of the inventory item type contents.A map of associated properties for a specified inventory type.schemaVersion
(String schemaVersion) The schema version for the inventory item.The name of the inventory type.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
, andAWS:WindowsUpdate
.- Parameters:
typeName
- The name of the inventory type. Default inventory item type names start withAWS
. Custom inventory type names will start with Custom. Default inventory item types include the following:AWS:AWSComponent
,AWS:Application
,AWS:InstanceInformation
,AWS:Network
, andAWS:WindowsUpdate
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemaVersion
The schema version for the inventory item.
- Parameters:
schemaVersion
- The schema version for the inventory item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
captureTime
The time the inventory information was collected.
- Parameters:
captureTime
- The time the inventory information was collected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentHash
MD5 hash of the inventory item type contents. The content hash is used to determine whether to update inventory information. The PutInventory API doesn't update the inventory item type contents if the MD5 hash hasn't changed since last update.
- Parameters:
contentHash
- MD5 hash of the inventory item type contents. The content hash is used to determine whether to update inventory information. The PutInventory API doesn't update the inventory item type contents if the MD5 hash hasn't changed since last update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
The inventory data of the inventory type.
- Parameters:
content
- The inventory data of the inventory type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
The inventory data of the inventory type.
- Parameters:
content
- The inventory data of the inventory type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 theAWS:ComplianceItem
type.- Parameters:
context
- A map of associated properties for a specified inventory type. For example, with this attribute, you can specify theExecutionId
,ExecutionType
,ComplianceType
properties of theAWS:ComplianceItem
type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-