Class LegendOptions
- java.lang.Object
-
- software.amazon.awssdk.services.quicksight.model.LegendOptions
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LegendOptions.Builder,LegendOptions>
@Generated("software.amazon.awssdk:codegen") public final class LegendOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LegendOptions.Builder,LegendOptions>
The options for the legend setup of a visual.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLegendOptions.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LegendOptions.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringheight()The height of the legend.LegendPositionposition()The positions for the legend.StringpositionAsString()The positions for the legend.List<SdkField<?>>sdkFields()static Class<? extends LegendOptions.Builder>serializableBuilderClass()LabelOptionstitle()The custom title for the legend.LegendOptions.BuildertoBuilder()StringtoString()Returns a string representation of this object.Visibilityvisibility()Determines whether or not the legend is visible.StringvisibilityAsString()Determines whether or not the legend is visible.Stringwidth()The width of the legend.-
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
-
visibility
public final Visibility visibility()
Determines whether or not the legend is visible.
If the service returns an enum value that is not available in the current SDK version,
visibilitywill returnVisibility.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvisibilityAsString().- Returns:
- Determines whether or not the legend is visible.
- See Also:
Visibility
-
visibilityAsString
public final String visibilityAsString()
Determines whether or not the legend is visible.
If the service returns an enum value that is not available in the current SDK version,
visibilitywill returnVisibility.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvisibilityAsString().- Returns:
- Determines whether or not the legend is visible.
- See Also:
Visibility
-
title
public final LabelOptions title()
The custom title for the legend.
- Returns:
- The custom title for the legend.
-
position
public final LegendPosition position()
The positions for the legend. Choose one of the following options:
-
AUTO -
RIGHT -
BOTTOM -
LEFT
If the service returns an enum value that is not available in the current SDK version,
positionwill returnLegendPosition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompositionAsString().- Returns:
- The positions for the legend. Choose one of the following options:
-
AUTO -
RIGHT -
BOTTOM -
LEFT
-
- See Also:
LegendPosition
-
-
positionAsString
public final String positionAsString()
The positions for the legend. Choose one of the following options:
-
AUTO -
RIGHT -
BOTTOM -
LEFT
If the service returns an enum value that is not available in the current SDK version,
positionwill returnLegendPosition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompositionAsString().- Returns:
- The positions for the legend. Choose one of the following options:
-
AUTO -
RIGHT -
BOTTOM -
LEFT
-
- See Also:
LegendPosition
-
-
width
public final String width()
The width of the legend. If this value is omitted, a default width is used when rendering.
- Returns:
- The width of the legend. If this value is omitted, a default width is used when rendering.
-
height
public final String height()
The height of the legend. If this value is omitted, a default height is used when rendering.
- Returns:
- The height of the legend. If this value is omitted, a default height is used when rendering.
-
toBuilder
public LegendOptions.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LegendOptions.Builder,LegendOptions>
-
builder
public static LegendOptions.Builder builder()
-
serializableBuilderClass
public static Class<? extends LegendOptions.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.
-
-