Interface CategoryDiffResult.Builder

  • Method Details

    • status

      Whether the category was compared successfully. compared means the result is complete; error means the category could not be read.

      Parameters:
      status - Whether the category was compared successfully. compared means the result is complete; error means the category could not be read.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      Whether the category was compared successfully. compared means the result is complete; error means the category could not be read.

      Parameters:
      status - Whether the category was compared successfully. compared means the result is complete; error means the category could not be read.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • inSync

      The number of items that are identical on both domains.

      Parameters:
      inSync - The number of items that are identical on both domains.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceOnly

      CategoryDiffResult.Builder sourceOnly(Integer sourceOnly)

      The number of items that exist only on the source domain.

      Parameters:
      sourceOnly - The number of items that exist only on the source domain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetOnly

      CategoryDiffResult.Builder targetOnly(Integer targetOnly)

      The number of items that exist only on the target domain.

      Parameters:
      targetOnly - The number of items that exist only on the target domain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • diverged

      CategoryDiffResult.Builder diverged(Integer diverged)

      The number of items that exist on both domains but differ.

      Parameters:
      diverged - The number of items that exist on both domains but differ.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      The names of the items that differ, and for diverging items, the fields that differ.

      Parameters:
      items - The names of the items that differ, and for diverging items, the fields that differ.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      The names of the items that differ, and for diverging items, the fields that differ.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to items(DiffItems).

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

      CategoryDiffResult.Builder truncated(Boolean truncated)

      Whether Items omits some differences because the category contained more than the response can carry. The counts remain complete when this is true.

      Parameters:
      truncated - Whether Items omits some differences because the category contained more than the response can carry. The counts remain complete when this is true.
      Returns:
      Returns a reference to this object so that method calls can be chained together.