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

com.amazonaws.services.quicksight.model.PivotTableConfiguration 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 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;

/**
 * 

* The configuration for a PivotTableVisual. *

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

* The field wells of the visual. *

*/ private PivotTableFieldWells fieldWells; /** *

* The sort configuration for a PivotTableVisual. *

*/ private PivotTableSortConfiguration sortConfiguration; /** *

* The table options for a pivot table visual. *

*/ private PivotTableOptions tableOptions; /** *

* The total options for a pivot table visual. *

*/ private PivotTableTotalOptions totalOptions; /** *

* The field options for a pivot table visual. *

*/ private PivotTableFieldOptions fieldOptions; /** *

* The paginated report options for a pivot table visual. *

*/ private PivotTablePaginatedReportOptions paginatedReportOptions; /** *

* The field wells of the visual. *

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

* The field wells of the visual. *

* * @return The field wells of the visual. */ public PivotTableFieldWells 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 PivotTableConfiguration withFieldWells(PivotTableFieldWells fieldWells) { setFieldWells(fieldWells); return this; } /** *

* The sort configuration for a PivotTableVisual. *

* * @param sortConfiguration * The sort configuration for a PivotTableVisual. */ public void setSortConfiguration(PivotTableSortConfiguration sortConfiguration) { this.sortConfiguration = sortConfiguration; } /** *

* The sort configuration for a PivotTableVisual. *

* * @return The sort configuration for a PivotTableVisual. */ public PivotTableSortConfiguration getSortConfiguration() { return this.sortConfiguration; } /** *

* The sort configuration for a PivotTableVisual. *

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

* The table options for a pivot table visual. *

* * @param tableOptions * The table options for a pivot table visual. */ public void setTableOptions(PivotTableOptions tableOptions) { this.tableOptions = tableOptions; } /** *

* The table options for a pivot table visual. *

* * @return The table options for a pivot table visual. */ public PivotTableOptions getTableOptions() { return this.tableOptions; } /** *

* The table options for a pivot table visual. *

* * @param tableOptions * The table options for a pivot table visual. * @return Returns a reference to this object so that method calls can be chained together. */ public PivotTableConfiguration withTableOptions(PivotTableOptions tableOptions) { setTableOptions(tableOptions); return this; } /** *

* The total options for a pivot table visual. *

* * @param totalOptions * The total options for a pivot table visual. */ public void setTotalOptions(PivotTableTotalOptions totalOptions) { this.totalOptions = totalOptions; } /** *

* The total options for a pivot table visual. *

* * @return The total options for a pivot table visual. */ public PivotTableTotalOptions getTotalOptions() { return this.totalOptions; } /** *

* The total options for a pivot table visual. *

* * @param totalOptions * The total options for a pivot table visual. * @return Returns a reference to this object so that method calls can be chained together. */ public PivotTableConfiguration withTotalOptions(PivotTableTotalOptions totalOptions) { setTotalOptions(totalOptions); return this; } /** *

* The field options for a pivot table visual. *

* * @param fieldOptions * The field options for a pivot table visual. */ public void setFieldOptions(PivotTableFieldOptions fieldOptions) { this.fieldOptions = fieldOptions; } /** *

* The field options for a pivot table visual. *

* * @return The field options for a pivot table visual. */ public PivotTableFieldOptions getFieldOptions() { return this.fieldOptions; } /** *

* The field options for a pivot table visual. *

* * @param fieldOptions * The field options for a pivot table visual. * @return Returns a reference to this object so that method calls can be chained together. */ public PivotTableConfiguration withFieldOptions(PivotTableFieldOptions fieldOptions) { setFieldOptions(fieldOptions); return this; } /** *

* The paginated report options for a pivot table visual. *

* * @param paginatedReportOptions * The paginated report options for a pivot table visual. */ public void setPaginatedReportOptions(PivotTablePaginatedReportOptions paginatedReportOptions) { this.paginatedReportOptions = paginatedReportOptions; } /** *

* The paginated report options for a pivot table visual. *

* * @return The paginated report options for a pivot table visual. */ public PivotTablePaginatedReportOptions getPaginatedReportOptions() { return this.paginatedReportOptions; } /** *

* The paginated report options for a pivot table visual. *

* * @param paginatedReportOptions * The paginated report options for a pivot table visual. * @return Returns a reference to this object so that method calls can be chained together. */ public PivotTableConfiguration withPaginatedReportOptions(PivotTablePaginatedReportOptions paginatedReportOptions) { setPaginatedReportOptions(paginatedReportOptions); 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 (getTableOptions() != null) sb.append("TableOptions: ").append(getTableOptions()).append(","); if (getTotalOptions() != null) sb.append("TotalOptions: ").append(getTotalOptions()).append(","); if (getFieldOptions() != null) sb.append("FieldOptions: ").append(getFieldOptions()).append(","); if (getPaginatedReportOptions() != null) sb.append("PaginatedReportOptions: ").append(getPaginatedReportOptions()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof PivotTableConfiguration == false) return false; PivotTableConfiguration other = (PivotTableConfiguration) 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.getTableOptions() == null ^ this.getTableOptions() == null) return false; if (other.getTableOptions() != null && other.getTableOptions().equals(this.getTableOptions()) == false) return false; if (other.getTotalOptions() == null ^ this.getTotalOptions() == null) return false; if (other.getTotalOptions() != null && other.getTotalOptions().equals(this.getTotalOptions()) == false) return false; if (other.getFieldOptions() == null ^ this.getFieldOptions() == null) return false; if (other.getFieldOptions() != null && other.getFieldOptions().equals(this.getFieldOptions()) == false) return false; if (other.getPaginatedReportOptions() == null ^ this.getPaginatedReportOptions() == null) return false; if (other.getPaginatedReportOptions() != null && other.getPaginatedReportOptions().equals(this.getPaginatedReportOptions()) == 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 + ((getTableOptions() == null) ? 0 : getTableOptions().hashCode()); hashCode = prime * hashCode + ((getTotalOptions() == null) ? 0 : getTotalOptions().hashCode()); hashCode = prime * hashCode + ((getFieldOptions() == null) ? 0 : getFieldOptions().hashCode()); hashCode = prime * hashCode + ((getPaginatedReportOptions() == null) ? 0 : getPaginatedReportOptions().hashCode()); return hashCode; } @Override public PivotTableConfiguration clone() { try { return (PivotTableConfiguration) 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.PivotTableConfigurationMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy