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

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

Go to download

The AWS Java SDK for Amazon QuickSight module holds the client classes that are used for communicating with Amazon QuickSight Service

There is a newer version: 1.12.780
Show newest version
/*
 * 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 line chart. *

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

* The field well configuration of a line chart. *

*/ private LineChartFieldWells fieldWells; /** *

* The sort configuration of a line chart. *

*/ private LineChartSortConfiguration sortConfiguration; /** *

* The forecast configuration of a line chart. *

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

* Determines the type of the line chart. *

*/ private String type; /** *

* The small multiples setup for the visual. *

*/ private SmallMultiplesOptions smallMultiplesOptions; /** *

* The options that determine the presentation of the x-axis. *

*/ private AxisDisplayOptions xAxisDisplayOptions; /** *

* The options that determine the presentation of the x-axis label. *

*/ private ChartAxisLabelOptions xAxisLabelOptions; /** *

* The series axis configuration of a line chart. *

*/ private LineSeriesAxisDisplayOptions primaryYAxisDisplayOptions; /** *

* The options that determine the presentation of the y-axis label. *

*/ private ChartAxisLabelOptions primaryYAxisLabelOptions; /** *

* The series axis configuration of a line chart. *

*/ private LineSeriesAxisDisplayOptions secondaryYAxisDisplayOptions; /** *

* The options that determine the presentation of the secondary y-axis label. *

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

* The options that determine the default presentation of all line series in LineChartVisual. *

*/ private LineChartDefaultSeriesSettings defaultSeriesSettings; /** *

* The series item configuration of a line chart. *

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

* The legend configuration of a line chart. *

*/ private LegendOptions legend; /** *

* The data label configuration of a line chart. *

*/ private DataLabelOptions dataLabels; /** *

* The reference lines configuration of a line chart. *

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

* The tooltip configuration of a line chart. *

*/ private TooltipOptions tooltip; /** *

* The default configuration of a line chart's contribution analysis. *

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

* The visual palette configuration of a line chart. *

*/ private VisualPalette visualPalette; /** *

* The general visual interactions setup for a visual. *

*/ private VisualInteractionOptions interactions; /** *

* The field well configuration of a line chart. *

* * @param fieldWells * The field well configuration of a line chart. */ public void setFieldWells(LineChartFieldWells fieldWells) { this.fieldWells = fieldWells; } /** *

* The field well configuration of a line chart. *

* * @return The field well configuration of a line chart. */ public LineChartFieldWells getFieldWells() { return this.fieldWells; } /** *

* The field well configuration of a line chart. *

* * @param fieldWells * The field well configuration of a line chart. * @return Returns a reference to this object so that method calls can be chained together. */ public LineChartConfiguration withFieldWells(LineChartFieldWells fieldWells) { setFieldWells(fieldWells); return this; } /** *

* The sort configuration of a line chart. *

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

* The sort configuration of a line chart. *

* * @return The sort configuration of a line chart. */ public LineChartSortConfiguration getSortConfiguration() { return this.sortConfiguration; } /** *

* The sort configuration of a line chart. *

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

* The forecast configuration of a line chart. *

* * @return The forecast configuration of a line chart. */ public java.util.List getForecastConfigurations() { return forecastConfigurations; } /** *

* The forecast configuration of a line chart. *

* * @param forecastConfigurations * The forecast configuration of a line chart. */ public void setForecastConfigurations(java.util.Collection forecastConfigurations) { if (forecastConfigurations == null) { this.forecastConfigurations = null; return; } this.forecastConfigurations = new java.util.ArrayList(forecastConfigurations); } /** *

* The forecast configuration of a line chart. *

*

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

* * @param forecastConfigurations * The forecast configuration of a line chart. * @return Returns a reference to this object so that method calls can be chained together. */ public LineChartConfiguration withForecastConfigurations(ForecastConfiguration... forecastConfigurations) { if (this.forecastConfigurations == null) { setForecastConfigurations(new java.util.ArrayList(forecastConfigurations.length)); } for (ForecastConfiguration ele : forecastConfigurations) { this.forecastConfigurations.add(ele); } return this; } /** *

* The forecast configuration of a line chart. *

* * @param forecastConfigurations * The forecast configuration of a line chart. * @return Returns a reference to this object so that method calls can be chained together. */ public LineChartConfiguration withForecastConfigurations(java.util.Collection forecastConfigurations) { setForecastConfigurations(forecastConfigurations); return this; } /** *

* Determines the type of the line chart. *

* * @param type * Determines the type of the line chart. * @see LineChartType */ public void setType(String type) { this.type = type; } /** *

* Determines the type of the line chart. *

* * @return Determines the type of the line chart. * @see LineChartType */ public String getType() { return this.type; } /** *

* Determines the type of the line chart. *

* * @param type * Determines the type of the line chart. * @return Returns a reference to this object so that method calls can be chained together. * @see LineChartType */ public LineChartConfiguration withType(String type) { setType(type); return this; } /** *

* Determines the type of the line chart. *

* * @param type * Determines the type of the line chart. * @return Returns a reference to this object so that method calls can be chained together. * @see LineChartType */ public LineChartConfiguration withType(LineChartType type) { this.type = type.toString(); return this; } /** *

* The small multiples setup for the visual. *

* * @param smallMultiplesOptions * The small multiples setup for the visual. */ public void setSmallMultiplesOptions(SmallMultiplesOptions smallMultiplesOptions) { this.smallMultiplesOptions = smallMultiplesOptions; } /** *

* The small multiples setup for the visual. *

* * @return The small multiples setup for the visual. */ public SmallMultiplesOptions getSmallMultiplesOptions() { return this.smallMultiplesOptions; } /** *

* The small multiples setup for the visual. *

* * @param smallMultiplesOptions * The small multiples setup for the visual. * @return Returns a reference to this object so that method calls can be chained together. */ public LineChartConfiguration withSmallMultiplesOptions(SmallMultiplesOptions smallMultiplesOptions) { setSmallMultiplesOptions(smallMultiplesOptions); return this; } /** *

* The options that determine the presentation of the x-axis. *

* * @param xAxisDisplayOptions * The options that determine the presentation of the x-axis. */ public void setXAxisDisplayOptions(AxisDisplayOptions xAxisDisplayOptions) { this.xAxisDisplayOptions = xAxisDisplayOptions; } /** *

* The options that determine the presentation of the x-axis. *

* * @return The options that determine the presentation of the x-axis. */ public AxisDisplayOptions getXAxisDisplayOptions() { return this.xAxisDisplayOptions; } /** *

* The options that determine the presentation of the x-axis. *

* * @param xAxisDisplayOptions * The options that determine the presentation of the x-axis. * @return Returns a reference to this object so that method calls can be chained together. */ public LineChartConfiguration withXAxisDisplayOptions(AxisDisplayOptions xAxisDisplayOptions) { setXAxisDisplayOptions(xAxisDisplayOptions); return this; } /** *

* The options that determine the presentation of the x-axis label. *

* * @param xAxisLabelOptions * The options that determine the presentation of the x-axis label. */ public void setXAxisLabelOptions(ChartAxisLabelOptions xAxisLabelOptions) { this.xAxisLabelOptions = xAxisLabelOptions; } /** *

* The options that determine the presentation of the x-axis label. *

* * @return The options that determine the presentation of the x-axis label. */ public ChartAxisLabelOptions getXAxisLabelOptions() { return this.xAxisLabelOptions; } /** *

* The options that determine the presentation of the x-axis label. *

* * @param xAxisLabelOptions * The options that determine the presentation of the x-axis label. * @return Returns a reference to this object so that method calls can be chained together. */ public LineChartConfiguration withXAxisLabelOptions(ChartAxisLabelOptions xAxisLabelOptions) { setXAxisLabelOptions(xAxisLabelOptions); return this; } /** *

* The series axis configuration of a line chart. *

* * @param primaryYAxisDisplayOptions * The series axis configuration of a line chart. */ public void setPrimaryYAxisDisplayOptions(LineSeriesAxisDisplayOptions primaryYAxisDisplayOptions) { this.primaryYAxisDisplayOptions = primaryYAxisDisplayOptions; } /** *

* The series axis configuration of a line chart. *

* * @return The series axis configuration of a line chart. */ public LineSeriesAxisDisplayOptions getPrimaryYAxisDisplayOptions() { return this.primaryYAxisDisplayOptions; } /** *

* The series axis configuration of a line chart. *

* * @param primaryYAxisDisplayOptions * The series axis configuration of a line chart. * @return Returns a reference to this object so that method calls can be chained together. */ public LineChartConfiguration withPrimaryYAxisDisplayOptions(LineSeriesAxisDisplayOptions primaryYAxisDisplayOptions) { setPrimaryYAxisDisplayOptions(primaryYAxisDisplayOptions); return this; } /** *

* The options that determine the presentation of the y-axis label. *

* * @param primaryYAxisLabelOptions * The options that determine the presentation of the y-axis label. */ public void setPrimaryYAxisLabelOptions(ChartAxisLabelOptions primaryYAxisLabelOptions) { this.primaryYAxisLabelOptions = primaryYAxisLabelOptions; } /** *

* The options that determine the presentation of the y-axis label. *

* * @return The options that determine the presentation of the y-axis label. */ public ChartAxisLabelOptions getPrimaryYAxisLabelOptions() { return this.primaryYAxisLabelOptions; } /** *

* The options that determine the presentation of the y-axis label. *

* * @param primaryYAxisLabelOptions * The options that determine the presentation of the y-axis label. * @return Returns a reference to this object so that method calls can be chained together. */ public LineChartConfiguration withPrimaryYAxisLabelOptions(ChartAxisLabelOptions primaryYAxisLabelOptions) { setPrimaryYAxisLabelOptions(primaryYAxisLabelOptions); return this; } /** *

* The series axis configuration of a line chart. *

* * @param secondaryYAxisDisplayOptions * The series axis configuration of a line chart. */ public void setSecondaryYAxisDisplayOptions(LineSeriesAxisDisplayOptions secondaryYAxisDisplayOptions) { this.secondaryYAxisDisplayOptions = secondaryYAxisDisplayOptions; } /** *

* The series axis configuration of a line chart. *

* * @return The series axis configuration of a line chart. */ public LineSeriesAxisDisplayOptions getSecondaryYAxisDisplayOptions() { return this.secondaryYAxisDisplayOptions; } /** *

* The series axis configuration of a line chart. *

* * @param secondaryYAxisDisplayOptions * The series axis configuration of a line chart. * @return Returns a reference to this object so that method calls can be chained together. */ public LineChartConfiguration withSecondaryYAxisDisplayOptions(LineSeriesAxisDisplayOptions secondaryYAxisDisplayOptions) { setSecondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions); return this; } /** *

* The options that determine the presentation of the secondary y-axis label. *

* * @param secondaryYAxisLabelOptions * The options that determine the presentation of the secondary y-axis label. */ public void setSecondaryYAxisLabelOptions(ChartAxisLabelOptions secondaryYAxisLabelOptions) { this.secondaryYAxisLabelOptions = secondaryYAxisLabelOptions; } /** *

* The options that determine the presentation of the secondary y-axis label. *

* * @return The options that determine the presentation of the secondary y-axis label. */ public ChartAxisLabelOptions getSecondaryYAxisLabelOptions() { return this.secondaryYAxisLabelOptions; } /** *

* The options that determine the presentation of the secondary y-axis label. *

* * @param secondaryYAxisLabelOptions * The options that determine the presentation of the secondary y-axis label. * @return Returns a reference to this object so that method calls can be chained together. */ public LineChartConfiguration 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 LineChartConfiguration withSingleAxisOptions(SingleAxisOptions singleAxisOptions) { setSingleAxisOptions(singleAxisOptions); return this; } /** *

* The options that determine the default presentation of all line series in LineChartVisual. *

* * @param defaultSeriesSettings * The options that determine the default presentation of all line series in LineChartVisual. */ public void setDefaultSeriesSettings(LineChartDefaultSeriesSettings defaultSeriesSettings) { this.defaultSeriesSettings = defaultSeriesSettings; } /** *

* The options that determine the default presentation of all line series in LineChartVisual. *

* * @return The options that determine the default presentation of all line series in LineChartVisual. */ public LineChartDefaultSeriesSettings getDefaultSeriesSettings() { return this.defaultSeriesSettings; } /** *

* The options that determine the default presentation of all line series in LineChartVisual. *

* * @param defaultSeriesSettings * The options that determine the default presentation of all line series in LineChartVisual. * @return Returns a reference to this object so that method calls can be chained together. */ public LineChartConfiguration withDefaultSeriesSettings(LineChartDefaultSeriesSettings defaultSeriesSettings) { setDefaultSeriesSettings(defaultSeriesSettings); return this; } /** *

* The series item configuration of a line chart. *

* * @return The series item configuration of a line chart. */ public java.util.List getSeries() { return series; } /** *

* The series item configuration of a line chart. *

* * @param series * The series item configuration of a line chart. */ public void setSeries(java.util.Collection series) { if (series == null) { this.series = null; return; } this.series = new java.util.ArrayList(series); } /** *

* The series item configuration of a line chart. *

*

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

* * @param series * The series item configuration of a line chart. * @return Returns a reference to this object so that method calls can be chained together. */ public LineChartConfiguration withSeries(SeriesItem... series) { if (this.series == null) { setSeries(new java.util.ArrayList(series.length)); } for (SeriesItem ele : series) { this.series.add(ele); } return this; } /** *

* The series item configuration of a line chart. *

* * @param series * The series item configuration of a line chart. * @return Returns a reference to this object so that method calls can be chained together. */ public LineChartConfiguration withSeries(java.util.Collection series) { setSeries(series); return this; } /** *

* The legend configuration of a line chart. *

* * @param legend * The legend configuration of a line chart. */ public void setLegend(LegendOptions legend) { this.legend = legend; } /** *

* The legend configuration of a line chart. *

* * @return The legend configuration of a line chart. */ public LegendOptions getLegend() { return this.legend; } /** *

* The legend configuration of a line chart. *

* * @param legend * The legend configuration of a line chart. * @return Returns a reference to this object so that method calls can be chained together. */ public LineChartConfiguration withLegend(LegendOptions legend) { setLegend(legend); return this; } /** *

* The data label configuration of a line chart. *

* * @param dataLabels * The data label configuration of a line chart. */ public void setDataLabels(DataLabelOptions dataLabels) { this.dataLabels = dataLabels; } /** *

* The data label configuration of a line chart. *

* * @return The data label configuration of a line chart. */ public DataLabelOptions getDataLabels() { return this.dataLabels; } /** *

* The data label configuration of a line chart. *

* * @param dataLabels * The data label configuration of a line chart. * @return Returns a reference to this object so that method calls can be chained together. */ public LineChartConfiguration withDataLabels(DataLabelOptions dataLabels) { setDataLabels(dataLabels); return this; } /** *

* The reference lines configuration of a line chart. *

* * @return The reference lines configuration of a line chart. */ public java.util.List getReferenceLines() { return referenceLines; } /** *

* The reference lines configuration of a line chart. *

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

* The reference lines configuration of a line chart. *

*

* 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 lines configuration of a line chart. * @return Returns a reference to this object so that method calls can be chained together. */ public LineChartConfiguration 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 lines configuration of a line chart. *

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

