public static interface PeriodToDateComputation.Builder extends SdkPojo, CopyableBuilder<PeriodToDateComputation.Builder,PeriodToDateComputation>
| Modifier and Type | Method and Description |
|---|---|
PeriodToDateComputation.Builder |
computationId(String computationId)
The ID for a computation.
|
PeriodToDateComputation.Builder |
name(String name)
The name of a computation.
|
PeriodToDateComputation.Builder |
periodTimeGranularity(String periodTimeGranularity)
The time granularity setup of period to date computation.
|
PeriodToDateComputation.Builder |
periodTimeGranularity(TimeGranularity periodTimeGranularity)
The time granularity setup of period to date computation.
|
default PeriodToDateComputation.Builder |
time(Consumer<DimensionField.Builder> time)
The time field that is used in a computation.
|
PeriodToDateComputation.Builder |
time(DimensionField time)
The time field that is used in a computation.
|
default PeriodToDateComputation.Builder |
value(Consumer<MeasureField.Builder> value)
The value field that is used in a computation.
|
PeriodToDateComputation.Builder |
value(MeasureField value)
The value field that is used in a computation.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPeriodToDateComputation.Builder computationId(String computationId)
The ID for a computation.
computationId - The ID for a computation.PeriodToDateComputation.Builder name(String name)
The name of a computation.
name - The name of a computation.PeriodToDateComputation.Builder time(DimensionField time)
The time field that is used in a computation.
time - The time field that is used in a computation.default PeriodToDateComputation.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.Builder avoiding the need
to create one manually via DimensionField.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to time(DimensionField).
time - a consumer that will call methods on DimensionField.Buildertime(DimensionField)PeriodToDateComputation.Builder value(MeasureField value)
The value field that is used in a computation.
value - The value field that is used in a computation.default PeriodToDateComputation.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.Builder avoiding the need
to create one manually via MeasureField.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to value(MeasureField).
value - a consumer that will call methods on MeasureField.Buildervalue(MeasureField)PeriodToDateComputation.Builder periodTimeGranularity(String periodTimeGranularity)
The time granularity setup of period to date computation. Choose from the following options:
YEAR: Year to date.
MONTH: Month to date.
periodTimeGranularity - The time granularity setup of period to date computation. Choose from the following options:
YEAR: Year to date.
MONTH: Month to date.
TimeGranularity,
TimeGranularityPeriodToDateComputation.Builder periodTimeGranularity(TimeGranularity periodTimeGranularity)
The time granularity setup of period to date computation. Choose from the following options:
YEAR: Year to date.
MONTH: Month to date.
periodTimeGranularity - The time granularity setup of period to date computation. Choose from the following options:
YEAR: Year to date.
MONTH: Month to date.
TimeGranularity,
TimeGranularityCopyright © 2023. All rights reserved.