Class CfnTopic.TopicCalculatedFieldProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTopic.TopicCalculatedFieldProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTopic.TopicCalculatedFieldProperty>
- Enclosing interface:
CfnTopic.TopicCalculatedFieldProperty
@Stability(Stable)
public static final class CfnTopic.TopicCalculatedFieldProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTopic.TopicCalculatedFieldProperty>
A builder for
CfnTopic.TopicCalculatedFieldProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaggregation(String aggregation) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getAggregation()allowedAggregations(List<String> allowedAggregations) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getAllowedAggregations()build()Builds the configured instance.calculatedFieldDescription(String calculatedFieldDescription) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getCalculatedFieldDescription()calculatedFieldName(String calculatedFieldName) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getCalculatedFieldName()calculatedFieldSynonyms(List<String> calculatedFieldSynonyms) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getCalculatedFieldSynonyms()cellValueSynonyms(List<? extends Object> cellValueSynonyms) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getCellValueSynonyms()cellValueSynonyms(IResolvable cellValueSynonyms) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getCellValueSynonyms()columnDataRole(String columnDataRole) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getColumnDataRole()comparativeOrder(IResolvable comparativeOrder) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getComparativeOrder()comparativeOrder(CfnTopic.ComparativeOrderProperty comparativeOrder) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getComparativeOrder()defaultFormatting(IResolvable defaultFormatting) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getDefaultFormatting()defaultFormatting(CfnTopic.DefaultFormattingProperty defaultFormatting) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getDefaultFormatting()disableIndexing(Boolean disableIndexing) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getDisableIndexing()disableIndexing(IResolvable disableIndexing) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getDisableIndexing()expression(String expression) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getExpression()isIncludedInTopic(Boolean isIncludedInTopic) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getIsIncludedInTopic()isIncludedInTopic(IResolvable isIncludedInTopic) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getIsIncludedInTopic()neverAggregateInFilter(Boolean neverAggregateInFilter) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getNeverAggregateInFilter()neverAggregateInFilter(IResolvable neverAggregateInFilter) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getNeverAggregateInFilter()nonAdditive(Boolean nonAdditive) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getNonAdditive()nonAdditive(IResolvable nonAdditive) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getNonAdditive()notAllowedAggregations(List<String> notAllowedAggregations) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getNotAllowedAggregations()semanticType(IResolvable semanticType) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getSemanticType()semanticType(CfnTopic.SemanticTypeProperty semanticType) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getSemanticType()timeGranularity(String timeGranularity) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getTimeGranularity()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
calculatedFieldName
@Stability(Stable) public CfnTopic.TopicCalculatedFieldProperty.Builder calculatedFieldName(String calculatedFieldName) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getCalculatedFieldName()- Parameters:
calculatedFieldName- The calculated field name. This parameter is required.- Returns:
this
-
expression
@Stability(Stable) public CfnTopic.TopicCalculatedFieldProperty.Builder expression(String expression) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getExpression()- Parameters:
expression- The calculated field expression. This parameter is required.- Returns:
this
-
aggregation
@Stability(Stable) public CfnTopic.TopicCalculatedFieldProperty.Builder aggregation(String aggregation) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getAggregation()- Parameters:
aggregation- The default aggregation. Valid values for this structure areSUM,MAX,MIN,COUNT,DISTINCT_COUNT, andAVERAGE.- Returns:
this
-
allowedAggregations
@Stability(Stable) public CfnTopic.TopicCalculatedFieldProperty.Builder allowedAggregations(List<String> allowedAggregations) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getAllowedAggregations()- 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:
this
-
calculatedFieldDescription
@Stability(Stable) public CfnTopic.TopicCalculatedFieldProperty.Builder calculatedFieldDescription(String calculatedFieldDescription) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getCalculatedFieldDescription()- Parameters:
calculatedFieldDescription- The calculated field description.- Returns:
this
-
calculatedFieldSynonyms
@Stability(Stable) public CfnTopic.TopicCalculatedFieldProperty.Builder calculatedFieldSynonyms(List<String> calculatedFieldSynonyms) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getCalculatedFieldSynonyms()- Parameters:
calculatedFieldSynonyms- The other names or aliases for the calculated field.- Returns:
this
-
cellValueSynonyms
@Stability(Stable) public CfnTopic.TopicCalculatedFieldProperty.Builder cellValueSynonyms(IResolvable cellValueSynonyms) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getCellValueSynonyms()- Parameters:
cellValueSynonyms- The other names or aliases for the calculated field cell value.- Returns:
this
-
cellValueSynonyms
@Stability(Stable) public CfnTopic.TopicCalculatedFieldProperty.Builder cellValueSynonyms(List<? extends Object> cellValueSynonyms) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getCellValueSynonyms()- Parameters:
cellValueSynonyms- The other names or aliases for the calculated field cell value.- Returns:
this
-
columnDataRole
@Stability(Stable) public CfnTopic.TopicCalculatedFieldProperty.Builder columnDataRole(String columnDataRole) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getColumnDataRole()- Parameters:
columnDataRole- The column data role for a calculated field. Valid values for this structure areDIMENSIONandMEASURE.- Returns:
this
-
comparativeOrder
@Stability(Stable) public CfnTopic.TopicCalculatedFieldProperty.Builder comparativeOrder(IResolvable comparativeOrder) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getComparativeOrder()- Parameters:
comparativeOrder- The order in which data is displayed for the calculated field when it's used in a comparative context.- Returns:
this
-
comparativeOrder
@Stability(Stable) public CfnTopic.TopicCalculatedFieldProperty.Builder comparativeOrder(CfnTopic.ComparativeOrderProperty comparativeOrder) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getComparativeOrder()- Parameters:
comparativeOrder- The order in which data is displayed for the calculated field when it's used in a comparative context.- Returns:
this
-
defaultFormatting
@Stability(Stable) public CfnTopic.TopicCalculatedFieldProperty.Builder defaultFormatting(IResolvable defaultFormatting) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getDefaultFormatting()- Parameters:
defaultFormatting- The default formatting definition.- Returns:
this
-
defaultFormatting
@Stability(Stable) public CfnTopic.TopicCalculatedFieldProperty.Builder defaultFormatting(CfnTopic.DefaultFormattingProperty defaultFormatting) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getDefaultFormatting()- Parameters:
defaultFormatting- The default formatting definition.- Returns:
this
-
disableIndexing
@Stability(Stable) public CfnTopic.TopicCalculatedFieldProperty.Builder disableIndexing(Boolean disableIndexing) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getDisableIndexing()- Parameters:
disableIndexing- A Boolean value that indicates if a calculated field is visible in the autocomplete.- Returns:
this
-
disableIndexing
@Stability(Stable) public CfnTopic.TopicCalculatedFieldProperty.Builder disableIndexing(IResolvable disableIndexing) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getDisableIndexing()- Parameters:
disableIndexing- A Boolean value that indicates if a calculated field is visible in the autocomplete.- Returns:
this
-
isIncludedInTopic
@Stability(Stable) public CfnTopic.TopicCalculatedFieldProperty.Builder isIncludedInTopic(Boolean isIncludedInTopic) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getIsIncludedInTopic()- Parameters:
isIncludedInTopic- A boolean value that indicates if a calculated field is included in the topic.- Returns:
this
-
isIncludedInTopic
@Stability(Stable) public CfnTopic.TopicCalculatedFieldProperty.Builder isIncludedInTopic(IResolvable isIncludedInTopic) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getIsIncludedInTopic()- Parameters:
isIncludedInTopic- A boolean value that indicates if a calculated field is included in the topic.- Returns:
this
-
neverAggregateInFilter
@Stability(Stable) public CfnTopic.TopicCalculatedFieldProperty.Builder neverAggregateInFilter(Boolean neverAggregateInFilter) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getNeverAggregateInFilter()- Parameters:
neverAggregateInFilter- A Boolean value that indicates whether to never aggregate calculated field in filters.- Returns:
this
-
neverAggregateInFilter
@Stability(Stable) public CfnTopic.TopicCalculatedFieldProperty.Builder neverAggregateInFilter(IResolvable neverAggregateInFilter) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getNeverAggregateInFilter()- Parameters:
neverAggregateInFilter- A Boolean value that indicates whether to never aggregate calculated field in filters.- Returns:
this
-
nonAdditive
@Stability(Stable) public CfnTopic.TopicCalculatedFieldProperty.Builder nonAdditive(Boolean nonAdditive) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getNonAdditive()- Parameters:
nonAdditive- The non additive for the table style target.- Returns:
this
-
nonAdditive
@Stability(Stable) public CfnTopic.TopicCalculatedFieldProperty.Builder nonAdditive(IResolvable nonAdditive) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getNonAdditive()- Parameters:
nonAdditive- The non additive for the table style target.- Returns:
this
-
notAllowedAggregations
@Stability(Stable) public CfnTopic.TopicCalculatedFieldProperty.Builder notAllowedAggregations(List<String> notAllowedAggregations) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getNotAllowedAggregations()- 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:
this
-
semanticType
@Stability(Stable) public CfnTopic.TopicCalculatedFieldProperty.Builder semanticType(IResolvable semanticType) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getSemanticType()- Parameters:
semanticType- The semantic type.- Returns:
this
-
semanticType
@Stability(Stable) public CfnTopic.TopicCalculatedFieldProperty.Builder semanticType(CfnTopic.SemanticTypeProperty semanticType) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getSemanticType()- Parameters:
semanticType- The semantic type.- Returns:
this
-
timeGranularity
@Stability(Stable) public CfnTopic.TopicCalculatedFieldProperty.Builder timeGranularity(String timeGranularity) Sets the value ofCfnTopic.TopicCalculatedFieldProperty.getTimeGranularity()- Parameters:
timeGranularity- The level of time precision that is used to aggregateDateTimevalues.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTopic.TopicCalculatedFieldProperty>- Returns:
- a new instance of
CfnTopic.TopicCalculatedFieldProperty - Throws:
NullPointerException- if any required attribute was not provided
-