Interface TopicCalculatedField.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TopicCalculatedField.Builder,TopicCalculatedField>,SdkBuilder<TopicCalculatedField.Builder,TopicCalculatedField>,SdkPojo
- Enclosing class:
- TopicCalculatedField
@Mutable @NotThreadSafe public static interface TopicCalculatedField.Builder extends SdkPojo, CopyableBuilder<TopicCalculatedField.Builder,TopicCalculatedField>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TopicCalculatedField.Builderaggregation(String aggregation)The default aggregation.TopicCalculatedField.Builderaggregation(DefaultAggregation aggregation)The default aggregation.TopicCalculatedField.BuilderallowedAggregations(Collection<AuthorSpecifiedAggregation> allowedAggregations)The list of aggregation types that are allowed for the calculated field.TopicCalculatedField.BuilderallowedAggregations(AuthorSpecifiedAggregation... allowedAggregations)The list of aggregation types that are allowed for the calculated field.TopicCalculatedField.BuilderallowedAggregationsWithStrings(String... allowedAggregations)The list of aggregation types that are allowed for the calculated field.TopicCalculatedField.BuilderallowedAggregationsWithStrings(Collection<String> allowedAggregations)The list of aggregation types that are allowed for the calculated field.TopicCalculatedField.BuildercalculatedFieldDescription(String calculatedFieldDescription)The calculated field description.TopicCalculatedField.BuildercalculatedFieldName(String calculatedFieldName)The calculated field name.TopicCalculatedField.BuildercalculatedFieldSynonyms(String... calculatedFieldSynonyms)The other names or aliases for the calculated field.TopicCalculatedField.BuildercalculatedFieldSynonyms(Collection<String> calculatedFieldSynonyms)The other names or aliases for the calculated field.TopicCalculatedField.BuildercellValueSynonyms(Collection<CellValueSynonym> cellValueSynonyms)The other names or aliases for the calculated field cell value.TopicCalculatedField.BuildercellValueSynonyms(Consumer<CellValueSynonym.Builder>... cellValueSynonyms)The other names or aliases for the calculated field cell value.TopicCalculatedField.BuildercellValueSynonyms(CellValueSynonym... cellValueSynonyms)The other names or aliases for the calculated field cell value.TopicCalculatedField.BuildercolumnDataRole(String columnDataRole)The column data role for a calculated field.TopicCalculatedField.BuildercolumnDataRole(ColumnDataRole columnDataRole)The column data role for a calculated field.default TopicCalculatedField.BuildercomparativeOrder(Consumer<ComparativeOrder.Builder> comparativeOrder)The order in which data is displayed for the calculated field when it's used in a comparative context.TopicCalculatedField.BuildercomparativeOrder(ComparativeOrder comparativeOrder)The order in which data is displayed for the calculated field when it's used in a comparative context.default TopicCalculatedField.BuilderdefaultFormatting(Consumer<DefaultFormatting.Builder> defaultFormatting)The default formatting definition.TopicCalculatedField.BuilderdefaultFormatting(DefaultFormatting defaultFormatting)The default formatting definition.TopicCalculatedField.BuilderdisableIndexing(Boolean disableIndexing)A Boolean value that indicates if a calculated field is visible in the autocomplete.TopicCalculatedField.Builderexpression(String expression)The calculated field expression.TopicCalculatedField.BuilderisIncludedInTopic(Boolean isIncludedInTopic)A boolean value that indicates if a calculated field is included in the topic.TopicCalculatedField.BuilderneverAggregateInFilter(Boolean neverAggregateInFilter)A Boolean value that indicates whether to never aggregate calculated field in filters.TopicCalculatedField.BuildernonAdditive(Boolean nonAdditive)The non additive for the table style target.TopicCalculatedField.BuildernotAllowedAggregations(Collection<AuthorSpecifiedAggregation> notAllowedAggregations)The list of aggregation types that are not allowed for the calculated field.TopicCalculatedField.BuildernotAllowedAggregations(AuthorSpecifiedAggregation... notAllowedAggregations)The list of aggregation types that are not allowed for the calculated field.TopicCalculatedField.BuildernotAllowedAggregationsWithStrings(String... notAllowedAggregations)The list of aggregation types that are not allowed for the calculated field.TopicCalculatedField.BuildernotAllowedAggregationsWithStrings(Collection<String> notAllowedAggregations)The list of aggregation types that are not allowed for the calculated field.default TopicCalculatedField.BuildersemanticType(Consumer<SemanticType.Builder> semanticType)The semantic type.TopicCalculatedField.BuildersemanticType(SemanticType semanticType)The semantic type.TopicCalculatedField.BuildertimeGranularity(String timeGranularity)The level of time precision that is used to aggregateDateTimevalues.TopicCalculatedField.BuildertimeGranularity(TopicTimeGranularity timeGranularity)The level of time precision that is used to aggregateDateTimevalues.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
calculatedFieldName
TopicCalculatedField.Builder calculatedFieldName(String 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
TopicCalculatedField.Builder calculatedFieldDescription(String 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
TopicCalculatedField.Builder expression(String 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
TopicCalculatedField.Builder calculatedFieldSynonyms(Collection<String> 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
TopicCalculatedField.Builder calculatedFieldSynonyms(String... 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
TopicCalculatedField.Builder isIncludedInTopic(Boolean 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
TopicCalculatedField.Builder disableIndexing(Boolean 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
TopicCalculatedField.Builder columnDataRole(String columnDataRole)
The column data role for a calculated field. Valid values for this structure are
DIMENSIONandMEASURE.- Parameters:
columnDataRole- The column data role for a calculated field. Valid values for this structure areDIMENSIONandMEASURE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ColumnDataRole,ColumnDataRole
-
columnDataRole
TopicCalculatedField.Builder columnDataRole(ColumnDataRole columnDataRole)
The column data role for a calculated field. Valid values for this structure are
DIMENSIONandMEASURE.- Parameters:
columnDataRole- The column data role for a calculated field. Valid values for this structure areDIMENSIONandMEASURE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ColumnDataRole,ColumnDataRole
-
timeGranularity
TopicCalculatedField.Builder timeGranularity(String timeGranularity)
The level of time precision that is used to aggregate
DateTimevalues.- Parameters:
timeGranularity- The level of time precision that is used to aggregateDateTimevalues.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TopicTimeGranularity,TopicTimeGranularity
-
timeGranularity
TopicCalculatedField.Builder timeGranularity(TopicTimeGranularity timeGranularity)
The level of time precision that is used to aggregate
DateTimevalues.- Parameters:
timeGranularity- The level of time precision that is used to aggregateDateTimevalues.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TopicTimeGranularity,TopicTimeGranularity
-
defaultFormatting
TopicCalculatedField.Builder defaultFormatting(DefaultFormatting 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.Builderavoiding the need to create one manually viaDefaultFormatting.builder().When the
Consumercompletes,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:
defaultFormatting(DefaultFormatting)
-
aggregation
TopicCalculatedField.Builder aggregation(String 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:
DefaultAggregation,DefaultAggregation
-
aggregation
TopicCalculatedField.Builder aggregation(DefaultAggregation 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:
DefaultAggregation,DefaultAggregation
-
comparativeOrder
TopicCalculatedField.Builder comparativeOrder(ComparativeOrder 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.Builderavoiding the need to create one manually viaComparativeOrder.builder().When the
Consumercompletes,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:
comparativeOrder(ComparativeOrder)
-
semanticType
TopicCalculatedField.Builder semanticType(SemanticType 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
default TopicCalculatedField.Builder semanticType(Consumer<SemanticType.Builder> semanticType)
The semantic type.
This is a convenience method that creates an instance of theSemanticType.Builderavoiding the need to create one manually viaSemanticType.builder().When the
Consumercompletes,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:
semanticType(SemanticType)
-
allowedAggregationsWithStrings
TopicCalculatedField.Builder allowedAggregationsWithStrings(Collection<String> 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.
-
allowedAggregationsWithStrings
TopicCalculatedField.Builder allowedAggregationsWithStrings(String... 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
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
TopicCalculatedField.Builder allowedAggregations(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.
-
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
TopicCalculatedField.Builder notAllowedAggregationsWithStrings(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.
-
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
TopicCalculatedField.Builder neverAggregateInFilter(Boolean 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
TopicCalculatedField.Builder cellValueSynonyms(Collection<CellValueSynonym> 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(CellValueSynonym... 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.Builderavoiding the need to create one manually viaCellValueSynonym.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#cellValueSynonyms(List.) - 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:
#cellValueSynonyms(java.util.Collection)
-
nonAdditive
TopicCalculatedField.Builder nonAdditive(Boolean 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.
-
-