@Generated(value="software.amazon.awssdk:codegen") public final class BarChartVisual extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BarChartVisual.Builder,BarChartVisual>
A bar chart.
The BarChartVisual structure describes a visual that is a member of the bar chart family. The following
charts can be described using this structure:
Horizontal bar chart
Vertical bar chart
Horizontal stacked bar chart
Vertical stacked bar chart
Horizontal stacked 100% bar chart
Vertical stacked 100% bar chart
For more information, see Using bar charts in the Amazon QuickSight User Guide.
| Modifier and Type | Class and Description |
|---|---|
static interface |
BarChartVisual.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<VisualCustomAction> |
actions()
The list of custom actions that are configured for a visual.
|
static BarChartVisual.Builder |
builder() |
BarChartConfiguration |
chartConfiguration()
The configuration settings of the visual.
|
List<ColumnHierarchy> |
columnHierarchies()
The column hierarchy that is used during drill-downs and drill-ups.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasActions()
For responses, this returns true if the service returned a value for the Actions property.
|
boolean |
hasColumnHierarchies()
For responses, this returns true if the service returned a value for the ColumnHierarchies property.
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends BarChartVisual.Builder> |
serializableBuilderClass() |
VisualSubtitleLabelOptions |
subtitle()
The subtitle that is displayed on the visual.
|
VisualTitleLabelOptions |
title()
The title that is displayed on the visual.
|
BarChartVisual.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
visualId()
The unique identifier of a visual.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String visualId()
The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.
public final VisualTitleLabelOptions title()
The title that is displayed on the visual.
public final VisualSubtitleLabelOptions subtitle()
The subtitle that is displayed on the visual.
public final BarChartConfiguration chartConfiguration()
The configuration settings of the visual.
public final boolean hasActions()
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<VisualCustomAction> actions()
The list of custom actions that are configured for a visual.
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 hasActions() method.
public final boolean hasColumnHierarchies()
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<ColumnHierarchy> columnHierarchies()
The column hierarchy that is used during drill-downs and drill-ups.
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 hasColumnHierarchies() method.
public BarChartVisual.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<BarChartVisual.Builder,BarChartVisual>public static BarChartVisual.Builder builder()
public static Class<? extends BarChartVisual.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.