Interface InventoryGroup.Builder

All Superinterfaces:
Buildable, CopyableBuilder<InventoryGroup.Builder,InventoryGroup>, SdkBuilder<InventoryGroup.Builder,InventoryGroup>, SdkPojo
Enclosing class:
InventoryGroup

public static interface InventoryGroup.Builder extends SdkPojo, CopyableBuilder<InventoryGroup.Builder,InventoryGroup>
  • Method Details

    • name

      The name of the group.

      Parameters:
      name - The name of the group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filters

      Filters define the criteria for the group. The matchingCount field displays the number of resources that match the criteria. The notMatchingCount field displays the number of resources that don't match the criteria.

      Parameters:
      filters - Filters define the criteria for the group. The matchingCount field displays the number of resources that match the criteria. The notMatchingCount field displays the number of resources that don't match the criteria.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filters

      Filters define the criteria for the group. The matchingCount field displays the number of resources that match the criteria. The notMatchingCount field displays the number of resources that don't match the criteria.

      Parameters:
      filters - Filters define the criteria for the group. The matchingCount field displays the number of resources that match the criteria. The notMatchingCount field displays the number of resources that don't match the criteria.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filters

      Filters define the criteria for the group. The matchingCount field displays the number of resources that match the criteria. The notMatchingCount field displays the number of resources that don't match the criteria.

      This is a convenience method that creates an instance of the InventoryFilter.Builder avoiding the need to create one manually via InventoryFilter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to filters(List<InventoryFilter>).

      Parameters:
      filters - a consumer that will call methods on InventoryFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: