Interface ComparisonConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ComparisonConfiguration.Builder,,ComparisonConfiguration> SdkBuilder<ComparisonConfiguration.Builder,,ComparisonConfiguration> SdkPojo
- Enclosing class:
ComparisonConfiguration
@Mutable
@NotThreadSafe
public static interface ComparisonConfiguration.Builder
extends SdkPojo, CopyableBuilder<ComparisonConfiguration.Builder,ComparisonConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ComparisonConfiguration.BuildercomparisonFormat(Consumer<ComparisonFormatConfiguration.Builder> comparisonFormat) The format of the comparison.comparisonFormat(ComparisonFormatConfiguration comparisonFormat) The format of the comparison.comparisonMethod(String comparisonMethod) The method of the comparison.comparisonMethod(ComparisonMethod comparisonMethod) The method of the comparison.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
-
comparisonMethod
The method of the comparison. Choose from the following options:
-
DIFFERENCE -
PERCENT_DIFFERENCE -
PERCENT
- Parameters:
comparisonMethod- The method of the comparison. Choose from the following options:-
DIFFERENCE -
PERCENT_DIFFERENCE -
PERCENT
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
comparisonMethod
The method of the comparison. Choose from the following options:
-
DIFFERENCE -
PERCENT_DIFFERENCE -
PERCENT
- Parameters:
comparisonMethod- The method of the comparison. Choose from the following options:-
DIFFERENCE -
PERCENT_DIFFERENCE -
PERCENT
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
comparisonFormat
The format of the comparison.
- Parameters:
comparisonFormat- The format of the comparison.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
comparisonFormat
default ComparisonConfiguration.Builder comparisonFormat(Consumer<ComparisonFormatConfiguration.Builder> comparisonFormat) The format of the comparison.
This is a convenience method that creates an instance of theComparisonFormatConfiguration.Builderavoiding the need to create one manually viaComparisonFormatConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocomparisonFormat(ComparisonFormatConfiguration).- Parameters:
comparisonFormat- a consumer that will call methods onComparisonFormatConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-