Interface TopBottomRankedComputation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TopBottomRankedComputation.Builder,TopBottomRankedComputation>,SdkBuilder<TopBottomRankedComputation.Builder,TopBottomRankedComputation>,SdkPojo
- Enclosing class:
- TopBottomRankedComputation
public static interface TopBottomRankedComputation.Builder extends SdkPojo, CopyableBuilder<TopBottomRankedComputation.Builder,TopBottomRankedComputation>
-
-
Method Summary
-
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
-
computationId
TopBottomRankedComputation.Builder computationId(String computationId)
The ID for a computation.
- Parameters:
computationId- The ID for a computation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
TopBottomRankedComputation.Builder name(String name)
The name of a computation.
- Parameters:
name- The name of a computation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
category
TopBottomRankedComputation.Builder category(DimensionField category)
The category field that is used in a computation.
- Parameters:
category- The category field that is used in a computation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
category
default TopBottomRankedComputation.Builder category(Consumer<DimensionField.Builder> category)
The category field that is used in a computation.
This is a convenience method that creates an instance of theDimensionField.Builderavoiding the need to create one manually viaDimensionField.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocategory(DimensionField).- Parameters:
category- a consumer that will call methods onDimensionField.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
category(DimensionField)
-
value
TopBottomRankedComputation.Builder value(MeasureField value)
The value field that is used in a computation.
- Parameters:
value- The value field that is used in a computation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
default TopBottomRankedComputation.Builder value(Consumer<MeasureField.Builder> value)
The value field that is used in a computation.
This is a convenience method that creates an instance of theMeasureField.Builderavoiding the need to create one manually viaMeasureField.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalue(MeasureField).- Parameters:
value- a consumer that will call methods onMeasureField.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
value(MeasureField)
-
resultSize
TopBottomRankedComputation.Builder resultSize(Integer resultSize)
The result size of a top and bottom ranked computation.
- Parameters:
resultSize- The result size of a top and bottom ranked computation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
TopBottomRankedComputation.Builder type(String type)
The computation type. Choose one of the following options:
-
TOP: A top ranked computation.
-
BOTTOM: A bottom ranked computation.
- Parameters:
type- The computation type. Choose one of the following options:-
TOP: A top ranked computation.
-
BOTTOM: A bottom ranked computation.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TopBottomComputationType,TopBottomComputationType
-
-
type
TopBottomRankedComputation.Builder type(TopBottomComputationType type)
The computation type. Choose one of the following options:
-
TOP: A top ranked computation.
-
BOTTOM: A bottom ranked computation.
- Parameters:
type- The computation type. Choose one of the following options:-
TOP: A top ranked computation.
-
BOTTOM: A bottom ranked computation.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TopBottomComputationType,TopBottomComputationType
-
-
-