Class TotalOptions
- java.lang.Object
-
- software.amazon.awssdk.services.quicksight.model.TotalOptions
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TotalOptions.Builder,TotalOptions>
@Generated("software.amazon.awssdk:codegen") public final class TotalOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TotalOptions.Builder,TotalOptions>
The total options for a table visual.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTotalOptions.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TotalOptions.Builderbuilder()StringcustomLabel()The custom label string for the total cells.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasTotalAggregationOptions()For responses, this returns true if the service returned a value for the TotalAggregationOptions property.TableTotalsPlacementplacement()The placement (start, end) for the total cells.StringplacementAsString()The placement (start, end) for the total cells.TableTotalsScrollStatusscrollStatus()The scroll status (pinned, scrolled) for the total cells.StringscrollStatusAsString()The scroll status (pinned, scrolled) for the total cells.List<SdkField<?>>sdkFields()static Class<? extends TotalOptions.Builder>serializableBuilderClass()TotalOptions.BuildertoBuilder()StringtoString()Returns a string representation of this object.List<TotalAggregationOption>totalAggregationOptions()The total aggregation settings for each value field.TableCellStyletotalCellStyle()Cell styling options for the total cells.VisibilitytotalsVisibility()The visibility configuration for the total cells.StringtotalsVisibilityAsString()The visibility configuration for the total cells.-
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
-
totalsVisibility
public final Visibility totalsVisibility()
The visibility configuration for the total cells.
If the service returns an enum value that is not available in the current SDK version,
totalsVisibilitywill returnVisibility.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtotalsVisibilityAsString().- Returns:
- The visibility configuration for the total cells.
- See Also:
Visibility
-
totalsVisibilityAsString
public final String totalsVisibilityAsString()
The visibility configuration for the total cells.
If the service returns an enum value that is not available in the current SDK version,
totalsVisibilitywill returnVisibility.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtotalsVisibilityAsString().- Returns:
- The visibility configuration for the total cells.
- See Also:
Visibility
-
placement
public final TableTotalsPlacement placement()
The placement (start, end) for the total cells.
If the service returns an enum value that is not available in the current SDK version,
placementwill returnTableTotalsPlacement.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromplacementAsString().- Returns:
- The placement (start, end) for the total cells.
- See Also:
TableTotalsPlacement
-
placementAsString
public final String placementAsString()
The placement (start, end) for the total cells.
If the service returns an enum value that is not available in the current SDK version,
placementwill returnTableTotalsPlacement.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromplacementAsString().- Returns:
- The placement (start, end) for the total cells.
- See Also:
TableTotalsPlacement
-
scrollStatus
public final TableTotalsScrollStatus scrollStatus()
The scroll status (pinned, scrolled) for the total cells.
If the service returns an enum value that is not available in the current SDK version,
scrollStatuswill returnTableTotalsScrollStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscrollStatusAsString().- Returns:
- The scroll status (pinned, scrolled) for the total cells.
- See Also:
TableTotalsScrollStatus
-
scrollStatusAsString
public final String scrollStatusAsString()
The scroll status (pinned, scrolled) for the total cells.
If the service returns an enum value that is not available in the current SDK version,
scrollStatuswill returnTableTotalsScrollStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscrollStatusAsString().- Returns:
- The scroll status (pinned, scrolled) for the total cells.
- See Also:
TableTotalsScrollStatus
-
customLabel
public final String customLabel()
The custom label string for the total cells.
- Returns:
- The custom label string for the total cells.
-
totalCellStyle
public final TableCellStyle totalCellStyle()
Cell styling options for the total cells.
- Returns:
- Cell styling options for the total cells.
-
hasTotalAggregationOptions
public final boolean hasTotalAggregationOptions()
For responses, this returns true if the service returned a value for the TotalAggregationOptions 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.
-
totalAggregationOptions
public final List<TotalAggregationOption> totalAggregationOptions()
The total aggregation settings for each value 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
hasTotalAggregationOptions()method.- Returns:
- The total aggregation settings for each value field.
-
toBuilder
public TotalOptions.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TotalOptions.Builder,TotalOptions>
-
builder
public static TotalOptions.Builder builder()
-
serializableBuilderClass
public static Class<? extends TotalOptions.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.
-
-