Interface MetricComparisonComputation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MetricComparisonComputation.Builder,,MetricComparisonComputation> SdkBuilder<MetricComparisonComputation.Builder,,MetricComparisonComputation> SdkPojo
- Enclosing class:
MetricComparisonComputation
-
Method Summary
Modifier and TypeMethodDescriptioncomputationId(String computationId) The ID for a computation.fromValue(Consumer<MeasureField.Builder> fromValue) The field that is used in a metric comparison from value setup.fromValue(MeasureField fromValue) The field that is used in a metric comparison from value setup.The name of a computation.targetValue(Consumer<MeasureField.Builder> targetValue) The field that is used in a metric comparison to value setup.targetValue(MeasureField targetValue) The field that is used in a metric comparison to value setup.time(Consumer<DimensionField.Builder> time) The time field that is used in a computation.time(DimensionField time) The time 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.
-
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
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:
-
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
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:
-
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
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:
-