Interface TopicCalculatedField.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TopicCalculatedField.Builder,
,TopicCalculatedField> SdkBuilder<TopicCalculatedField.Builder,
,TopicCalculatedField> SdkPojo
- Enclosing class:
TopicCalculatedField
-
Method Summary
Modifier and TypeMethodDescriptionaggregation
(String aggregation) The default aggregation.aggregation
(DefaultAggregation aggregation) The default aggregation.allowedAggregations
(Collection<AuthorSpecifiedAggregation> allowedAggregations) The list of aggregation types that are allowed for the calculated field.allowedAggregations
(AuthorSpecifiedAggregation... allowedAggregations) The list of aggregation types that are allowed for the calculated field.allowedAggregationsWithStrings
(String... allowedAggregations) The list of aggregation types that are allowed for the calculated field.allowedAggregationsWithStrings
(Collection<String> allowedAggregations) The list of aggregation types that are allowed for the calculated field.calculatedFieldDescription
(String calculatedFieldDescription) The calculated field description.calculatedFieldName
(String calculatedFieldName) The calculated field name.calculatedFieldSynonyms
(String... calculatedFieldSynonyms) The other names or aliases for the calculated field.calculatedFieldSynonyms
(Collection<String> calculatedFieldSynonyms) The other names or aliases for the calculated field.cellValueSynonyms
(Collection<CellValueSynonym> cellValueSynonyms) The other names or aliases for the calculated field cell value.cellValueSynonyms
(Consumer<CellValueSynonym.Builder>... cellValueSynonyms) The other names or aliases for the calculated field cell value.cellValueSynonyms
(CellValueSynonym... cellValueSynonyms) The other names or aliases for the calculated field cell value.columnDataRole
(String columnDataRole) The column data role for a calculated field.columnDataRole
(ColumnDataRole columnDataRole) The column data role for a calculated field.default TopicCalculatedField.Builder
comparativeOrder
(Consumer<ComparativeOrder.Builder> comparativeOrder) The order in which data is displayed for the calculated field when it's used in a comparative context.comparativeOrder
(ComparativeOrder comparativeOrder) The order in which data is displayed for the calculated field when it's used in a comparative context.default TopicCalculatedField.Builder
defaultFormatting
(Consumer<DefaultFormatting.Builder> defaultFormatting) The default formatting definition.defaultFormatting
(DefaultFormatting defaultFormatting) The default formatting definition.disableIndexing
(Boolean disableIndexing) A Boolean value that indicates if a calculated field is visible in the autocomplete.expression
(String expression) The calculated field expression.isIncludedInTopic
(Boolean isIncludedInTopic) A boolean value that indicates if a calculated field is included in the topic.neverAggregateInFilter
(Boolean neverAggregateInFilter) A Boolean value that indicates whether to never aggregate calculated field in filters.nonAdditive
(Boolean nonAdditive) The non additive for the table style target.notAllowedAggregations
(Collection<AuthorSpecifiedAggregation> notAllowedAggregations) The list of aggregation types that are not allowed for the calculated field.notAllowedAggregations
(AuthorSpecifiedAggregation... notAllowedAggregations) The list of aggregation types that are not allowed for the calculated field.notAllowedAggregationsWithStrings
(String... notAllowedAggregations) The list of aggregation types that are not allowed for the calculated field.notAllowedAggregationsWithStrings
(Collection<String> notAllowedAggregations) The list of aggregation types that are not allowed for the calculated field.default TopicCalculatedField.Builder
semanticType
(Consumer<SemanticType.Builder> semanticType) The semantic type.semanticType
(SemanticType semanticType) The semantic type.timeGranularity
(String timeGranularity) The level of time precision that is used to aggregateDateTime
values.timeGranularity
(TopicTimeGranularity timeGranularity) The level of time precision that is used to aggregateDateTime
values.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 Details
-
calculatedFieldName
The calculated field name.
- Parameters:
calculatedFieldName
- The calculated field name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
calculatedFieldDescription
The calculated field description.
- Parameters:
calculatedFieldDescription
- The calculated field description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expression
The calculated field expression.
- Parameters:
expression
- The calculated field expression.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
calculatedFieldSynonyms
The other names or aliases for the calculated field.
- Parameters:
calculatedFieldSynonyms
- The other names or aliases for the calculated field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
calculatedFieldSynonyms
The other names or aliases for the calculated field.
- Parameters:
calculatedFieldSynonyms
- The other names or aliases for the calculated field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isIncludedInTopic
A boolean value that indicates if a calculated field is included in the topic.
- Parameters:
isIncludedInTopic
- A boolean value that indicates if a calculated field is included in the topic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
disableIndexing
A Boolean value that indicates if a calculated field is visible in the autocomplete.
- Parameters:
disableIndexing
- A Boolean value that indicates if a calculated field is visible in the autocomplete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
columnDataRole
The column data role for a calculated field. Valid values for this structure are
DIMENSION
andMEASURE
.- Parameters:
columnDataRole
- The column data role for a calculated field. Valid values for this structure areDIMENSION
andMEASURE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
columnDataRole
The column data role for a calculated field. Valid values for this structure are
DIMENSION
andMEASURE
.- Parameters:
columnDataRole
- The column data role for a calculated field. Valid values for this structure areDIMENSION
andMEASURE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timeGranularity
The level of time precision that is used to aggregate
DateTime
values.- Parameters:
timeGranularity
- The level of time precision that is used to aggregateDateTime
values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timeGranularity
The level of time precision that is used to aggregate
DateTime
values.- Parameters:
timeGranularity
- The level of time precision that is used to aggregateDateTime
values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
defaultFormatting
The default formatting definition.
- Parameters:
defaultFormatting
- The default formatting definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultFormatting
default TopicCalculatedField.Builder defaultFormatting(Consumer<DefaultFormatting.Builder> defaultFormatting) The default formatting definition.
This is a convenience method that creates an instance of theDefaultFormatting.Builder
avoiding the need to create one manually viaDefaultFormatting.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todefaultFormatting(DefaultFormatting)
.- Parameters:
defaultFormatting
- a consumer that will call methods onDefaultFormatting.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
aggregation
The default aggregation. Valid values for this structure are
SUM
,MAX
,MIN
,COUNT
,DISTINCT_COUNT
, andAVERAGE
.- Parameters:
aggregation
- The default aggregation. Valid values for this structure areSUM
,MAX
,MIN
,COUNT
,DISTINCT_COUNT
, andAVERAGE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
aggregation
The default aggregation. Valid values for this structure are
SUM
,MAX
,MIN
,COUNT
,DISTINCT_COUNT
, andAVERAGE
.- Parameters:
aggregation
- The default aggregation. Valid values for this structure areSUM
,MAX
,MIN
,COUNT
,DISTINCT_COUNT
, andAVERAGE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
comparativeOrder
The order in which data is displayed for the calculated field when it's used in a comparative context.
- Parameters:
comparativeOrder
- The order in which data is displayed for the calculated field when it's used in a comparative context.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
comparativeOrder
default TopicCalculatedField.Builder comparativeOrder(Consumer<ComparativeOrder.Builder> comparativeOrder) The order in which data is displayed for the calculated field when it's used in a comparative context.
This is a convenience method that creates an instance of theComparativeOrder.Builder
avoiding the need to create one manually viaComparativeOrder.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocomparativeOrder(ComparativeOrder)
.- Parameters:
comparativeOrder
- a consumer that will call methods onComparativeOrder.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
semanticType
The semantic type.
- Parameters:
semanticType
- The semantic type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
semanticType
The semantic type.
This is a convenience method that creates an instance of theSemanticType.Builder
avoiding the need to create one manually viaSemanticType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosemanticType(SemanticType)
.- Parameters:
semanticType
- a consumer that will call methods onSemanticType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
allowedAggregationsWithStrings
The list of aggregation types that are allowed for the calculated field. Valid values for this structure are
COUNT
,DISTINCT_COUNT
,MIN
,MAX
,MEDIAN
,SUM
,AVERAGE
,STDEV
,STDEVP
,VAR
,VARP
, andPERCENTILE
.- Parameters:
allowedAggregations
- The list of aggregation types that are allowed for the calculated field. Valid values for this structure areCOUNT
,DISTINCT_COUNT
,MIN
,MAX
,MEDIAN
,SUM
,AVERAGE
,STDEV
,STDEVP
,VAR
,VARP
, andPERCENTILE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedAggregationsWithStrings
The list of aggregation types that are allowed for the calculated field. Valid values for this structure are
COUNT
,DISTINCT_COUNT
,MIN
,MAX
,MEDIAN
,SUM
,AVERAGE
,STDEV
,STDEVP
,VAR
,VARP
, andPERCENTILE
.- Parameters:
allowedAggregations
- The list of aggregation types that are allowed for the calculated field. Valid values for this structure areCOUNT
,DISTINCT_COUNT
,MIN
,MAX
,MEDIAN
,SUM
,AVERAGE
,STDEV
,STDEVP
,VAR
,VARP
, andPERCENTILE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedAggregations
TopicCalculatedField.Builder allowedAggregations(Collection<AuthorSpecifiedAggregation> allowedAggregations) The list of aggregation types that are allowed for the calculated field. Valid values for this structure are
COUNT
,DISTINCT_COUNT
,MIN
,MAX
,MEDIAN
,SUM
,AVERAGE
,STDEV
,STDEVP
,VAR
,VARP
, andPERCENTILE
.- Parameters:
allowedAggregations
- The list of aggregation types that are allowed for the calculated field. Valid values for this structure areCOUNT
,DISTINCT_COUNT
,MIN
,MAX
,MEDIAN
,SUM
,AVERAGE
,STDEV
,STDEVP
,VAR
,VARP
, andPERCENTILE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedAggregations
The list of aggregation types that are allowed for the calculated field. Valid values for this structure are
COUNT
,DISTINCT_COUNT
,MIN
,MAX
,MEDIAN
,SUM
,AVERAGE
,STDEV
,STDEVP
,VAR
,VARP
, andPERCENTILE
.- Parameters:
allowedAggregations
- The list of aggregation types that are allowed for the calculated field. Valid values for this structure areCOUNT
,DISTINCT_COUNT
,MIN
,MAX
,MEDIAN
,SUM
,AVERAGE
,STDEV
,STDEVP
,VAR
,VARP
, andPERCENTILE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notAllowedAggregationsWithStrings
TopicCalculatedField.Builder notAllowedAggregationsWithStrings(Collection<String> notAllowedAggregations) The list of aggregation types that are not allowed for the calculated field. Valid values for this structure are
COUNT
,DISTINCT_COUNT
,MIN
,MAX
,MEDIAN
,SUM
,AVERAGE
,STDEV
,STDEVP
,VAR
,VARP
, andPERCENTILE
.- Parameters:
notAllowedAggregations
- The list of aggregation types that are not allowed for the calculated field. Valid values for this structure areCOUNT
,DISTINCT_COUNT
,MIN
,MAX
,MEDIAN
,SUM
,AVERAGE
,STDEV
,STDEVP
,VAR
,VARP
, andPERCENTILE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notAllowedAggregationsWithStrings
The list of aggregation types that are not allowed for the calculated field. Valid values for this structure are
COUNT
,DISTINCT_COUNT
,MIN
,MAX
,MEDIAN
,SUM
,AVERAGE
,STDEV
,STDEVP
,VAR
,VARP
, andPERCENTILE
.- Parameters:
notAllowedAggregations
- The list of aggregation types that are not allowed for the calculated field. Valid values for this structure areCOUNT
,DISTINCT_COUNT
,MIN
,MAX
,MEDIAN
,SUM
,AVERAGE
,STDEV
,STDEVP
,VAR
,VARP
, andPERCENTILE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notAllowedAggregations
TopicCalculatedField.Builder notAllowedAggregations(Collection<AuthorSpecifiedAggregation> notAllowedAggregations) The list of aggregation types that are not allowed for the calculated field. Valid values for this structure are
COUNT
,DISTINCT_COUNT
,MIN
,MAX
,MEDIAN
,SUM
,AVERAGE
,STDEV
,STDEVP
,VAR
,VARP
, andPERCENTILE
.- Parameters:
notAllowedAggregations
- The list of aggregation types that are not allowed for the calculated field. Valid values for this structure areCOUNT
,DISTINCT_COUNT
,MIN
,MAX
,MEDIAN
,SUM
,AVERAGE
,STDEV
,STDEVP
,VAR
,VARP
, andPERCENTILE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notAllowedAggregations
TopicCalculatedField.Builder notAllowedAggregations(AuthorSpecifiedAggregation... notAllowedAggregations) The list of aggregation types that are not allowed for the calculated field. Valid values for this structure are
COUNT
,DISTINCT_COUNT
,MIN
,MAX
,MEDIAN
,SUM
,AVERAGE
,STDEV
,STDEVP
,VAR
,VARP
, andPERCENTILE
.- Parameters:
notAllowedAggregations
- The list of aggregation types that are not allowed for the calculated field. Valid values for this structure areCOUNT
,DISTINCT_COUNT
,MIN
,MAX
,MEDIAN
,SUM
,AVERAGE
,STDEV
,STDEVP
,VAR
,VARP
, andPERCENTILE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
neverAggregateInFilter
A Boolean value that indicates whether to never aggregate calculated field in filters.
- Parameters:
neverAggregateInFilter
- A Boolean value that indicates whether to never aggregate calculated field in filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cellValueSynonyms
The other names or aliases for the calculated field cell value.
- Parameters:
cellValueSynonyms
- The other names or aliases for the calculated field cell value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cellValueSynonyms
The other names or aliases for the calculated field cell value.
- Parameters:
cellValueSynonyms
- The other names or aliases for the calculated field cell value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cellValueSynonyms
TopicCalculatedField.Builder cellValueSynonyms(Consumer<CellValueSynonym.Builder>... cellValueSynonyms) The other names or aliases for the calculated field cell value.
This is a convenience method that creates an instance of theCellValueSynonym.Builder
avoiding the need to create one manually viaCellValueSynonym.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocellValueSynonyms(List<CellValueSynonym>)
.- Parameters:
cellValueSynonyms
- a consumer that will call methods onCellValueSynonym.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nonAdditive
The non additive for the table style target.
- Parameters:
nonAdditive
- The non additive for the table style target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-