Class FieldBasedTooltip
- java.lang.Object
-
- software.amazon.awssdk.services.quicksight.model.FieldBasedTooltip
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FieldBasedTooltip.Builder,FieldBasedTooltip>
@Generated("software.amazon.awssdk:codegen") public final class FieldBasedTooltip extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FieldBasedTooltip.Builder,FieldBasedTooltip>
The setup for the detailed tooltip.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFieldBasedTooltip.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VisibilityaggregationVisibility()The visibility ofShow aggregations.StringaggregationVisibilityAsString()The visibility ofShow aggregations.static FieldBasedTooltip.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasTooltipFields()For responses, this returns true if the service returned a value for the TooltipFields property.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends FieldBasedTooltip.Builder>serializableBuilderClass()FieldBasedTooltip.BuildertoBuilder()List<TooltipItem>tooltipFields()The fields configuration in the tooltip.TooltipTitleTypetooltipTitleType()The type for the >tooltip title.StringtooltipTitleTypeAsString()The type for the >tooltip title.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
-
aggregationVisibility
public final Visibility aggregationVisibility()
The visibility of
Show aggregations.If the service returns an enum value that is not available in the current SDK version,
aggregationVisibilitywill returnVisibility.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromaggregationVisibilityAsString().- Returns:
- The visibility of
Show aggregations. - See Also:
Visibility
-
aggregationVisibilityAsString
public final String aggregationVisibilityAsString()
The visibility of
Show aggregations.If the service returns an enum value that is not available in the current SDK version,
aggregationVisibilitywill returnVisibility.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromaggregationVisibilityAsString().- Returns:
- The visibility of
Show aggregations. - See Also:
Visibility
-
tooltipTitleType
public final TooltipTitleType tooltipTitleType()
The type for the >tooltip title. Choose one of the following options:
-
NONE: Doesn't use the primary value as the title. -
PRIMARY_VALUE: Uses primary value as the title.
If the service returns an enum value that is not available in the current SDK version,
tooltipTitleTypewill returnTooltipTitleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtooltipTitleTypeAsString().- Returns:
- The type for the >tooltip title. Choose one of the following options:
-
NONE: Doesn't use the primary value as the title. -
PRIMARY_VALUE: Uses primary value as the title.
-
- See Also:
TooltipTitleType
-
-
tooltipTitleTypeAsString
public final String tooltipTitleTypeAsString()
The type for the >tooltip title. Choose one of the following options:
-
NONE: Doesn't use the primary value as the title. -
PRIMARY_VALUE: Uses primary value as the title.
If the service returns an enum value that is not available in the current SDK version,
tooltipTitleTypewill returnTooltipTitleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtooltipTitleTypeAsString().- Returns:
- The type for the >tooltip title. Choose one of the following options:
-
NONE: Doesn't use the primary value as the title. -
PRIMARY_VALUE: Uses primary value as the title.
-
- See Also:
TooltipTitleType
-
-
hasTooltipFields
public final boolean hasTooltipFields()
For responses, this returns true if the service returned a value for the TooltipFields 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.
-
tooltipFields
public final List<TooltipItem> tooltipFields()
The fields configuration in the tooltip.
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
hasTooltipFields()method.- Returns:
- The fields configuration in the tooltip.
-
toBuilder
public FieldBasedTooltip.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<FieldBasedTooltip.Builder,FieldBasedTooltip>
-
builder
public static FieldBasedTooltip.Builder builder()
-
serializableBuilderClass
public static Class<? extends FieldBasedTooltip.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
-
-