/* * 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; /** *
* Aggregated field wells of a tree map. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class TreeMapAggregatedFieldWells implements Serializable, Cloneable, StructuredPojo { /** ** The group by field well of a tree map. Values are grouped based on group by fields. *
*/ private java.util.List* The size field well of a tree map. Values are aggregated based on group by fields. *
*/ private java.util.List* The color field well of a tree map. Values are grouped by aggregations based on group by fields. *
*/ private java.util.List* The group by field well of a tree map. Values are grouped based on group by fields. *
* * @return The group by field well of a tree map. Values are grouped based on group by fields. */ public java.util.List* The group by field well of a tree map. Values are grouped based on group by fields. *
* * @param groups * The group by field well of a tree map. Values are grouped based on group by fields. */ public void setGroups(java.util.Collection* The group by field well of a tree map. Values are grouped based on group by fields. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setGroups(java.util.Collection)} or {@link #withGroups(java.util.Collection)} if you want to override the * existing values. *
* * @param groups * The group by field well of a tree map. Values are grouped based on group by fields. * @return Returns a reference to this object so that method calls can be chained together. */ public TreeMapAggregatedFieldWells withGroups(DimensionField... groups) { if (this.groups == null) { setGroups(new java.util.ArrayList* The group by field well of a tree map. Values are grouped based on group by fields. *
* * @param groups * The group by field well of a tree map. Values are grouped based on group by fields. * @return Returns a reference to this object so that method calls can be chained together. */ public TreeMapAggregatedFieldWells withGroups(java.util.Collection* The size field well of a tree map. Values are aggregated based on group by fields. *
* * @return The size field well of a tree map. Values are aggregated based on group by fields. */ public java.util.List* The size field well of a tree map. Values are aggregated based on group by fields. *
* * @param sizes * The size field well of a tree map. Values are aggregated based on group by fields. */ public void setSizes(java.util.Collection* The size field well of a tree map. Values are aggregated based on group by fields. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setSizes(java.util.Collection)} or {@link #withSizes(java.util.Collection)} if you want to override the * existing values. *
* * @param sizes * The size field well of a tree map. Values are aggregated based on group by fields. * @return Returns a reference to this object so that method calls can be chained together. */ public TreeMapAggregatedFieldWells withSizes(MeasureField... sizes) { if (this.sizes == null) { setSizes(new java.util.ArrayList* The size field well of a tree map. Values are aggregated based on group by fields. *
* * @param sizes * The size field well of a tree map. Values are aggregated based on group by fields. * @return Returns a reference to this object so that method calls can be chained together. */ public TreeMapAggregatedFieldWells withSizes(java.util.Collection* The color field well of a tree map. Values are grouped by aggregations based on group by fields. *
* * @return The color field well of a tree map. Values are grouped by aggregations based on group by fields. */ public java.util.List* The color field well of a tree map. Values are grouped by aggregations based on group by fields. *
* * @param colors * The color field well of a tree map. Values are grouped by aggregations based on group by fields. */ public void setColors(java.util.Collection* The color field well of a tree map. Values are grouped by aggregations based on group by fields. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setColors(java.util.Collection)} or {@link #withColors(java.util.Collection)} if you want to override the * existing values. *
* * @param colors * The color field well of a tree map. Values are grouped by aggregations based on group by fields. * @return Returns a reference to this object so that method calls can be chained together. */ public TreeMapAggregatedFieldWells withColors(MeasureField... colors) { if (this.colors == null) { setColors(new java.util.ArrayList* The color field well of a tree map. Values are grouped by aggregations based on group by fields. *
* * @param colors * The color field well of a tree map. Values are grouped by aggregations based on group by fields. * @return Returns a reference to this object so that method calls can be chained together. */ public TreeMapAggregatedFieldWells withColors(java.util.Collection