public static interface ComparisonConfiguration.Builder extends SdkPojo, CopyableBuilder<ComparisonConfiguration.Builder,ComparisonConfiguration>
| Modifier and Type | Method and Description |
|---|---|
ComparisonConfiguration.Builder |
comparisonFormat(ComparisonFormatConfiguration comparisonFormat)
The format of the comparison.
|
default ComparisonConfiguration.Builder |
comparisonFormat(Consumer<ComparisonFormatConfiguration.Builder> comparisonFormat)
The format of the comparison.
|
ComparisonConfiguration.Builder |
comparisonMethod(ComparisonMethod comparisonMethod)
The method of the comparison.
|
ComparisonConfiguration.Builder |
comparisonMethod(String comparisonMethod)
The method of the comparison.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildComparisonConfiguration.Builder comparisonMethod(String comparisonMethod)
The method of the comparison. Choose from the following options:
DIFFERENCE
PERCENT_DIFFERENCE
PERCENT
comparisonMethod - The method of the comparison. Choose from the following options:
DIFFERENCE
PERCENT_DIFFERENCE
PERCENT
ComparisonMethod,
ComparisonMethodComparisonConfiguration.Builder comparisonMethod(ComparisonMethod comparisonMethod)
The method of the comparison. Choose from the following options:
DIFFERENCE
PERCENT_DIFFERENCE
PERCENT
comparisonMethod - The method of the comparison. Choose from the following options:
DIFFERENCE
PERCENT_DIFFERENCE
PERCENT
ComparisonMethod,
ComparisonMethodComparisonConfiguration.Builder comparisonFormat(ComparisonFormatConfiguration comparisonFormat)
The format of the comparison.
comparisonFormat - The format of the comparison.default ComparisonConfiguration.Builder comparisonFormat(Consumer<ComparisonFormatConfiguration.Builder> comparisonFormat)
The format of the comparison.
This is a convenience method that creates an instance of theComparisonFormatConfiguration.Builder
avoiding the need to create one manually via ComparisonFormatConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to comparisonFormat(ComparisonFormatConfiguration).
comparisonFormat - a consumer that will call methods on ComparisonFormatConfiguration.BuildercomparisonFormat(ComparisonFormatConfiguration)Copyright © 2023. All rights reserved.