@Generated(value="software.amazon.awssdk:codegen") public final class DataLabelOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DataLabelOptions.Builder,DataLabelOptions>
The options that determine the presentation of the data labels.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DataLabelOptions.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DataLabelOptions.Builder |
builder() |
Visibility |
categoryLabelVisibility()
Determines the visibility of the category field labels.
|
String |
categoryLabelVisibilityAsString()
Determines the visibility of the category field labels.
|
List<DataLabelType> |
dataLabelTypes()
The option that determines the data label type.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasDataLabelTypes()
For responses, this returns true if the service returned a value for the DataLabelTypes property.
|
int |
hashCode() |
String |
labelColor()
Determines the color of the data labels.
|
DataLabelContent |
labelContent()
Determines the content of the data labels.
|
String |
labelContentAsString()
Determines the content of the data labels.
|
FontConfiguration |
labelFontConfiguration()
Determines the font configuration of the data labels.
|
Visibility |
measureLabelVisibility()
Determines the visibility of the measure field labels.
|
String |
measureLabelVisibilityAsString()
Determines the visibility of the measure field labels.
|
DataLabelOverlap |
overlap()
Determines whether overlap is enabled or disabled for the data labels.
|
String |
overlapAsString()
Determines whether overlap is enabled or disabled for the data labels.
|
DataLabelPosition |
position()
Determines the position of the data labels.
|
String |
positionAsString()
Determines the position of the data labels.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DataLabelOptions.Builder> |
serializableBuilderClass() |
DataLabelOptions.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Visibility |
totalsVisibility()
Determines the visibility of the total.
|
String |
totalsVisibilityAsString()
Determines the visibility of the total.
|
Visibility |
visibility()
Determines the visibility of the data labels.
|
String |
visibilityAsString()
Determines the visibility of the data labels.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Visibility visibility()
Determines the visibility of the data labels.
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 the visibility of the data labels.
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 Visibility categoryLabelVisibility()
Determines the visibility of the category field labels.
If the service returns an enum value that is not available in the current SDK version,
categoryLabelVisibility will return Visibility.UNKNOWN_TO_SDK_VERSION. The raw value returned by
the service is available from categoryLabelVisibilityAsString().
Visibilitypublic final String categoryLabelVisibilityAsString()
Determines the visibility of the category field labels.
If the service returns an enum value that is not available in the current SDK version,
categoryLabelVisibility will return Visibility.UNKNOWN_TO_SDK_VERSION. The raw value returned by
the service is available from categoryLabelVisibilityAsString().
Visibilitypublic final Visibility measureLabelVisibility()
Determines the visibility of the measure field labels.
If the service returns an enum value that is not available in the current SDK version,
measureLabelVisibility will return Visibility.UNKNOWN_TO_SDK_VERSION. The raw value returned by
the service is available from measureLabelVisibilityAsString().
Visibilitypublic final String measureLabelVisibilityAsString()
Determines the visibility of the measure field labels.
If the service returns an enum value that is not available in the current SDK version,
measureLabelVisibility will return Visibility.UNKNOWN_TO_SDK_VERSION. The raw value returned by
the service is available from measureLabelVisibilityAsString().
Visibilitypublic final boolean hasDataLabelTypes()
isEmpty() 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.public final List<DataLabelType> dataLabelTypes()
The option that determines the data label type.
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 hasDataLabelTypes() method.
public final DataLabelPosition position()
Determines the position of the data labels.
If the service returns an enum value that is not available in the current SDK version, position will
return DataLabelPosition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
positionAsString().
DataLabelPositionpublic final String positionAsString()
Determines the position of the data labels.
If the service returns an enum value that is not available in the current SDK version, position will
return DataLabelPosition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
positionAsString().
DataLabelPositionpublic final DataLabelContent labelContent()
Determines the content of the data labels.
If the service returns an enum value that is not available in the current SDK version, labelContent will
return DataLabelContent.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
labelContentAsString().
DataLabelContentpublic final String labelContentAsString()
Determines the content of the data labels.
If the service returns an enum value that is not available in the current SDK version, labelContent will
return DataLabelContent.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
labelContentAsString().
DataLabelContentpublic final FontConfiguration labelFontConfiguration()
Determines the font configuration of the data labels.
public final String labelColor()
Determines the color of the data labels.
public final DataLabelOverlap overlap()
Determines whether overlap is enabled or disabled for the data labels.
If the service returns an enum value that is not available in the current SDK version, overlap will
return DataLabelOverlap.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
overlapAsString().
DataLabelOverlappublic final String overlapAsString()
Determines whether overlap is enabled or disabled for the data labels.
If the service returns an enum value that is not available in the current SDK version, overlap will
return DataLabelOverlap.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
overlapAsString().
DataLabelOverlappublic final Visibility totalsVisibility()
Determines the visibility of the total.
If the service returns an enum value that is not available in the current SDK version, totalsVisibility
will return Visibility.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
totalsVisibilityAsString().
Visibilitypublic final String totalsVisibilityAsString()
Determines the visibility of the total.
If the service returns an enum value that is not available in the current SDK version, totalsVisibility
will return Visibility.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
totalsVisibilityAsString().
Visibilitypublic DataLabelOptions.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DataLabelOptions.Builder,DataLabelOptions>public static DataLabelOptions.Builder builder()
public static Class<? extends DataLabelOptions.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.