Interface GrowthRateComputation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GrowthRateComputation.Builder,GrowthRateComputation>,SdkBuilder<GrowthRateComputation.Builder,GrowthRateComputation>,SdkPojo
- Enclosing class:
- GrowthRateComputation
public static interface GrowthRateComputation.Builder extends SdkPojo, CopyableBuilder<GrowthRateComputation.Builder,GrowthRateComputation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GrowthRateComputation.BuildercomputationId(String computationId)The ID for a computation.GrowthRateComputation.Buildername(String name)The name of a computation.GrowthRateComputation.BuilderperiodSize(Integer periodSize)The period size setup of a growth rate computation.default GrowthRateComputation.Buildertime(Consumer<DimensionField.Builder> time)The time field that is used in a computation.GrowthRateComputation.Buildertime(DimensionField time)The time field that is used in a computation.default GrowthRateComputation.Buildervalue(Consumer<MeasureField.Builder> value)The value field that is used in a computation.GrowthRateComputation.Buildervalue(MeasureField value)The value 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
GrowthRateComputation.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
GrowthRateComputation.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
GrowthRateComputation.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 GrowthRateComputation.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)
-
value
GrowthRateComputation.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 GrowthRateComputation.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)
-
periodSize
GrowthRateComputation.Builder periodSize(Integer periodSize)
The period size setup of a growth rate computation.
- Parameters:
periodSize- The period size setup of a growth rate computation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-