Class TopicCalculatedField
- java.lang.Object
-
- software.amazon.awssdk.services.quicksight.model.TopicCalculatedField
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TopicCalculatedField.Builder,TopicCalculatedField>
@Generated("software.amazon.awssdk:codegen") public final class TopicCalculatedField extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TopicCalculatedField.Builder,TopicCalculatedField>
A structure that represents a calculated field.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTopicCalculatedField.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DefaultAggregationaggregation()The default aggregation.StringaggregationAsString()The default aggregation.List<AuthorSpecifiedAggregation>allowedAggregations()The list of aggregation types that are allowed for the calculated field.List<String>allowedAggregationsAsStrings()The list of aggregation types that are allowed for the calculated field.static TopicCalculatedField.Builderbuilder()StringcalculatedFieldDescription()The calculated field description.StringcalculatedFieldName()The calculated field name.List<String>calculatedFieldSynonyms()The other names or aliases for the calculated field.List<CellValueSynonym>cellValueSynonyms()The other names or aliases for the calculated field cell value.ColumnDataRolecolumnDataRole()The column data role for a calculated field.StringcolumnDataRoleAsString()The column data role for a calculated field.ComparativeOrdercomparativeOrder()The order in which data is displayed for the calculated field when it's used in a comparative context.DefaultFormattingdefaultFormatting()The default formatting definition.BooleandisableIndexing()A Boolean value that indicates if a calculated field is visible in the autocomplete.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Stringexpression()The calculated field expression.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasAllowedAggregations()For responses, this returns true if the service returned a value for the AllowedAggregations property.booleanhasCalculatedFieldSynonyms()For responses, this returns true if the service returned a value for the CalculatedFieldSynonyms property.booleanhasCellValueSynonyms()For responses, this returns true if the service returned a value for the CellValueSynonyms property.inthashCode()booleanhasNotAllowedAggregations()For responses, this returns true if the service returned a value for the NotAllowedAggregations property.BooleanisIncludedInTopic()A boolean value that indicates if a calculated field is included in the topic.BooleanneverAggregateInFilter()A Boolean value that indicates whether to never aggregate calculated field in filters.BooleannonAdditive()The non additive for the table style target.List<AuthorSpecifiedAggregation>notAllowedAggregations()The list of aggregation types that are not allowed for the calculated field.List<String>notAllowedAggregationsAsStrings()The list of aggregation types that are not allowed for the calculated field.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()SemanticTypesemanticType()The semantic type.static Class<? extends TopicCalculatedField.Builder>serializableBuilderClass()TopicTimeGranularitytimeGranularity()The level of time precision that is used to aggregateDateTimevalues.StringtimeGranularityAsString()The level of time precision that is used to aggregateDateTimevalues.TopicCalculatedField.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
calculatedFieldName
public final String calculatedFieldName()
The calculated field name.
- Returns:
- The calculated field name.
-
calculatedFieldDescription
public final String calculatedFieldDescription()
The calculated field description.
- Returns:
- The calculated field description.
-
expression
public final String expression()
The calculated field expression.
- Returns:
- The calculated field expression.
-
hasCalculatedFieldSynonyms
public final boolean hasCalculatedFieldSynonyms()
For responses, this returns true if the service returned a value for the CalculatedFieldSynonyms property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
calculatedFieldSynonyms
public final List<String> calculatedFieldSynonyms()
The other names or aliases for the calculated field.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasCalculatedFieldSynonyms()method.- Returns:
- The other names or aliases for the calculated field.
-
isIncludedInTopic
public final Boolean isIncludedInTopic()
A boolean value that indicates if a calculated field is included in the topic.
- Returns:
- A boolean value that indicates if a calculated field is included in the topic.
-
disableIndexing
public final Boolean disableIndexing()
A Boolean value that indicates if a calculated field is visible in the autocomplete.
- Returns:
- A Boolean value that indicates if a calculated field is visible in the autocomplete.
-
columnDataRole
public final ColumnDataRole columnDataRole()
The column data role for a calculated field. Valid values for this structure are
DIMENSIONandMEASURE.If the service returns an enum value that is not available in the current SDK version,
columnDataRolewill returnColumnDataRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcolumnDataRoleAsString().- Returns:
- The column data role for a calculated field. Valid values for this structure are
DIMENSIONandMEASURE. - See Also:
ColumnDataRole
-
columnDataRoleAsString
public final String columnDataRoleAsString()
The column data role for a calculated field. Valid values for this structure are
DIMENSIONandMEASURE.If the service returns an enum value that is not available in the current SDK version,
columnDataRolewill returnColumnDataRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcolumnDataRoleAsString().- Returns:
- The column data role for a calculated field. Valid values for this structure are
DIMENSIONandMEASURE. - See Also:
ColumnDataRole
-
timeGranularity
public final TopicTimeGranularity timeGranularity()
The level of time precision that is used to aggregate
DateTimevalues.If the service returns an enum value that is not available in the current SDK version,
timeGranularitywill returnTopicTimeGranularity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtimeGranularityAsString().- Returns:
- The level of time precision that is used to aggregate
DateTimevalues. - See Also:
TopicTimeGranularity
-
timeGranularityAsString
public final String timeGranularityAsString()
The level of time precision that is used to aggregate
DateTimevalues.If the service returns an enum value that is not available in the current SDK version,
timeGranularitywill returnTopicTimeGranularity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtimeGranularityAsString().- Returns:
- The level of time precision that is used to aggregate
DateTimevalues. - See Also:
TopicTimeGranularity
-
defaultFormatting
public final DefaultFormatting defaultFormatting()
The default formatting definition.
- Returns:
- The default formatting definition.
-
aggregation
public final DefaultAggregation aggregation()
The default aggregation. Valid values for this structure are
SUM,MAX,MIN,COUNT,DISTINCT_COUNT, andAVERAGE.If the service returns an enum value that is not available in the current SDK version,
aggregationwill returnDefaultAggregation.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromaggregationAsString().- Returns:
- The default aggregation. Valid values for this structure are
SUM,MAX,MIN,COUNT,DISTINCT_COUNT, andAVERAGE. - See Also:
DefaultAggregation
-
aggregationAsString
public final String aggregationAsString()
The default aggregation. Valid values for this structure are
SUM,MAX,MIN,COUNT,DISTINCT_COUNT, andAVERAGE.If the service returns an enum value that is not available in the current SDK version,
aggregationwill returnDefaultAggregation.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromaggregationAsString().- Returns:
- The default aggregation. Valid values for this structure are
SUM,MAX,MIN,COUNT,DISTINCT_COUNT, andAVERAGE. - See Also:
DefaultAggregation
-
comparativeOrder
public final ComparativeOrder comparativeOrder()
The order in which data is displayed for the calculated field when it's used in a comparative context.
- Returns:
- The order in which data is displayed for the calculated field when it's used in a comparative context.
-
semanticType
public final SemanticType semanticType()
The semantic type.
- Returns:
- The semantic type.
-
allowedAggregations
public final List<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.Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasAllowedAggregations()method.- Returns:
- 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.
-
hasAllowedAggregations
public final boolean hasAllowedAggregations()
For responses, this returns true if the service returned a value for the AllowedAggregations property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
allowedAggregationsAsStrings
public final List<String> allowedAggregationsAsStrings()
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.Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasAllowedAggregations()method.- Returns:
- 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.
-
notAllowedAggregations
public final List<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.Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasNotAllowedAggregations()method.- Returns:
- 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.
-
hasNotAllowedAggregations
public final boolean hasNotAllowedAggregations()
For responses, this returns true if the service returned a value for the NotAllowedAggregations property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
notAllowedAggregationsAsStrings
public final List<String> notAllowedAggregationsAsStrings()
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.Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasNotAllowedAggregations()method.- Returns:
- 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.
-
neverAggregateInFilter
public final Boolean neverAggregateInFilter()
A Boolean value that indicates whether to never aggregate calculated field in filters.
- Returns:
- A Boolean value that indicates whether to never aggregate calculated field in filters.
-
hasCellValueSynonyms
public final boolean hasCellValueSynonyms()
For responses, this returns true if the service returned a value for the CellValueSynonyms property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
cellValueSynonyms
public final List<CellValueSynonym> cellValueSynonyms()
The other names or aliases for the calculated field cell value.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasCellValueSynonyms()method.- Returns:
- The other names or aliases for the calculated field cell value.
-
nonAdditive
public final Boolean nonAdditive()
The non additive for the table style target.
- Returns:
- The non additive for the table style target.
-
toBuilder
public TopicCalculatedField.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TopicCalculatedField.Builder,TopicCalculatedField>
-
builder
public static TopicCalculatedField.Builder builder()
-
serializableBuilderClass
public static Class<? extends TopicCalculatedField.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-