Interface CategoryDiffResult.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CategoryDiffResult.Builder,,CategoryDiffResult> SdkBuilder<CategoryDiffResult.Builder,,CategoryDiffResult> SdkPojo
- Enclosing class:
CategoryDiffResult
-
Method Summary
Modifier and TypeMethodDescriptionThe number of items that exist on both domains but differ.The number of items that are identical on both domains.default CategoryDiffResult.Builderitems(Consumer<DiffItems.Builder> items) The names of the items that differ, and for diverging items, the fields that differ.The names of the items that differ, and for diverging items, the fields that differ.sourceOnly(Integer sourceOnly) The number of items that exist only on the source domain.Whether the category was compared successfully.status(DiffStatus status) Whether the category was compared successfully.targetOnly(Integer targetOnly) The number of items that exist only on the target domain.WhetherItemsomits some differences because the category contained more than the response can carry.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
status
Whether the category was compared successfully.
comparedmeans the result is complete;errormeans the category could not be read.- Parameters:
status- Whether the category was compared successfully.comparedmeans the result is complete;errormeans 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.
comparedmeans the result is complete;errormeans the category could not be read.- Parameters:
status- Whether the category was compared successfully.comparedmeans the result is complete;errormeans 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
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
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
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 theDiffItems.Builderavoiding the need to create one manually viaDiffItems.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(DiffItems).- Parameters:
items- a consumer that will call methods onDiffItems.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
truncated
Whether
Itemsomits some differences because the category contained more than the response can carry. The counts remain complete when this istrue.- Parameters:
truncated- WhetherItemsomits some differences because the category contained more than the response can carry. The counts remain complete when this istrue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-