Interface TopBottomRankedComputation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TopBottomRankedComputation.Builder,,TopBottomRankedComputation> SdkBuilder<TopBottomRankedComputation.Builder,,TopBottomRankedComputation> SdkPojo
- Enclosing class:
TopBottomRankedComputation
-
Method Summary
Modifier and TypeMethodDescriptioncategory(Consumer<DimensionField.Builder> category) The category field that is used in a computation.category(DimensionField category) The category field that is used in a computation.computationId(String computationId) The ID for a computation.The name of a computation.resultSize(Integer resultSize) The result size of a top and bottom ranked computation.The computation type.type(TopBottomComputationType type) The computation type.value(Consumer<MeasureField.Builder> value) The value field that is used in a computation.value(MeasureField value) The value field that is used in a computation.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
-
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
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
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
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:
-
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
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:
-
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
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:
-
-
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:
-
-