/* * 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; /** *
* A structure that contains information that identifies the snapshot that needs to be generated. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class SnapshotFileSheetSelection implements Serializable, Cloneable, StructuredPojo { /** ** The sheet ID of the dashboard to generate the snapshot artifact from. This value is required for CSV or PDF * format types. *
*/ private String sheetId; /** ** The selection scope of the visuals on a sheet of a dashboard that you are generating a snapthot of. You can * choose one of the following options. *
*
* ALL_VISUALS
- Selects all visuals that are on the sheet. This value is required if the snapshot is a
* PDF.
*
* SELECTED_VISUALS
- Select the visual that you want to add to the snapshot. This value is required if
* the snapshot is a CSV.
*
* A structure that lists the IDs of the visuals in the selected sheet. Supported visual types are table, pivot * table visuals. This value is required if you are generating a CSV. This value supports a maximum of 1 visual ID. *
*/ private java.util.List* The sheet ID of the dashboard to generate the snapshot artifact from. This value is required for CSV or PDF * format types. *
* * @param sheetId * The sheet ID of the dashboard to generate the snapshot artifact from. This value is required for CSV or * PDF format types. */ public void setSheetId(String sheetId) { this.sheetId = sheetId; } /** ** The sheet ID of the dashboard to generate the snapshot artifact from. This value is required for CSV or PDF * format types. *
* * @return The sheet ID of the dashboard to generate the snapshot artifact from. This value is required for CSV or * PDF format types. */ public String getSheetId() { return this.sheetId; } /** ** The sheet ID of the dashboard to generate the snapshot artifact from. This value is required for CSV or PDF * format types. *
* * @param sheetId * The sheet ID of the dashboard to generate the snapshot artifact from. This value is required for CSV or * PDF format types. * @return Returns a reference to this object so that method calls can be chained together. */ public SnapshotFileSheetSelection withSheetId(String sheetId) { setSheetId(sheetId); return this; } /** ** The selection scope of the visuals on a sheet of a dashboard that you are generating a snapthot of. You can * choose one of the following options. *
*
* ALL_VISUALS
- Selects all visuals that are on the sheet. This value is required if the snapshot is a
* PDF.
*
* SELECTED_VISUALS
- Select the visual that you want to add to the snapshot. This value is required if
* the snapshot is a CSV.
*
* ALL_VISUALS
- Selects all visuals that are on the sheet. This value is required if the
* snapshot is a PDF.
*
* SELECTED_VISUALS
- Select the visual that you want to add to the snapshot. This value is
* required if the snapshot is a CSV.
*
* The selection scope of the visuals on a sheet of a dashboard that you are generating a snapthot of. You can * choose one of the following options. *
*
* ALL_VISUALS
- Selects all visuals that are on the sheet. This value is required if the snapshot is a
* PDF.
*
* SELECTED_VISUALS
- Select the visual that you want to add to the snapshot. This value is required if
* the snapshot is a CSV.
*
* ALL_VISUALS
- Selects all visuals that are on the sheet. This value is required if the
* snapshot is a PDF.
*
* SELECTED_VISUALS
- Select the visual that you want to add to the snapshot. This value is
* required if the snapshot is a CSV.
*
* The selection scope of the visuals on a sheet of a dashboard that you are generating a snapthot of. You can * choose one of the following options. *
*
* ALL_VISUALS
- Selects all visuals that are on the sheet. This value is required if the snapshot is a
* PDF.
*
* SELECTED_VISUALS
- Select the visual that you want to add to the snapshot. This value is required if
* the snapshot is a CSV.
*
* ALL_VISUALS
- Selects all visuals that are on the sheet. This value is required if the
* snapshot is a PDF.
*
* SELECTED_VISUALS
- Select the visual that you want to add to the snapshot. This value is
* required if the snapshot is a CSV.
*
* The selection scope of the visuals on a sheet of a dashboard that you are generating a snapthot of. You can * choose one of the following options. *
*
* ALL_VISUALS
- Selects all visuals that are on the sheet. This value is required if the snapshot is a
* PDF.
*
* SELECTED_VISUALS
- Select the visual that you want to add to the snapshot. This value is required if
* the snapshot is a CSV.
*
* ALL_VISUALS
- Selects all visuals that are on the sheet. This value is required if the
* snapshot is a PDF.
*
* SELECTED_VISUALS
- Select the visual that you want to add to the snapshot. This value is
* required if the snapshot is a CSV.
*
* A structure that lists the IDs of the visuals in the selected sheet. Supported visual types are table, pivot * table visuals. This value is required if you are generating a CSV. This value supports a maximum of 1 visual ID. *
* * @return A structure that lists the IDs of the visuals in the selected sheet. Supported visual types are table, * pivot table visuals. This value is required if you are generating a CSV. This value supports a maximum of * 1 visual ID. */ public java.util.List* A structure that lists the IDs of the visuals in the selected sheet. Supported visual types are table, pivot * table visuals. This value is required if you are generating a CSV. This value supports a maximum of 1 visual ID. *
* * @param visualIds * A structure that lists the IDs of the visuals in the selected sheet. Supported visual types are table, * pivot table visuals. This value is required if you are generating a CSV. This value supports a maximum of * 1 visual ID. */ public void setVisualIds(java.util.Collection* A structure that lists the IDs of the visuals in the selected sheet. Supported visual types are table, pivot * table visuals. This value is required if you are generating a CSV. This value supports a maximum of 1 visual ID. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setVisualIds(java.util.Collection)} or {@link #withVisualIds(java.util.Collection)} if you want to * override the existing values. *
* * @param visualIds * A structure that lists the IDs of the visuals in the selected sheet. Supported visual types are table, * pivot table visuals. This value is required if you are generating a CSV. This value supports a maximum of * 1 visual ID. * @return Returns a reference to this object so that method calls can be chained together. */ public SnapshotFileSheetSelection withVisualIds(String... visualIds) { if (this.visualIds == null) { setVisualIds(new java.util.ArrayList* A structure that lists the IDs of the visuals in the selected sheet. Supported visual types are table, pivot * table visuals. This value is required if you are generating a CSV. This value supports a maximum of 1 visual ID. *
* * @param visualIds * A structure that lists the IDs of the visuals in the selected sheet. Supported visual types are table, * pivot table visuals. This value is required if you are generating a CSV. This value supports a maximum of * 1 visual ID. * @return Returns a reference to this object so that method calls can be chained together. */ public SnapshotFileSheetSelection withVisualIds(java.util.Collection