Interface InventoryConfiguration.Builder

    • Method Detail

      • destination

        InventoryConfiguration.Builder destination​(InventoryDestination destination)

        Contains information about where to publish the inventory results.

        Parameters:
        destination - Contains information about where to publish the inventory results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isEnabled

        InventoryConfiguration.Builder isEnabled​(Boolean isEnabled)

        Specifies whether the inventory is enabled or disabled. If set to True, an inventory list is generated. If set to False, no inventory list is generated.

        Parameters:
        isEnabled - Specifies whether the inventory is enabled or disabled. If set to True, an inventory list is generated. If set to False, no inventory list is generated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filter

        InventoryConfiguration.Builder filter​(InventoryFilter filter)

        Specifies an inventory filter. The inventory only includes objects that meet the filter's criteria.

        Parameters:
        filter - Specifies an inventory filter. The inventory only includes objects that meet the filter's criteria.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • id

        InventoryConfiguration.Builder id​(String id)

        The ID used to identify the inventory configuration.

        Parameters:
        id - The ID used to identify the inventory configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • includedObjectVersions

        InventoryConfiguration.Builder includedObjectVersions​(String includedObjectVersions)

        Object versions to include in the inventory list. If set to All, the list includes all the object versions, which adds the version-related fields VersionId, IsLatest, and DeleteMarker to the list. If set to Current, the list does not contain these version-related fields.

        Parameters:
        includedObjectVersions - Object versions to include in the inventory list. If set to All, the list includes all the object versions, which adds the version-related fields VersionId, IsLatest, and DeleteMarker to the list. If set to Current, the list does not contain these version-related fields.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        InventoryIncludedObjectVersions, InventoryIncludedObjectVersions
      • includedObjectVersions

        InventoryConfiguration.Builder includedObjectVersions​(InventoryIncludedObjectVersions includedObjectVersions)

        Object versions to include in the inventory list. If set to All, the list includes all the object versions, which adds the version-related fields VersionId, IsLatest, and DeleteMarker to the list. If set to Current, the list does not contain these version-related fields.

        Parameters:
        includedObjectVersions - Object versions to include in the inventory list. If set to All, the list includes all the object versions, which adds the version-related fields VersionId, IsLatest, and DeleteMarker to the list. If set to Current, the list does not contain these version-related fields.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        InventoryIncludedObjectVersions, InventoryIncludedObjectVersions
      • optionalFieldsWithStrings

        InventoryConfiguration.Builder optionalFieldsWithStrings​(Collection<String> optionalFields)

        Contains the optional fields that are included in the inventory results.

        Parameters:
        optionalFields - Contains the optional fields that are included in the inventory results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • optionalFieldsWithStrings

        InventoryConfiguration.Builder optionalFieldsWithStrings​(String... optionalFields)

        Contains the optional fields that are included in the inventory results.

        Parameters:
        optionalFields - Contains the optional fields that are included in the inventory results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • optionalFields

        InventoryConfiguration.Builder optionalFields​(Collection<InventoryOptionalField> optionalFields)

        Contains the optional fields that are included in the inventory results.

        Parameters:
        optionalFields - Contains the optional fields that are included in the inventory results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • optionalFields

        InventoryConfiguration.Builder optionalFields​(InventoryOptionalField... optionalFields)

        Contains the optional fields that are included in the inventory results.

        Parameters:
        optionalFields - Contains the optional fields that are included in the inventory results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • schedule

        InventoryConfiguration.Builder schedule​(InventorySchedule schedule)

        Specifies the schedule for generating inventory results.

        Parameters:
        schedule - Specifies the schedule for generating inventory results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.