/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.quicksight.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* A funnel chart. *
** For more information, see Using funnel charts in the * Amazon QuickSight User Guide. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class FunnelChartVisual implements Serializable, Cloneable, StructuredPojo { /** ** 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.. *
*/ private String visualId; /** ** The title that is displayed on the visual. *
*/ private VisualTitleLabelOptions title; /** ** The subtitle that is displayed on the visual. *
*/ private VisualSubtitleLabelOptions subtitle; /** *
* The configuration of a FunnelChartVisual
.
*
* The list of custom actions that are configured for a visual. *
*/ private java.util.List* The column hierarchy that is used during drill-downs and drill-ups. *
*/ private java.util.List* 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.. *
* * @param 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 void setVisualId(String visualId) { this.visualId = 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.. *
* * @return 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 String getVisualId() { return this.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.. *
* * @param 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.. * @return Returns a reference to this object so that method calls can be chained together. */ public FunnelChartVisual withVisualId(String visualId) { setVisualId(visualId); return this; } /** ** The title that is displayed on the visual. *
* * @param title * The title that is displayed on the visual. */ public void setTitle(VisualTitleLabelOptions title) { this.title = title; } /** ** The title that is displayed on the visual. *
* * @return The title that is displayed on the visual. */ public VisualTitleLabelOptions getTitle() { return this.title; } /** ** The title that is displayed on the visual. *
* * @param title * The title that is displayed on the visual. * @return Returns a reference to this object so that method calls can be chained together. */ public FunnelChartVisual withTitle(VisualTitleLabelOptions title) { setTitle(title); return this; } /** ** The subtitle that is displayed on the visual. *
* * @param subtitle * The subtitle that is displayed on the visual. */ public void setSubtitle(VisualSubtitleLabelOptions subtitle) { this.subtitle = subtitle; } /** ** The subtitle that is displayed on the visual. *
* * @return The subtitle that is displayed on the visual. */ public VisualSubtitleLabelOptions getSubtitle() { return this.subtitle; } /** ** The subtitle that is displayed on the visual. *
* * @param subtitle * The subtitle that is displayed on the visual. * @return Returns a reference to this object so that method calls can be chained together. */ public FunnelChartVisual withSubtitle(VisualSubtitleLabelOptions subtitle) { setSubtitle(subtitle); return this; } /** *
* The configuration of a FunnelChartVisual
.
*
FunnelChartVisual
.
*/
public void setChartConfiguration(FunnelChartConfiguration chartConfiguration) {
this.chartConfiguration = chartConfiguration;
}
/**
*
* The configuration of a FunnelChartVisual
.
*
FunnelChartVisual
.
*/
public FunnelChartConfiguration getChartConfiguration() {
return this.chartConfiguration;
}
/**
*
* The configuration of a FunnelChartVisual
.
*
FunnelChartVisual
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public FunnelChartVisual withChartConfiguration(FunnelChartConfiguration chartConfiguration) {
setChartConfiguration(chartConfiguration);
return this;
}
/**
* * The list of custom actions that are configured for a visual. *
* * @return The list of custom actions that are configured for a visual. */ public java.util.List* The list of custom actions that are configured for a visual. *
* * @param actions * The list of custom actions that are configured for a visual. */ public void setActions(java.util.Collection* The list of custom actions that are configured for a visual. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setActions(java.util.Collection)} or {@link #withActions(java.util.Collection)} if you want to override * the existing values. *
* * @param actions * The list of custom actions that are configured for a visual. * @return Returns a reference to this object so that method calls can be chained together. */ public FunnelChartVisual withActions(VisualCustomAction... actions) { if (this.actions == null) { setActions(new java.util.ArrayList* The list of custom actions that are configured for a visual. *
* * @param actions * The list of custom actions that are configured for a visual. * @return Returns a reference to this object so that method calls can be chained together. */ public FunnelChartVisual withActions(java.util.Collection* The column hierarchy that is used during drill-downs and drill-ups. *
* * @return The column hierarchy that is used during drill-downs and drill-ups. */ public java.util.List* The column hierarchy that is used during drill-downs and drill-ups. *
* * @param columnHierarchies * The column hierarchy that is used during drill-downs and drill-ups. */ public void setColumnHierarchies(java.util.Collection* The column hierarchy that is used during drill-downs and drill-ups. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setColumnHierarchies(java.util.Collection)} or {@link #withColumnHierarchies(java.util.Collection)} if * you want to override the existing values. *
* * @param columnHierarchies * The column hierarchy that is used during drill-downs and drill-ups. * @return Returns a reference to this object so that method calls can be chained together. */ public FunnelChartVisual withColumnHierarchies(ColumnHierarchy... columnHierarchies) { if (this.columnHierarchies == null) { setColumnHierarchies(new java.util.ArrayList* The column hierarchy that is used during drill-downs and drill-ups. *
* * @param columnHierarchies * The column hierarchy that is used during drill-downs and drill-ups. * @return Returns a reference to this object so that method calls can be chained together. */ public FunnelChartVisual withColumnHierarchies(java.util.Collection