Interface InventoryItem.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<InventoryItem.Builder,InventoryItem>
,SdkBuilder<InventoryItem.Builder,InventoryItem>
,SdkPojo
- Enclosing class:
- InventoryItem
public static interface InventoryItem.Builder extends SdkPojo, CopyableBuilder<InventoryItem.Builder,InventoryItem>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InventoryItem.Builder
captureTime(String captureTime)
The time the inventory information was collected.InventoryItem.Builder
content(Collection<? extends 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.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
typeName
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
, 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
InventoryItem.Builder schemaVersion(String 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
InventoryItem.Builder captureTime(String 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
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 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
InventoryItem.Builder content(Collection<? extends Map<String,String>> 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
InventoryItem.Builder content(Map<String,String>... 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
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 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.
-
-