Class CfnTopic.TopicColumnProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTopic.TopicColumnProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTopic.TopicColumnProperty>
- Enclosing interface:
CfnTopic.TopicColumnProperty
@Stability(Stable)
public static final class CfnTopic.TopicColumnProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTopic.TopicColumnProperty>
A builder for
CfnTopic.TopicColumnProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaggregation(String aggregation) Sets the value ofCfnTopic.TopicColumnProperty.getAggregation()allowedAggregations(List<String> allowedAggregations) Sets the value ofCfnTopic.TopicColumnProperty.getAllowedAggregations()build()Builds the configured instance.cellValueSynonyms(List<? extends Object> cellValueSynonyms) Sets the value ofCfnTopic.TopicColumnProperty.getCellValueSynonyms()cellValueSynonyms(IResolvable cellValueSynonyms) Sets the value ofCfnTopic.TopicColumnProperty.getCellValueSynonyms()columnDataRole(String columnDataRole) Sets the value ofCfnTopic.TopicColumnProperty.getColumnDataRole()columnDescription(String columnDescription) Sets the value ofCfnTopic.TopicColumnProperty.getColumnDescription()columnFriendlyName(String columnFriendlyName) Sets the value ofCfnTopic.TopicColumnProperty.getColumnFriendlyName()columnName(String columnName) Sets the value ofCfnTopic.TopicColumnProperty.getColumnName()columnSynonyms(List<String> columnSynonyms) Sets the value ofCfnTopic.TopicColumnProperty.getColumnSynonyms()comparativeOrder(IResolvable comparativeOrder) Sets the value ofCfnTopic.TopicColumnProperty.getComparativeOrder()comparativeOrder(CfnTopic.ComparativeOrderProperty comparativeOrder) Sets the value ofCfnTopic.TopicColumnProperty.getComparativeOrder()defaultFormatting(IResolvable defaultFormatting) Sets the value ofCfnTopic.TopicColumnProperty.getDefaultFormatting()defaultFormatting(CfnTopic.DefaultFormattingProperty defaultFormatting) Sets the value ofCfnTopic.TopicColumnProperty.getDefaultFormatting()disableIndexing(Boolean disableIndexing) Sets the value ofCfnTopic.TopicColumnProperty.getDisableIndexing()disableIndexing(IResolvable disableIndexing) Sets the value ofCfnTopic.TopicColumnProperty.getDisableIndexing()isIncludedInTopic(Boolean isIncludedInTopic) Sets the value ofCfnTopic.TopicColumnProperty.getIsIncludedInTopic()isIncludedInTopic(IResolvable isIncludedInTopic) Sets the value ofCfnTopic.TopicColumnProperty.getIsIncludedInTopic()neverAggregateInFilter(Boolean neverAggregateInFilter) Sets the value ofCfnTopic.TopicColumnProperty.getNeverAggregateInFilter()neverAggregateInFilter(IResolvable neverAggregateInFilter) Sets the value ofCfnTopic.TopicColumnProperty.getNeverAggregateInFilter()nonAdditive(Boolean nonAdditive) Sets the value ofCfnTopic.TopicColumnProperty.getNonAdditive()nonAdditive(IResolvable nonAdditive) Sets the value ofCfnTopic.TopicColumnProperty.getNonAdditive()notAllowedAggregations(List<String> notAllowedAggregations) Sets the value ofCfnTopic.TopicColumnProperty.getNotAllowedAggregations()semanticType(IResolvable semanticType) Sets the value ofCfnTopic.TopicColumnProperty.getSemanticType()semanticType(CfnTopic.SemanticTypeProperty semanticType) Sets the value ofCfnTopic.TopicColumnProperty.getSemanticType()timeGranularity(String timeGranularity) Sets the value ofCfnTopic.TopicColumnProperty.getTimeGranularity()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
columnName
Sets the value ofCfnTopic.TopicColumnProperty.getColumnName()- Parameters:
columnName- The name of the column. This parameter is required.- Returns:
this
-
aggregation
Sets the value ofCfnTopic.TopicColumnProperty.getAggregation()- Parameters:
aggregation- The type of aggregation that is performed on the column data when it's queried.- Returns:
this
-
allowedAggregations
@Stability(Stable) public CfnTopic.TopicColumnProperty.Builder allowedAggregations(List<String> allowedAggregations) Sets the value ofCfnTopic.TopicColumnProperty.getAllowedAggregations()- Parameters:
allowedAggregations- The list of aggregation types that are allowed for the column. Valid values for this structure areCOUNT,DISTINCT_COUNT,MIN,MAX,MEDIAN,SUM,AVERAGE,STDEV,STDEVP,VAR,VARP, andPERCENTILE.- Returns:
this
-
cellValueSynonyms
@Stability(Stable) public CfnTopic.TopicColumnProperty.Builder cellValueSynonyms(IResolvable cellValueSynonyms) Sets the value ofCfnTopic.TopicColumnProperty.getCellValueSynonyms()- Parameters:
cellValueSynonyms- The other names or aliases for the column cell value.- Returns:
this
-
cellValueSynonyms
@Stability(Stable) public CfnTopic.TopicColumnProperty.Builder cellValueSynonyms(List<? extends Object> cellValueSynonyms) Sets the value ofCfnTopic.TopicColumnProperty.getCellValueSynonyms()- Parameters:
cellValueSynonyms- The other names or aliases for the column cell value.- Returns:
this
-
columnDataRole
@Stability(Stable) public CfnTopic.TopicColumnProperty.Builder columnDataRole(String columnDataRole) Sets the value ofCfnTopic.TopicColumnProperty.getColumnDataRole()- Parameters:
columnDataRole- The role of the column in the data. Valid values areDIMENSIONandMEASURE.- Returns:
this
-
columnDescription
@Stability(Stable) public CfnTopic.TopicColumnProperty.Builder columnDescription(String columnDescription) Sets the value ofCfnTopic.TopicColumnProperty.getColumnDescription()- Parameters:
columnDescription- A description of the column and its contents.- Returns:
this
-
columnFriendlyName
@Stability(Stable) public CfnTopic.TopicColumnProperty.Builder columnFriendlyName(String columnFriendlyName) Sets the value ofCfnTopic.TopicColumnProperty.getColumnFriendlyName()- Parameters:
columnFriendlyName- A user-friendly name for the column.- Returns:
this
-
columnSynonyms
@Stability(Stable) public CfnTopic.TopicColumnProperty.Builder columnSynonyms(List<String> columnSynonyms) Sets the value ofCfnTopic.TopicColumnProperty.getColumnSynonyms()- Parameters:
columnSynonyms- The other names or aliases for the column.- Returns:
this
-
comparativeOrder
@Stability(Stable) public CfnTopic.TopicColumnProperty.Builder comparativeOrder(IResolvable comparativeOrder) Sets the value ofCfnTopic.TopicColumnProperty.getComparativeOrder()- Parameters:
comparativeOrder- The order in which data is displayed for the column when it's used in a comparative context.- Returns:
this
-
comparativeOrder
@Stability(Stable) public CfnTopic.TopicColumnProperty.Builder comparativeOrder(CfnTopic.ComparativeOrderProperty comparativeOrder) Sets the value ofCfnTopic.TopicColumnProperty.getComparativeOrder()- Parameters:
comparativeOrder- The order in which data is displayed for the column when it's used in a comparative context.- Returns:
this
-
defaultFormatting
@Stability(Stable) public CfnTopic.TopicColumnProperty.Builder defaultFormatting(IResolvable defaultFormatting) Sets the value ofCfnTopic.TopicColumnProperty.getDefaultFormatting()- Parameters:
defaultFormatting- The default formatting used for values in the column.- Returns:
this
-
defaultFormatting
@Stability(Stable) public CfnTopic.TopicColumnProperty.Builder defaultFormatting(CfnTopic.DefaultFormattingProperty defaultFormatting) Sets the value ofCfnTopic.TopicColumnProperty.getDefaultFormatting()- Parameters:
defaultFormatting- The default formatting used for values in the column.- Returns:
this
-
disableIndexing
@Stability(Stable) public CfnTopic.TopicColumnProperty.Builder disableIndexing(Boolean disableIndexing) Sets the value ofCfnTopic.TopicColumnProperty.getDisableIndexing()- Parameters:
disableIndexing- A Boolean value that indicates whether the column shows in the autocomplete functionality.- Returns:
this
-
disableIndexing
@Stability(Stable) public CfnTopic.TopicColumnProperty.Builder disableIndexing(IResolvable disableIndexing) Sets the value ofCfnTopic.TopicColumnProperty.getDisableIndexing()- Parameters:
disableIndexing- A Boolean value that indicates whether the column shows in the autocomplete functionality.- Returns:
this
-
isIncludedInTopic
@Stability(Stable) public CfnTopic.TopicColumnProperty.Builder isIncludedInTopic(Boolean isIncludedInTopic) Sets the value ofCfnTopic.TopicColumnProperty.getIsIncludedInTopic()- Parameters:
isIncludedInTopic- A Boolean value that indicates whether the column is included in the query results.- Returns:
this
-
isIncludedInTopic
@Stability(Stable) public CfnTopic.TopicColumnProperty.Builder isIncludedInTopic(IResolvable isIncludedInTopic) Sets the value ofCfnTopic.TopicColumnProperty.getIsIncludedInTopic()- Parameters:
isIncludedInTopic- A Boolean value that indicates whether the column is included in the query results.- Returns:
this
-
neverAggregateInFilter
@Stability(Stable) public CfnTopic.TopicColumnProperty.Builder neverAggregateInFilter(Boolean neverAggregateInFilter) Sets the value ofCfnTopic.TopicColumnProperty.getNeverAggregateInFilter()- Parameters:
neverAggregateInFilter- A Boolean value that indicates whether to aggregate the column data when it's used in a filter context.- Returns:
this
-
neverAggregateInFilter
@Stability(Stable) public CfnTopic.TopicColumnProperty.Builder neverAggregateInFilter(IResolvable neverAggregateInFilter) Sets the value ofCfnTopic.TopicColumnProperty.getNeverAggregateInFilter()- Parameters:
neverAggregateInFilter- A Boolean value that indicates whether to aggregate the column data when it's used in a filter context.- Returns:
this
-
nonAdditive
Sets the value ofCfnTopic.TopicColumnProperty.getNonAdditive()- Parameters:
nonAdditive- The non additive value for the column.- Returns:
this
-
nonAdditive
Sets the value ofCfnTopic.TopicColumnProperty.getNonAdditive()- Parameters:
nonAdditive- The non additive value for the column.- Returns:
this
-
notAllowedAggregations
@Stability(Stable) public CfnTopic.TopicColumnProperty.Builder notAllowedAggregations(List<String> notAllowedAggregations) Sets the value ofCfnTopic.TopicColumnProperty.getNotAllowedAggregations()- Parameters:
notAllowedAggregations- The list of aggregation types that are not allowed for the column. 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.TopicColumnProperty.Builder semanticType(IResolvable semanticType) Sets the value ofCfnTopic.TopicColumnProperty.getSemanticType()- Parameters:
semanticType- The semantic type of data contained in the column.- Returns:
this
-
semanticType
@Stability(Stable) public CfnTopic.TopicColumnProperty.Builder semanticType(CfnTopic.SemanticTypeProperty semanticType) Sets the value ofCfnTopic.TopicColumnProperty.getSemanticType()- Parameters:
semanticType- The semantic type of data contained in the column.- Returns:
this
-
timeGranularity
@Stability(Stable) public CfnTopic.TopicColumnProperty.Builder timeGranularity(String timeGranularity) Sets the value ofCfnTopic.TopicColumnProperty.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.TopicColumnProperty>- Returns:
- a new instance of
CfnTopic.TopicColumnProperty - Throws:
NullPointerException- if any required attribute was not provided
-