@Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;

        if (obj instanceof PivotTableOptions == false)
            return false;
        PivotTableOptions other = (PivotTableOptions) obj;
        if (other.getMetricPlacement() == null ^ this.getMetricPlacement() == null)
            return false;
        if (other.getMetricPlacement() != null && other.getMetricPlacement().equals(this.getMetricPlacement()) == false)
            return false;
        if (other.getSingleMetricVisibility() == null ^ this.getSingleMetricVisibility() == null)
            return false;
        if (other.getSingleMetricVisibility() != null && other.getSingleMetricVisibility().equals(this.getSingleMetricVisibility()) == false)
            return false;
        if (other.getColumnNamesVisibility() == null ^ this.getColumnNamesVisibility() == null)
            return false;
        if (other.getColumnNamesVisibility() != null && other.getColumnNamesVisibility().equals(this.getColumnNamesVisibility()) == false)
            return false;
        if (other.getToggleButtonsVisibility() == null ^ this.getToggleButtonsVisibility() == null)
            return false;
        if (other.getToggleButtonsVisibility() != null && other.getToggleButtonsVisibility().equals(this.getToggleButtonsVisibility()) == false)
            return false;
        if (other.getColumnHeaderStyle() == null ^ this.getColumnHeaderStyle() == null)
            return false;
        if (other.getColumnHeaderStyle() != null && other.getColumnHeaderStyle().equals(this.getColumnHeaderStyle()) == false)
            return false;
        if (other.getRowHeaderStyle() == null ^ this.getRowHeaderStyle() == null)
            return false;
        if (other.getRowHeaderStyle() != null && other.getRowHeaderStyle().equals(this.getRowHeaderStyle()) == false)
            return false;
        if (other.getCellStyle() == null ^ this.getCellStyle() == null)
            return false;
        if (other.getCellStyle() != null && other.getCellStyle().equals(this.getCellStyle()) == false)
            return false;
        if (other.getRowFieldNamesStyle() == null ^ this.getRowFieldNamesStyle() == null)
            return false;
        if (other.getRowFieldNamesStyle() != null && other.getRowFieldNamesStyle().equals(this.getRowFieldNamesStyle()) == false)
            return false;
        if (other.getRowAlternateColorOptions() == null ^ this.getRowAlternateColorOptions() == null)
            return false;
        if (other.getRowAlternateColorOptions() != null && other.getRowAlternateColorOptions().equals(this.getRowAlternateColorOptions()) == false)
            return false;
        if (other.getCollapsedRowDimensionsVisibility() == null ^ this.getCollapsedRowDimensionsVisibility() == null)
            return false;
        if (other.getCollapsedRowDimensionsVisibility() != null
                && other.getCollapsedRowDimensionsVisibility().equals(this.getCollapsedRowDimensionsVisibility()) == false)
            return false;
        if (other.getRowsLayout() == null ^ this.getRowsLayout() == null)
            return false;
        if (other.getRowsLayout() != null && other.getRowsLayout().equals(this.getRowsLayout()) == false)
            return false;
        if (other.getRowsLabelOptions() == null ^ this.getRowsLabelOptions() == null)
            return false;
        if (other.getRowsLabelOptions() != null && other.getRowsLabelOptions().equals(this.getRowsLabelOptions()) == false)
            return false;
        if (other.getDefaultCellWidth() == null ^ this.getDefaultCellWidth() == null)
            return false;
        if (other.getDefaultCellWidth() != null && other.getDefaultCellWidth().equals(this.getDefaultCellWidth()) == false)
            return false;
        return true;
    }
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()
aws-java-sdk-quicksight/src/main/java/com/amazonaws/services/quicksight/model/PivotTableOptions.java