Interface MetricComparisonComputation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<MetricComparisonComputation.Builder,MetricComparisonComputation>,SdkBuilder<MetricComparisonComputation.Builder,MetricComparisonComputation>,SdkPojo
- Enclosing class:
- MetricComparisonComputation
public static interface MetricComparisonComputation.Builder extends SdkPojo, CopyableBuilder<MetricComparisonComputation.Builder,MetricComparisonComputation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description MetricComparisonComputation.BuildercomputationId(String computationId)The ID for a computation.default MetricComparisonComputation.BuilderfromValue(Consumer<MeasureField.Builder> fromValue)The field that is used in a metric comparison from value setup.MetricComparisonComputation.BuilderfromValue(MeasureField fromValue)The field that is used in a metric comparison from value setup.MetricComparisonComputation.Buildername(String name)The name of a computation.default MetricComparisonComputation.BuildertargetValue(Consumer<MeasureField.Builder> targetValue)The field that is used in a metric comparison to value setup.MetricComparisonComputation.BuildertargetValue(MeasureField targetValue)The field that is used in a metric comparison to value setup.default MetricComparisonComputation.Buildertime(Consumer<DimensionField.Builder> time)The time field that is used in a computation.MetricComparisonComputation.Buildertime(DimensionField time)The time field that is used in a computation.-
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
MetricComparisonComputation.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
MetricComparisonComputation.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.
-
time
MetricComparisonComputation.Builder time(DimensionField time)
The time field that is used in a computation.
- Parameters:
time- The time field that is used in a computation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
time
default MetricComparisonComputation.Builder time(Consumer<DimensionField.Builder> time)
The time 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 totime(DimensionField).- Parameters:
time- 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:
time(DimensionField)
-
fromValue
MetricComparisonComputation.Builder fromValue(MeasureField fromValue)
The field that is used in a metric comparison from value setup.
- Parameters:
fromValue- The field that is used in a metric comparison from value setup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fromValue
default MetricComparisonComputation.Builder fromValue(Consumer<MeasureField.Builder> fromValue)
The field that is used in a metric comparison from value setup.
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 tofromValue(MeasureField).- Parameters:
fromValue- 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:
fromValue(MeasureField)
-
targetValue
MetricComparisonComputation.Builder targetValue(MeasureField targetValue)
The field that is used in a metric comparison to value setup.
- Parameters:
targetValue- The field that is used in a metric comparison to value setup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetValue
default MetricComparisonComputation.Builder targetValue(Consumer<MeasureField.Builder> targetValue)
The field that is used in a metric comparison to value setup.
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 totargetValue(MeasureField).- Parameters:
targetValue- 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:
targetValue(MeasureField)
-
-