/* * 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; /** *
* An empty visual. *
*
* Empty visuals are used in layouts but have not been configured to show any data. A new visual created in the Amazon
* QuickSight console is considered an EmptyVisual
until a visual type is selected.
*
* The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or * analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. *
*/ private String visualId; /** ** The data set that is used in the empty visual. Every visual requires a dataset to render. *
*/ private String dataSetIdentifier; /** ** The list of custom actions that are configured for a visual. *
*/ private java.util.List* The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or * analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. *
* * @param visualId * The unique identifier of a visual. This identifier must be unique within the context of a dashboard, * template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. */ public void setVisualId(String visualId) { this.visualId = visualId; } /** ** The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or * analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. *
* * @return The unique identifier of a visual. This identifier must be unique within the context of a dashboard, * template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. */ public String getVisualId() { return this.visualId; } /** ** The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or * analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. *
* * @param visualId * The unique identifier of a visual. This identifier must be unique within the context of a dashboard, * template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. * @return Returns a reference to this object so that method calls can be chained together. */ public EmptyVisual withVisualId(String visualId) { setVisualId(visualId); return this; } /** ** The data set that is used in the empty visual. Every visual requires a dataset to render. *
* * @param dataSetIdentifier * The data set that is used in the empty visual. Every visual requires a dataset to render. */ public void setDataSetIdentifier(String dataSetIdentifier) { this.dataSetIdentifier = dataSetIdentifier; } /** ** The data set that is used in the empty visual. Every visual requires a dataset to render. *
* * @return The data set that is used in the empty visual. Every visual requires a dataset to render. */ public String getDataSetIdentifier() { return this.dataSetIdentifier; } /** ** The data set that is used in the empty visual. Every visual requires a dataset to render. *
* * @param dataSetIdentifier * The data set that is used in the empty visual. Every visual requires a dataset to render. * @return Returns a reference to this object so that method calls can be chained together. */ public EmptyVisual withDataSetIdentifier(String dataSetIdentifier) { setDataSetIdentifier(dataSetIdentifier); return this; } /** ** The list of custom actions that are configured for a visual. *
* * @return The list of custom actions that are configured for a visual. */ public java.util.List* The list of custom actions that are configured for a visual. *
* * @param actions * The list of custom actions that are configured for a visual. */ public void setActions(java.util.Collection* The list of custom actions that are configured for a visual. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setActions(java.util.Collection)} or {@link #withActions(java.util.Collection)} if you want to override * the existing values. *
* * @param actions * The list of custom actions that are configured for a visual. * @return Returns a reference to this object so that method calls can be chained together. */ public EmptyVisual withActions(VisualCustomAction... actions) { if (this.actions == null) { setActions(new java.util.ArrayList* The list of custom actions that are configured for a visual. *
* * @param actions * The list of custom actions that are configured for a visual. * @return Returns a reference to this object so that method calls can be chained together. */ public EmptyVisual withActions(java.util.Collection