Interface InventoryItem.Builder

  • Method Details

    • 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, and AWS:WindowsUpdate.

      Parameters:
      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.
      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

      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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.