Interface ComparisonConfiguration.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ComparisonConfiguration.Builder,ComparisonConfiguration>
,SdkBuilder<ComparisonConfiguration.Builder,ComparisonConfiguration>
,SdkPojo
- Enclosing class:
- ComparisonConfiguration
public static interface ComparisonConfiguration.Builder extends SdkPojo, CopyableBuilder<ComparisonConfiguration.Builder,ComparisonConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ComparisonConfiguration.Builder
comparisonFormat(Consumer<ComparisonFormatConfiguration.Builder> comparisonFormat)
The format of the comparison.ComparisonConfiguration.Builder
comparisonFormat(ComparisonFormatConfiguration comparisonFormat)
The format of the comparison.ComparisonConfiguration.Builder
comparisonMethod(String comparisonMethod)
The method of the comparison.ComparisonConfiguration.Builder
comparisonMethod(ComparisonMethod comparisonMethod)
The method of the comparison.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
comparisonMethod
ComparisonConfiguration.Builder comparisonMethod(String 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
,ComparisonMethod
-
-
comparisonMethod
ComparisonConfiguration.Builder comparisonMethod(ComparisonMethod 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
,ComparisonMethod
-
-
comparisonFormat
ComparisonConfiguration.Builder comparisonFormat(ComparisonFormatConfiguration 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.Builder
avoiding the need to create one manually viaComparisonFormatConfiguration.builder()
.When the
Consumer
completes,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:
comparisonFormat(ComparisonFormatConfiguration)
-
-