/* * 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 of the same-sheet target visuals that you want to be filtered. *
** This is a union type structure. For this structure to be valid, only one of the attributes can be defined. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class SameSheetTargetVisualConfiguration implements Serializable, Cloneable, StructuredPojo { /** ** A list of the target visual IDs that are located in the same sheet of the analysis. *
*/ private java.util.List* The options that choose the target visual in the same sheet. *
** Valid values are defined as follows: *
*
* ALL_VISUALS
: Applies the filter operation to all visuals in the same sheet.
*
* A list of the target visual IDs that are located in the same sheet of the analysis. *
* * @return A list of the target visual IDs that are located in the same sheet of the analysis. */ public java.util.List* A list of the target visual IDs that are located in the same sheet of the analysis. *
* * @param targetVisuals * A list of the target visual IDs that are located in the same sheet of the analysis. */ public void setTargetVisuals(java.util.Collection* A list of the target visual IDs that are located in the same sheet of the analysis. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setTargetVisuals(java.util.Collection)} or {@link #withTargetVisuals(java.util.Collection)} if you want * to override the existing values. *
* * @param targetVisuals * A list of the target visual IDs that are located in the same sheet of the analysis. * @return Returns a reference to this object so that method calls can be chained together. */ public SameSheetTargetVisualConfiguration withTargetVisuals(String... targetVisuals) { if (this.targetVisuals == null) { setTargetVisuals(new java.util.ArrayList* A list of the target visual IDs that are located in the same sheet of the analysis. *
* * @param targetVisuals * A list of the target visual IDs that are located in the same sheet of the analysis. * @return Returns a reference to this object so that method calls can be chained together. */ public SameSheetTargetVisualConfiguration withTargetVisuals(java.util.Collection* The options that choose the target visual in the same sheet. *
** Valid values are defined as follows: *
*
* ALL_VISUALS
: Applies the filter operation to all visuals in the same sheet.
*
* Valid values are defined as follows: *
*
* ALL_VISUALS
: Applies the filter operation to all visuals in the same sheet.
*
* The options that choose the target visual in the same sheet. *
** Valid values are defined as follows: *
*
* ALL_VISUALS
: Applies the filter operation to all visuals in the same sheet.
*
* Valid values are defined as follows: *
*
* ALL_VISUALS
: Applies the filter operation to all visuals in the same sheet.
*
* The options that choose the target visual in the same sheet. *
** Valid values are defined as follows: *
*
* ALL_VISUALS
: Applies the filter operation to all visuals in the same sheet.
*
* Valid values are defined as follows: *
*
* ALL_VISUALS
: Applies the filter operation to all visuals in the same sheet.
*
* The options that choose the target visual in the same sheet. *
** Valid values are defined as follows: *
*
* ALL_VISUALS
: Applies the filter operation to all visuals in the same sheet.
*
* Valid values are defined as follows: *
*
* ALL_VISUALS
: Applies the filter operation to all visuals in the same sheet.
*