* The tooltip configuration of a line chart. *

* * @param tooltip * The tooltip configuration of a line chart. */ public void setTooltip(TooltipOptions tooltip) { this.tooltip = tooltip; } /** *

* The tooltip configuration of a line chart. *

* * @return The tooltip configuration of a line chart. */ public TooltipOptions getTooltip() { return this.tooltip; } /** *

* The tooltip configuration of a line chart. *

* * @param tooltip * The tooltip configuration of a line chart. * @return Returns a reference to this object so that method calls can be chained together. */ public LineChartConfiguration withTooltip(TooltipOptions tooltip) { setTooltip(tooltip); return this; } /** *

* The default configuration of a line chart's contribution analysis. *

* * @return The default configuration of a line chart's contribution analysis. */ public java.util.List getContributionAnalysisDefaults() { return contributionAnalysisDefaults; } /** *

* The default configuration of a line chart's contribution analysis. *

* * @param contributionAnalysisDefaults * The default configuration of a line chart's contribution analysis. */ public void setContributionAnalysisDefaults(java.util.Collection contributionAnalysisDefaults) { if (contributionAnalysisDefaults == null) { this.contributionAnalysisDefaults = null; return; } this.contributionAnalysisDefaults = new java.util.ArrayList(contributionAnalysisDefaults); } /** *

* The default configuration of a line chart's contribution analysis. *

*

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

* * @param contributionAnalysisDefaults * The default configuration of a line chart's contribution analysis. * @return Returns a reference to this object so that method calls can be chained together. */ public LineChartConfiguration withContributionAnalysisDefaults(ContributionAnalysisDefault... contributionAnalysisDefaults) { if (this.contributionAnalysisDefaults == null) { setContributionAnalysisDefaults(new java.util.ArrayList(contributionAnalysisDefaults.length)); } for (ContributionAnalysisDefault ele : contributionAnalysisDefaults) { this.contributionAnalysisDefaults.add(ele); } return this; } /** *

* The default configuration of a line chart's contribution analysis. *

* * @param contributionAnalysisDefaults * The default configuration of a line chart's contribution analysis. * @return Returns a reference to this object so that method calls can be chained together. */ public LineChartConfiguration withContributionAnalysisDefaults(java.util.Collection contributionAnalysisDefaults) { setContributionAnalysisDefaults(contributionAnalysisDefaults); return this; } /** *

* The visual palette configuration of a line chart. *

* * @param visualPalette * The visual palette configuration of a line chart. */ public void setVisualPalette(VisualPalette visualPalette) { this.visualPalette = visualPalette; } /** *

* The visual palette configuration of a line chart. *

* * @return The visual palette configuration of a line chart. */ public VisualPalette getVisualPalette() { return this.visualPalette; } /** *

* The visual palette configuration of a line chart. *

* * @param visualPalette * The visual palette configuration of a line chart. * @return Returns a reference to this object so that method calls can be chained together. */ public LineChartConfiguration 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 LineChartConfiguration 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 (getForecastConfigurations() != null) sb.append("ForecastConfigurations: ").append(getForecastConfigurations()).append(","); if (getType() != null) sb.append("Type: ").append(getType()).append(","); if (getSmallMultiplesOptions() != null) sb.append("SmallMultiplesOptions: ").append(getSmallMultiplesOptions()).append(","); if (getXAxisDisplayOptions() != null) sb.append("XAxisDisplayOptions: ").append(getXAxisDisplayOptions()).append(","); if (getXAxisLabelOptions() != null) sb.append("XAxisLabelOptions: ").append(getXAxisLabelOptions()).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 (getDefaultSeriesSettings() != null) sb.append("DefaultSeriesSettings: ").append(getDefaultSeriesSettings()).append(","); if (getSeries() != null) sb.append("Series: ").append(getSeries()).append(","); if (getLegend() != null) sb.append("Legend: ").append(getLegend()).append(","); if (getDataLabels() != null) sb.append("DataLabels: ").append(getDataLabels()).append(","); if (getReferenceLines() != null) sb.append("ReferenceLines: ").append(getReferenceLines()).append(","); if (getTooltip() != null) sb.append("Tooltip: ").append(getTooltip()).append(","); if (getContributionAnalysisDefaults() != null) sb.append("ContributionAnalysisDefaults: ").append(getContributionAnalysisDefaults()).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 LineChartConfiguration == false) return false; LineChartConfiguration other = (LineChartConfiguration) 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.getForecastConfigurations() == null ^ this.getForecastConfigurations() == null) return false; if (other.getForecastConfigurations() != null && other.getForecastConfigurations().equals(this.getForecastConfigurations()) == false) return false; if (other.getType() == null ^ this.getType() == null) return false; if (other.getType() != null && other.getType().equals(this.getType()) == false) return false; if (other.getSmallMultiplesOptions() == null ^ this.getSmallMultiplesOptions() == null) return false; if (other.getSmallMultiplesOptions() != null && other.getSmallMultiplesOptions().equals(this.getSmallMultiplesOptions()) == false) return false; if (other.getXAxisDisplayOptions() == null ^ this.getXAxisDisplayOptions() == null) return false; if (other.getXAxisDisplayOptions() != null && other.getXAxisDisplayOptions().equals(this.getXAxisDisplayOptions()) == false) return false; if (other.getXAxisLabelOptions() == null ^ this.getXAxisLabelOptions() == null) return false; if (other.getXAxisLabelOptions() != null && other.getXAxisLabelOptions().equals(this.getXAxisLabelOptions()) == 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.getDefaultSeriesSettings() == null ^ this.getDefaultSeriesSettings() == null) return false; if (other.getDefaultSeriesSettings() != null && other.getDefaultSeriesSettings().equals(this.getDefaultSeriesSettings()) == false) return false; if (other.getSeries() == null ^ this.getSeries() == null) return false; if (other.getSeries() != null && other.getSeries().equals(this.getSeries()) == 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.getDataLabels() == null ^ this.getDataLabels() == null) return false; if (other.getDataLabels() != null && other.getDataLabels().equals(this.getDataLabels()) == 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.getTooltip() == null ^ this.getTooltip() == null) return false; if (other.getTooltip() != null && other.getTooltip().equals(this.getTooltip()) == false) return false; if (other.getContributionAnalysisDefaults() == null ^ this.getContributionAnalysisDefaults() == null) return false; if (other.getContributionAnalysisDefaults() != null && other.getContributionAnalysisDefaults().equals(this.getContributionAnalysisDefaults()) == 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 + ((getForecastConfigurations() == null) ? 0 : getForecastConfigurations().hashCode()); hashCode = prime * hashCode + ((getType() == null) ? 0 : getType().hashCode()); hashCode = prime * hashCode + ((getSmallMultiplesOptions() == null) ? 0 : getSmallMultiplesOptions().hashCode()); hashCode = prime * hashCode + ((getXAxisDisplayOptions() == null) ? 0 : getXAxisDisplayOptions().hashCode()); hashCode = prime * hashCode + ((getXAxisLabelOptions() == null) ? 0 : getXAxisLabelOptions().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 + ((getDefaultSeriesSettings() == null) ? 0 : getDefaultSeriesSettings().hashCode()); hashCode = prime * hashCode + ((getSeries() == null) ? 0 : getSeries().hashCode()); hashCode = prime * hashCode + ((getLegend() == null) ? 0 : getLegend().hashCode()); hashCode = prime * hashCode + ((getDataLabels() == null) ? 0 : getDataLabels().hashCode()); hashCode = prime * hashCode + ((getReferenceLines() == null) ? 0 : getReferenceLines().hashCode()); hashCode = prime * hashCode + ((getTooltip() == null) ? 0 : getTooltip().hashCode()); hashCode = prime * hashCode + ((getContributionAnalysisDefaults() == null) ? 0 : getContributionAnalysisDefaults().hashCode()); hashCode = prime * hashCode + ((getVisualPalette() == null) ? 0 : getVisualPalette().hashCode()); hashCode = prime * hashCode + ((getInteractions() == null) ? 0 : getInteractions().hashCode()); return hashCode; } @Override public LineChartConfiguration clone() { try { return (LineChartConfiguration) 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.LineChartConfigurationMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy