@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LegendOptions.Builder |
| Modifier and Type | Method and Description |
|---|---|
static LegendOptions.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
height()
The height of the legend.
|
LegendPosition |
position()
The positions for the legend.
|
String |
positionAsString()
The positions for the legend.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends LegendOptions.Builder> |
serializableBuilderClass() |
LabelOptions |
title()
The custom title for the legend.
|
LegendOptions.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Visibility |
visibility()
Determines whether or not the legend is visible.
|
String |
visibilityAsString()
Determines whether or not the legend is visible.
|
String |
width()
The width of the legend.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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, visibility will
return Visibility.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
visibilityAsString().
Visibilitypublic 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, visibility will
return Visibility.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
visibilityAsString().
Visibilitypublic final LabelOptions title()
The custom title for the legend.
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, position will
return LegendPosition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
positionAsString().
AUTO
RIGHT
BOTTOM
LEFT
LegendPositionpublic 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, position will
return LegendPosition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
positionAsString().
AUTO
RIGHT
BOTTOM
LEFT
LegendPositionpublic final String width()
The width of the legend. If this value is omitted, a default width is used when rendering.
public final String height()
The height of the legend. If this value is omitted, a default height is used when rendering.
public LegendOptions.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LegendOptions.Builder,LegendOptions>public static LegendOptions.Builder builder()
public static Class<? extends LegendOptions.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.