All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.quicksight.model.ComboChartConfiguration Maven / Gradle / Ivy

/*
 * Copyright 2019-2024 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;

/**
 * 

* The configuration of a ComboChartVisual. *

* * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ComboChartConfiguration implements Serializable, Cloneable, StructuredPojo { /** *

* The field wells of the visual. *

*/ private ComboChartFieldWells fieldWells; /** *

* The sort configuration of a ComboChartVisual. *

*/ private ComboChartSortConfiguration sortConfiguration; /** *

* Determines the bar arrangement in a combo chart. The following are valid values in this structure: *

*
    *
  • *

    * CLUSTERED: For clustered bar combo charts. *

    *
  • *
  • *

    * STACKED: For stacked bar combo charts. *

    *
  • *
  • *

    * STACKED_PERCENT: Do not use. If you use this value, the operation returns a validation error. *

    *
  • *
*/ private String barsArrangement; /** *

* The category axis of a combo chart. *

*/ private AxisDisplayOptions categoryAxis; /** *

* The label options (label text, label visibility, and sort icon visibility) of a combo chart category * (group/color) field well. *

*/ private ChartAxisLabelOptions categoryLabelOptions; /** *

* The label display options (grid line, range, scale, and axis step) of a combo chart's primary y-axis (bar) field * well. *

*/ private AxisDisplayOptions primaryYAxisDisplayOptions; /** *

* The label options (label text, label visibility, and sort icon visibility) of a combo chart's primary y-axis * (bar) field well. *

*/ private ChartAxisLabelOptions primaryYAxisLabelOptions; /** *

* The label display options (grid line, range, scale, axis step) of a combo chart's secondary y-axis (line) field * well. *

*/ private AxisDisplayOptions secondaryYAxisDisplayOptions; /** *

* The label options (label text, label visibility, and sort icon visibility) of a combo chart's secondary * y-axis(line) field well. *

*/ private ChartAxisLabelOptions secondaryYAxisLabelOptions; private SingleAxisOptions singleAxisOptions; /** *

* The label options (label text, label visibility, and sort icon visibility) of a combo chart's color field well. *

*/ private ChartAxisLabelOptions colorLabelOptions; /** *

* The legend display setup of the visual. *

*/ private LegendOptions legend; /** *

* The options that determine if visual data labels are displayed. *

*

* The data label options for a bar in a combo chart. *

*/ private DataLabelOptions barDataLabels; /** *

* The options that determine if visual data labels are displayed. *

*

* The data label options for a line in a combo chart. *

*/ private DataLabelOptions lineDataLabels; /** *

* The legend display setup of the visual. *

*/ private TooltipOptions tooltip; /** *

* The reference line setup of the visual. *

*/ private java.util.List referenceLines; /** *

* The palette (chart color) display setup of the visual. *

*/ private VisualPalette visualPalette; /** *

* The general visual interactions setup for a visual. *

*/ private VisualInteractionOptions interactions; /** *

* The field wells of the visual. *

* * @param fieldWells * The field wells of the visual. */ public void setFieldWells(ComboChartFieldWells fieldWells) { this.fieldWells = fieldWells; } /** *

* The field wells of the visual. *

* * @return The field wells of the visual. */ public ComboChartFieldWells getFieldWells() { return this.fieldWells; } /** *

* The field wells of the visual. *

* * @param fieldWells * The field wells of the visual. * @return Returns a reference to this object so that method calls can be chained together. */ public ComboChartConfiguration withFieldWells(ComboChartFieldWells fieldWells) { setFieldWells(fieldWells); return this; } /** *

* The sort configuration of a ComboChartVisual. *

* * @param sortConfiguration * The sort configuration of a ComboChartVisual. */ public void setSortConfiguration(ComboChartSortConfiguration sortConfiguration) { this.sortConfiguration = sortConfiguration; } /** *

* The sort configuration of a ComboChartVisual. *

* * @return The sort configuration of a ComboChartVisual. */ public ComboChartSortConfiguration getSortConfiguration() { return this.sortConfiguration; } /** *

* The sort configuration of a ComboChartVisual. *

* * @param sortConfiguration * The sort configuration of a ComboChartVisual. * @return Returns a reference to this object so that method calls can be chained together. */ public ComboChartConfiguration withSortConfiguration(ComboChartSortConfiguration sortConfiguration) { setSortConfiguration(sortConfiguration); return this; } /** *

* Determines the bar arrangement in a combo chart. The following are valid values in this structure: *

*
    *
  • *

    * CLUSTERED: For clustered bar combo charts. *

    *
  • *
  • *

    * STACKED: For stacked bar combo charts. *

    *
  • *
  • *

    * STACKED_PERCENT: Do not use. If you use this value, the operation returns a validation error. *

    *
  • *
* * @param barsArrangement * Determines the bar arrangement in a combo chart. The following are valid values in this structure:

*
    *
  • *

    * CLUSTERED: For clustered bar combo charts. *

    *
  • *
  • *

    * STACKED: For stacked bar combo charts. *

    *
  • *
  • *

    * STACKED_PERCENT: Do not use. If you use this value, the operation returns a validation error. *

    *
  • * @see BarsArrangement */ public void setBarsArrangement(String barsArrangement) { this.barsArrangement = barsArrangement; } /** *

    * Determines the bar arrangement in a combo chart. The following are valid values in this structure: *

    *
      *
    • *

      * CLUSTERED: For clustered bar combo charts. *

      *
    • *
    • *

      * STACKED: For stacked bar combo charts. *

      *
    • *
    • *

      * STACKED_PERCENT: Do not use. If you use this value, the operation returns a validation error. *

      *
    • *
    * * @return Determines the bar arrangement in a combo chart. The following are valid values in this structure:

    *
      *
    • *

      * CLUSTERED: For clustered bar combo charts. *

      *
    • *
    • *

      * STACKED: For stacked bar combo charts. *

      *
    • *
    • *

      * STACKED_PERCENT: Do not use. If you use this value, the operation returns a validation * error. *

      *
    • * @see BarsArrangement */ public String getBarsArrangement() { return this.barsArrangement; } /** *

      * Determines the bar arrangement in a combo chart. The following are valid values in this structure: *

      *
        *
      • *

        * CLUSTERED: For clustered bar combo charts. *

        *
      • *
      • *

        * STACKED: For stacked bar combo charts. *

        *
      • *
      • *

        * STACKED_PERCENT: Do not use. If you use this value, the operation returns a validation error. *

        *
      • *
      * * @param barsArrangement * Determines the bar arrangement in a combo chart. The following are valid values in this structure:

      *
        *
      • *

        * CLUSTERED: For clustered bar combo charts. *

        *
      • *
      • *

        * STACKED: For stacked bar combo charts. *

        *
      • *
      • *

        * STACKED_PERCENT: Do not use. If you use this value, the operation returns a validation error. *

        *
      • * @return Returns a reference to this object so that method calls can be chained together. * @see BarsArrangement */ public ComboChartConfiguration withBarsArrangement(String barsArrangement) { setBarsArrangement(barsArrangement); return this; } /** *

        * Determines the bar arrangement in a combo chart. The following are valid values in this structure: *

        *
          *
        • *

          * CLUSTERED: For clustered bar combo charts. *

          *
        • *
        • *

          * STACKED: For stacked bar combo charts. *

          *
        • *
        • *

          * STACKED_PERCENT: Do not use. If you use this value, the operation returns a validation error. *

          *
        • *
        * * @param barsArrangement * Determines the bar arrangement in a combo chart. The following are valid values in this structure:

        *
          *
        • *

          * CLUSTERED: For clustered bar combo charts. *

          *
        • *
        • *

          * STACKED: For stacked bar combo charts. *

          *
        • *
        • *

          * STACKED_PERCENT: Do not use. If you use this value, the operation returns a validation error. *

          *
        • * @return Returns a reference to this object so that method calls can be chained together. * @see BarsArrangement */ public ComboChartConfiguration withBarsArrangement(BarsArrangement barsArrangement) { this.barsArrangement = barsArrangement.toString(); return this; } /** *

          * The category axis of a combo chart. *

          * * @param categoryAxis * The category axis of a combo chart. */ public void setCategoryAxis(AxisDisplayOptions categoryAxis) { this.categoryAxis = categoryAxis; } /** *

          * The category axis of a combo chart. *

          * * @return The category axis of a combo chart. */ public AxisDisplayOptions getCategoryAxis() { return this.categoryAxis; } /** *

          * The category axis of a combo chart. *

          * * @param categoryAxis * The category axis of a combo chart. * @return Returns a reference to this object so that method calls can be chained together. */ public ComboChartConfiguration withCategoryAxis(AxisDisplayOptions categoryAxis) { setCategoryAxis(categoryAxis); return this; } /** *

          * The label options (label text, label visibility, and sort icon visibility) of a combo chart category * (group/color) field well. *

          * * @param categoryLabelOptions * The label options (label text, label visibility, and sort icon visibility) of a combo chart category * (group/color) field well. */ public void setCategoryLabelOptions(ChartAxisLabelOptions categoryLabelOptions) { this.categoryLabelOptions = categoryLabelOptions; } /** *

          * The label options (label text, label visibility, and sort icon visibility) of a combo chart category * (group/color) field well. *

          * * @return The label options (label text, label visibility, and sort icon visibility) of a combo chart category * (group/color) field well. */ public ChartAxisLabelOptions getCategoryLabelOptions() { return this.categoryLabelOptions; } /** *

          * The label options (label text, label visibility, and sort icon visibility) of a combo chart category * (group/color) field well. *

          * * @param categoryLabelOptions * The label options (label text, label visibility, and sort icon visibility) of a combo chart category * (group/color) field well. * @return Returns a reference to this object so that method calls can be chained together. */ public ComboChartConfiguration withCategoryLabelOptions(ChartAxisLabelOptions categoryLabelOptions) { setCategoryLabelOptions(categoryLabelOptions); return this; } /** *

          * The label display options (grid line, range, scale, and axis step) of a combo chart's primary y-axis (bar) field * well. *

          * * @param primaryYAxisDisplayOptions * The label display options (grid line, range, scale, and axis step) of a combo chart's primary y-axis (bar) * field well. */ public void setPrimaryYAxisDisplayOptions(AxisDisplayOptions primaryYAxisDisplayOptions) { this.primaryYAxisDisplayOptions = primaryYAxisDisplayOptions; } /** *

          * The label display options (grid line, range, scale, and axis step) of a combo chart's primary y-axis (bar) field * well. *

          * * @return The label display options (grid line, range, scale, and axis step) of a combo chart's primary y-axis * (bar) field well. */ public AxisDisplayOptions getPrimaryYAxisDisplayOptions() { return this.primaryYAxisDisplayOptions; } /** *

          * The label display options (grid line, range, scale, and axis step) of a combo chart's primary y-axis (bar) field * well. *

          * * @param primaryYAxisDisplayOptions * The label display options (grid line, range, scale, and axis step) of a combo chart's primary y-axis (bar) * field well. * @return Returns a reference to this object so that method calls can be chained together. */ public ComboChartConfiguration withPrimaryYAxisDisplayOptions(AxisDisplayOptions primaryYAxisDisplayOptions) { setPrimaryYAxisDisplayOptions(primaryYAxisDisplayOptions); return this; } /** *

          * The label options (label text, label visibility, and sort icon visibility) of a combo chart's primary y-axis * (bar) field well. *

          * * @param primaryYAxisLabelOptions * The label options (label text, label visibility, and sort icon visibility) of a combo chart's primary * y-axis (bar) field well. */ public void setPrimaryYAxisLabelOptions(ChartAxisLabelOptions primaryYAxisLabelOptions) { this.primaryYAxisLabelOptions = primaryYAxisLabelOptions; } /** *

          * The label options (label text, label visibility, and sort icon visibility) of a combo chart's primary y-axis * (bar) field well. *

          * * @return The label options (label text, label visibility, and sort icon visibility) of a combo chart's primary * y-axis (bar) field well. */ public ChartAxisLabelOptions getPrimaryYAxisLabelOptions() { return this.primaryYAxisLabelOptions; } /** *

          * The label options (label text, label visibility, and sort icon visibility) of a combo chart's primary y-axis * (bar) field well. *

          * * @param primaryYAxisLabelOptions * The label options (label text, label visibility, and sort icon visibility) of a combo chart's primary * y-axis (bar) field well. * @return Returns a reference to this object so that method calls can be chained together. */ public ComboChartConfiguration withPrimaryYAxisLabelOptions(ChartAxisLabelOptions primaryYAxisLabelOptions) { setPrimaryYAxisLabelOptions(primaryYAxisLabelOptions); return this; } /** *

          * The label display options (grid line, range, scale, axis step) of a combo chart's secondary y-axis (line) field * well. *

          * * @param secondaryYAxisDisplayOptions * The label display options (grid line, range, scale, axis step) of a combo chart's secondary y-axis (line) * field well. */ public void setSecondaryYAxisDisplayOptions(AxisDisplayOptions secondaryYAxisDisplayOptions) { this.secondaryYAxisDisplayOptions = secondaryYAxisDisplayOptions; } /** *

          * The label display options (grid line, range, scale, axis step) of a combo chart's secondary y-axis (line) field * well. *

          * * @return The label display options (grid line, range, scale, axis step) of a combo chart's secondary y-axis (line) * field well. */ public AxisDisplayOptions getSecondaryYAxisDisplayOptions() { return this.secondaryYAxisDisplayOptions; } /** *

          * The label display options (grid line, range, scale, axis step) of a combo chart's secondary y-axis (line) field * well. *

          * * @param secondaryYAxisDisplayOptions * The label display options (grid line, range, scale, axis step) of a combo chart's secondary y-axis (line) * field well. * @return Returns a reference to this object so that method calls can be chained together. */ public ComboChartConfiguration withSecondaryYAxisDisplayOptions(AxisDisplayOptions secondaryYAxisDisplayOptions) { setSecondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions); return this; } /** *

          * The label options (label text, label visibility, and sort icon visibility) of a combo chart's secondary * y-axis(line) field well. *

          * * @param secondaryYAxisLabelOptions * The label options (label text, label visibility, and sort icon visibility) of a combo chart's secondary * y-axis(line) field well. */ public void setSecondaryYAxisLabelOptions(ChartAxisLabelOptions secondaryYAxisLabelOptions) { this.secondaryYAxisLabelOptions = secondaryYAxisLabelOptions; } /** *

          * The label options (label text, label visibility, and sort icon visibility) of a combo chart's secondary * y-axis(line) field well. *

          * * @return The label options (label text, label visibility, and sort icon visibility) of a combo chart's secondary * y-axis(line) field well. */ public ChartAxisLabelOptions getSecondaryYAxisLabelOptions() { return this.secondaryYAxisLabelOptions; } /** *

          * The label options (label text, label visibility, and sort icon visibility) of a combo chart's secondary * y-axis(line) field well. *

          * * @param secondaryYAxisLabelOptions * The label options (label text, label visibility, and sort icon visibility) of a combo chart's secondary * y-axis(line) field well. * @return Returns a reference to this object so that method calls can be chained together. */ public ComboChartConfiguration withSecondaryYAxisLabelOptions(ChartAxisLabelOptions secondaryYAxisLabelOptions) { setSecondaryYAxisLabelOptions(secondaryYAxisLabelOptions); return this; } /** * @param singleAxisOptions */ public void setSingleAxisOptions(SingleAxisOptions singleAxisOptions) { this.singleAxisOptions = singleAxisOptions; } /** * @return */ public SingleAxisOptions getSingleAxisOptions() { return this.singleAxisOptions; } /** * @param singleAxisOptions * @return Returns a reference to this object so that method calls can be chained together. */ public ComboChartConfiguration withSingleAxisOptions(SingleAxisOptions singleAxisOptions) { setSingleAxisOptions(singleAxisOptions); return this; } /** *

          * The label options (label text, label visibility, and sort icon visibility) of a combo chart's color field well. *

          * * @param colorLabelOptions * The label options (label text, label visibility, and sort icon visibility) of a combo chart's color field * well. */ public void setColorLabelOptions(ChartAxisLabelOptions colorLabelOptions) { this.colorLabelOptions = colorLabelOptions; } /** *

          * The label options (label text, label visibility, and sort icon visibility) of a combo chart's color field well. *

          * * @return The label options (label text, label visibility, and sort icon visibility) of a combo chart's color field * well. */ public ChartAxisLabelOptions getColorLabelOptions() { return this.colorLabelOptions; } /** *

          * The label options (label text, label visibility, and sort icon visibility) of a combo chart's color field well. *

          * * @param colorLabelOptions * The label options (label text, label visibility, and sort icon visibility) of a combo chart's color field * well. * @return Returns a reference to this object so that method calls can be chained together. */ public ComboChartConfiguration withColorLabelOptions(ChartAxisLabelOptions colorLabelOptions) { setColorLabelOptions(colorLabelOptions); return this; } /** *

          * The legend display setup of the visual. *

          * * @param legend * The legend display setup of the visual. */ public void setLegend(LegendOptions legend) { this.legend = legend; } /** *

          * The legend display setup of the visual. *

          * * @return The legend display setup of the visual. */ public LegendOptions getLegend() { return this.legend; } /** *

          * The legend display setup of the visual. *

          * * @param legend * The legend display setup of the visual. * @return Returns a reference to this object so that method calls can be chained together. */ public ComboChartConfiguration withLegend(LegendOptions legend) { setLegend(legend); return this; } /** *

          * The options that determine if visual data labels are displayed. *

          *

          * The data label options for a bar in a combo chart. *

          * * @param barDataLabels * The options that determine if visual data labels are displayed.

          *

          * The data label options for a bar in a combo chart. */ public void setBarDataLabels(DataLabelOptions barDataLabels) { this.barDataLabels = barDataLabels; } /** *

          * The options that determine if visual data labels are displayed. *

          *

          * The data label options for a bar in a combo chart. *

          * * @return The options that determine if visual data labels are displayed.

          *

          * The data label options for a bar in a combo chart. */ public DataLabelOptions getBarDataLabels() { return this.barDataLabels; } /** *

          * The options that determine if visual data labels are displayed. *

          *

          * The data label options for a bar in a combo chart. *

          * * @param barDataLabels * The options that determine if visual data labels are displayed.

          *

          * The data label options for a bar in a combo chart. * @return Returns a reference to this object so that method calls can be chained together. */ public ComboChartConfiguration withBarDataLabels(DataLabelOptions barDataLabels) { setBarDataLabels(barDataLabels); return this; } /** *

          * The options that determine if visual data labels are displayed. *

          *

          * The data label options for a line in a combo chart. *

          * * @param lineDataLabels * The options that determine if visual data labels are displayed.

          *

          * The data label options for a line in a combo chart. */ public void setLineDataLabels(DataLabelOptions lineDataLabels) { this.lineDataLabels = lineDataLabels; } /** *

          * The options that determine if visual data labels are displayed. *

          *

          * The data label options for a line in a combo chart. *

          * * @return The options that determine if visual data labels are displayed.

          *

          * The data label options for a line in a combo chart. */ public DataLabelOptions getLineDataLabels() { return this.lineDataLabels; } /** *

          * The options that determine if visual data labels are displayed. *

          *

          * The data label options for a line in a combo chart. *

          * * @param lineDataLabels * The options that determine if visual data labels are displayed.

          *

          * The data label options for a line in a combo chart. * @return Returns a reference to this object so that method calls can be chained together. */ public ComboChartConfiguration withLineDataLabels(DataLabelOptions lineDataLabels) { setLineDataLabels(lineDataLabels); return this; } /** *

          * The legend display setup of the visual. *

          * * @param tooltip * The legend display setup of the visual. */ public void setTooltip(TooltipOptions tooltip) { this.tooltip = tooltip; } /** *

          * The legend display setup of the visual. *

          * * @return The legend display setup of the visual. */ public TooltipOptions getTooltip() { return this.tooltip; } /** *

          * The legend display setup of the visual. *

          * * @param tooltip * The legend display setup of the visual. * @return Returns a reference to this object so that method calls can be chained together. */ public ComboChartConfiguration withTooltip(TooltipOptions tooltip) { setTooltip(tooltip); return this; } /** *

          * The reference line setup of the visual. *

          * * @return The reference line setup of the visual. */ public java.util.List getReferenceLines() { return referenceLines; } /** *

          * The reference line setup of the visual. *

          * * @param referenceLines * The reference line setup of the visual. */ public void setReferenceLines(java.util.Collection referenceLines) { if (referenceLines == null) { this.referenceLines = null; return; } this.referenceLines = new java.util.ArrayList(referenceLines); } /** *

          * The reference line setup of the visual. *

          *

          * NOTE: This method appends the values to the existing list (if any). Use * {@link #setReferenceLines(java.util.Collection)} or {@link #withReferenceLines(java.util.Collection)} if you want * to override the existing values. *

          * * @param referenceLines * The reference line setup of the visual. * @return Returns a reference to this object so that method calls can be chained together. */ public ComboChartConfiguration withReferenceLines(ReferenceLine... referenceLines) { if (this.referenceLines == null) { setReferenceLines(new java.util.ArrayList(referenceLines.length)); } for (ReferenceLine ele : referenceLines) { this.referenceLines.add(ele); } return this; } /** *

          * The reference line setup of the visual. *

          * * @param referenceLines * The reference line setup of the visual. * @return Returns a reference to this object so that method calls can be chained together. */ public ComboChartConfiguration withReferenceLines(java.util.Collection referenceLines) { setReferenceLines(referenceLines); return this; } /** *

          * The palette (chart color) display setup of the visual. *

          * * @param visualPalette * The palette (chart color) display setup of the visual. */ public void setVisualPalette(VisualPalette visualPalette) { this.visualPalette = visualPalette; } /** *

          * The palette (chart color) display setup of the visual. *

          * * @return The palette (chart color) display setup of the visual. */ public VisualPalette getVisualPalette() { return this.visualPalette; } /** *

          * The palette (chart color) display setup of the visual. *

          * * @param visualPalette * The palette (chart color) display setup of the visual. * @return Returns a reference to this object so that method calls can be chained together. */ public ComboChartConfiguration withVisualPalette(VisualPalette visualPalette) { setVisualPalette(visualPalette); return this; } /** *

          * The general visual interactions setup for a visual. *

          * * @param interactions * The general visual interactions setup for a visual. */ public void setInteractions(VisualInteractionOptions interactions) { this.interactions = interactions; } /** *

          * The general visual interactions setup for a visual. *

          * * @return The general visual interactions setup for a visual. */ public VisualInteractionOptions getInteractions() { return this.interactions; } /** *

          * The general visual interactions setup for a visual. *

          * * @param interactions * The general visual interactions setup for a visual. * @return Returns a reference to this object so that method calls can be chained together. */ public ComboChartConfiguration withInteractions(VisualInteractionOptions interactions) { setInteractions(interactions); return this; } /** * 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. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getFieldWells() != null) sb.append("FieldWells: ").append(getFieldWells()).append(","); if (getSortConfiguration() != null) sb.append("SortConfiguration: ").append(getSortConfiguration()).append(","); if (getBarsArrangement() != null) sb.append("BarsArrangement: ").append(getBarsArrangement()).append(","); if (getCategoryAxis() != null) sb.append("CategoryAxis: ").append(getCategoryAxis()).append(","); if (getCategoryLabelOptions() != null) sb.append("CategoryLabelOptions: ").append(getCategoryLabelOptions()).append(","); if (getPrimaryYAxisDisplayOptions() != null) sb.append("PrimaryYAxisDisplayOptions: ").append(getPrimaryYAxisDisplayOptions()).append(","); if (getPrimaryYAxisLabelOptions() != null) sb.append("PrimaryYAxisLabelOptions: ").append(getPrimaryYAxisLabelOptions()).append(","); if (getSecondaryYAxisDisplayOptions() != null) sb.append("SecondaryYAxisDisplayOptions: ").append(getSecondaryYAxisDisplayOptions()).append(","); if (getSecondaryYAxisLabelOptions() != null) sb.append("SecondaryYAxisLabelOptions: ").append(getSecondaryYAxisLabelOptions()).append(","); if (getSingleAxisOptions() != null) sb.append("SingleAxisOptions: ").append(getSingleAxisOptions()).append(","); if (getColorLabelOptions() != null) sb.append("ColorLabelOptions: ").append(getColorLabelOptions()).append(","); if (getLegend() != null) sb.append("Legend: ").append(getLegend()).append(","); if (getBarDataLabels() != null) sb.append("BarDataLabels: ").append(getBarDataLabels()).append(","); if (getLineDataLabels() != null) sb.append("LineDataLabels: ").append(getLineDataLabels()).append(","); if (getTooltip() != null) sb.append("Tooltip: ").append(getTooltip()).append(","); if (getReferenceLines() != null) sb.append("ReferenceLines: ").append(getReferenceLines()).append(","); if (getVisualPalette() != null) sb.append("VisualPalette: ").append(getVisualPalette()).append(","); if (getInteractions() != null) sb.append("Interactions: ").append(getInteractions()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof ComboChartConfiguration == false) return false; ComboChartConfiguration other = (ComboChartConfiguration) obj; if (other.getFieldWells() == null ^ this.getFieldWells() == null) return false; if (other.getFieldWells() != null && other.getFieldWells().equals(this.getFieldWells()) == false) return false; if (other.getSortConfiguration() == null ^ this.getSortConfiguration() == null) return false; if (other.getSortConfiguration() != null && other.getSortConfiguration().equals(this.getSortConfiguration()) == false) return false; if (other.getBarsArrangement() == null ^ this.getBarsArrangement() == null) return false; if (other.getBarsArrangement() != null && other.getBarsArrangement().equals(this.getBarsArrangement()) == false) return false; if (other.getCategoryAxis() == null ^ this.getCategoryAxis() == null) return false; if (other.getCategoryAxis() != null && other.getCategoryAxis().equals(this.getCategoryAxis()) == false) return false; if (other.getCategoryLabelOptions() == null ^ this.getCategoryLabelOptions() == null) return false; if (other.getCategoryLabelOptions() != null && other.getCategoryLabelOptions().equals(this.getCategoryLabelOptions()) == false) return false; if (other.getPrimaryYAxisDisplayOptions() == null ^ this.getPrimaryYAxisDisplayOptions() == null) return false; if (other.getPrimaryYAxisDisplayOptions() != null && other.getPrimaryYAxisDisplayOptions().equals(this.getPrimaryYAxisDisplayOptions()) == false) return false; if (other.getPrimaryYAxisLabelOptions() == null ^ this.getPrimaryYAxisLabelOptions() == null) return false; if (other.getPrimaryYAxisLabelOptions() != null && other.getPrimaryYAxisLabelOptions().equals(this.getPrimaryYAxisLabelOptions()) == false) return false; if (other.getSecondaryYAxisDisplayOptions() == null ^ this.getSecondaryYAxisDisplayOptions() == null) return false; if (other.getSecondaryYAxisDisplayOptions() != null && other.getSecondaryYAxisDisplayOptions().equals(this.getSecondaryYAxisDisplayOptions()) == false) return false; if (other.getSecondaryYAxisLabelOptions() == null ^ this.getSecondaryYAxisLabelOptions() == null) return false; if (other.getSecondaryYAxisLabelOptions() != null && other.getSecondaryYAxisLabelOptions().equals(this.getSecondaryYAxisLabelOptions()) == false) return false; if (other.getSingleAxisOptions() == null ^ this.getSingleAxisOptions() == null) return false; if (other.getSingleAxisOptions() != null && other.getSingleAxisOptions().equals(this.getSingleAxisOptions()) == false) return false; if (other.getColorLabelOptions() == null ^ this.getColorLabelOptions() == null) return false; if (other.getColorLabelOptions() != null && other.getColorLabelOptions().equals(this.getColorLabelOptions()) == false) return false; if (other.getLegend() == null ^ this.getLegend() == null) return false; if (other.getLegend() != null && other.getLegend().equals(this.getLegend()) == false) return false; if (other.getBarDataLabels() == null ^ this.getBarDataLabels() == null) return false; if (other.getBarDataLabels() != null && other.getBarDataLabels().equals(this.getBarDataLabels()) == false) return false; if (other.getLineDataLabels() == null ^ this.getLineDataLabels() == null) return false; if (other.getLineDataLabels() != null && other.getLineDataLabels().equals(this.getLineDataLabels()) == false) return false; if (other.getTooltip() == null ^ this.getTooltip() == null) return false; if (other.getTooltip() != null && other.getTooltip().equals(this.getTooltip()) == false) return false; if (other.getReferenceLines() == null ^ this.getReferenceLines() == null) return false; if (other.getReferenceLines() != null && other.getReferenceLines().equals(this.getReferenceLines()) == false) return false; if (other.getVisualPalette() == null ^ this.getVisualPalette() == null) return false; if (other.getVisualPalette() != null && other.getVisualPalette().equals(this.getVisualPalette()) == false) return false; if (other.getInteractions() == null ^ this.getInteractions() == null) return false; if (other.getInteractions() != null && other.getInteractions().equals(this.getInteractions()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getFieldWells() == null) ? 0 : getFieldWells().hashCode()); hashCode = prime * hashCode + ((getSortConfiguration() == null) ? 0 : getSortConfiguration().hashCode()); hashCode = prime * hashCode + ((getBarsArrangement() == null) ? 0 : getBarsArrangement().hashCode()); hashCode = prime * hashCode + ((getCategoryAxis() == null) ? 0 : getCategoryAxis().hashCode()); hashCode = prime * hashCode + ((getCategoryLabelOptions() == null) ? 0 : getCategoryLabelOptions().hashCode()); hashCode = prime * hashCode + ((getPrimaryYAxisDisplayOptions() == null) ? 0 : getPrimaryYAxisDisplayOptions().hashCode()); hashCode = prime * hashCode + ((getPrimaryYAxisLabelOptions() == null) ? 0 : getPrimaryYAxisLabelOptions().hashCode()); hashCode = prime * hashCode + ((getSecondaryYAxisDisplayOptions() == null) ? 0 : getSecondaryYAxisDisplayOptions().hashCode()); hashCode = prime * hashCode + ((getSecondaryYAxisLabelOptions() == null) ? 0 : getSecondaryYAxisLabelOptions().hashCode()); hashCode = prime * hashCode + ((getSingleAxisOptions() == null) ? 0 : getSingleAxisOptions().hashCode()); hashCode = prime * hashCode + ((getColorLabelOptions() == null) ? 0 : getColorLabelOptions().hashCode()); hashCode = prime * hashCode + ((getLegend() == null) ? 0 : getLegend().hashCode()); hashCode = prime * hashCode + ((getBarDataLabels() == null) ? 0 : getBarDataLabels().hashCode()); hashCode = prime * hashCode + ((getLineDataLabels() == null) ? 0 : getLineDataLabels().hashCode()); hashCode = prime * hashCode + ((getTooltip() == null) ? 0 : getTooltip().hashCode()); hashCode = prime * hashCode + ((getReferenceLines() == null) ? 0 : getReferenceLines().hashCode()); hashCode = prime * hashCode + ((getVisualPalette() == null) ? 0 : getVisualPalette().hashCode()); hashCode = prime * hashCode + ((getInteractions() == null) ? 0 : getInteractions().hashCode()); return hashCode; } @Override public ComboChartConfiguration clone() { try { return (ComboChartConfiguration) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } @com.amazonaws.annotation.SdkInternalApi @Override public void marshall(ProtocolMarshaller protocolMarshaller) { com.amazonaws.services.quicksight.model.transform.ComboChartConfigurationMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy