Class InventoryRecord.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • targetId

        public InventoryRecord.Builder targetId​(String targetId)
        The OCID of the Inventory target.
        Parameters:
        targetId - the value to set
        Returns:
        this builder
      • targetName

        public InventoryRecord.Builder targetName​(String targetName)
        Name of the target
        Parameters:
        targetName - the value to set
        Returns:
        this builder
      • version

        public InventoryRecord.Builder version​(String version)
        Version of the product on the target
        Parameters:
        version - the value to set
        Returns:
        this builder
      • targetResourceId

        public InventoryRecord.Builder targetResourceId​(String targetResourceId)
        OCID of the resource associated with the target
        Parameters:
        targetResourceId - the value to set
        Returns:
        this builder
      • targetResourceName

        public InventoryRecord.Builder targetResourceName​(String targetResourceName)
        Name of the resource associated with the target
        Parameters:
        targetResourceName - the value to set
        Returns:
        this builder
      • compartmentId

        public InventoryRecord.Builder compartmentId​(String compartmentId)
        OCID of the compartment to which the resource belongs to.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • targetProductId

        public InventoryRecord.Builder targetProductId​(String targetProductId)
        OCID of the product installed at the target path
        Parameters:
        targetProductId - the value to set
        Returns:
        this builder
      • targetProductName

        public InventoryRecord.Builder targetProductName​(String targetProductName)
        Name of the product installed at the target path
        Parameters:
        targetProductName - the value to set
        Returns:
        this builder
      • osType

        public InventoryRecord.Builder osType​(String osType)
        OS installed on the resource associated with the target
        Parameters:
        osType - the value to set
        Returns:
        this builder
      • architecture

        public InventoryRecord.Builder architecture​(String architecture)
        Architecture of the resource associated with the target
        Parameters:
        architecture - the value to set
        Returns:
        this builder
      • timeCreated

        public InventoryRecord.Builder timeCreated​(Date timeCreated)
        The time this resource was created.

        An RFC3339 formatted datetime string.

        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeUpdated

        public InventoryRecord.Builder timeUpdated​(Date timeUpdated)
        The time this resource was last updated.

        An RFC3339 formatted datetime string.

        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder