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

com.amazonaws.services.quicksight.model.UpdateDashboardRequest 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 2014-2019 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.AmazonWebServiceRequest;

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

    /**
     * 

* AWS account ID that contains the dashboard you are updating. *

*/ private String awsAccountId; /** *

* The ID for the dashboard. *

*/ private String dashboardId; /** *

* The display name of the dashboard. *

*/ private String name; /** *

* The template or analysis from which the dashboard is created. The SouceTemplate entity accepts the Arn of the * template and also references to replacement datasets for the placeholders set when creating the template. The * replacement datasets need to follow the same schema as the datasets for which placeholders were created when * creating the template. *

*/ private DashboardSourceEntity sourceEntity; /** *

* A structure that contains the parameters of the dashboard. *

*/ private Parameters parameters; /** *

* A description for the first version of the dashboard being created. *

*/ private String versionDescription; /** *

* Publishing options when creating a dashboard. *

*
    *
  • *

    * AvailabilityStatus for AdHocFilteringOption - This can be either ENABLED or DISABLED. * When This is set to set to DISABLED, QuickSight disables the left filter pane on the published * dashboard, which can be used for AdHoc filtering. Enabled by default. *

    *
  • *
  • *

    * AvailabilityStatus for ExportToCSVOption - This can be either ENABLED or DISABLED. The * visual option to export data to CSV is disabled when this is set to DISABLED. Enabled by default. *

    *
  • *
  • *

    * VisibilityState for SheetControlsOption - This can be either COLLAPSED or EXPANDED. The * sheet controls pane is collapsed by default when set to true. Collapsed by default. *

    *
  • *
*/ private DashboardPublishOptions dashboardPublishOptions; /** *

* AWS account ID that contains the dashboard you are updating. *

* * @param awsAccountId * AWS account ID that contains the dashboard you are updating. */ public void setAwsAccountId(String awsAccountId) { this.awsAccountId = awsAccountId; } /** *

* AWS account ID that contains the dashboard you are updating. *

* * @return AWS account ID that contains the dashboard you are updating. */ public String getAwsAccountId() { return this.awsAccountId; } /** *

* AWS account ID that contains the dashboard you are updating. *

* * @param awsAccountId * AWS account ID that contains the dashboard you are updating. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDashboardRequest withAwsAccountId(String awsAccountId) { setAwsAccountId(awsAccountId); return this; } /** *

* The ID for the dashboard. *

* * @param dashboardId * The ID for the dashboard. */ public void setDashboardId(String dashboardId) { this.dashboardId = dashboardId; } /** *

* The ID for the dashboard. *

* * @return The ID for the dashboard. */ public String getDashboardId() { return this.dashboardId; } /** *

* The ID for the dashboard. *

* * @param dashboardId * The ID for the dashboard. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDashboardRequest withDashboardId(String dashboardId) { setDashboardId(dashboardId); return this; } /** *

* The display name of the dashboard. *

* * @param name * The display name of the dashboard. */ public void setName(String name) { this.name = name; } /** *

* The display name of the dashboard. *

* * @return The display name of the dashboard. */ public String getName() { return this.name; } /** *

* The display name of the dashboard. *

* * @param name * The display name of the dashboard. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDashboardRequest withName(String name) { setName(name); return this; } /** *

* The template or analysis from which the dashboard is created. The SouceTemplate entity accepts the Arn of the * template and also references to replacement datasets for the placeholders set when creating the template. The * replacement datasets need to follow the same schema as the datasets for which placeholders were created when * creating the template. *

* * @param sourceEntity * The template or analysis from which the dashboard is created. The SouceTemplate entity accepts the Arn of * the template and also references to replacement datasets for the placeholders set when creating the * template. The replacement datasets need to follow the same schema as the datasets for which placeholders * were created when creating the template. */ public void setSourceEntity(DashboardSourceEntity sourceEntity) { this.sourceEntity = sourceEntity; } /** *

* The template or analysis from which the dashboard is created. The SouceTemplate entity accepts the Arn of the * template and also references to replacement datasets for the placeholders set when creating the template. The * replacement datasets need to follow the same schema as the datasets for which placeholders were created when * creating the template. *

* * @return The template or analysis from which the dashboard is created. The SouceTemplate entity accepts the Arn of * the template and also references to replacement datasets for the placeholders set when creating the * template. The replacement datasets need to follow the same schema as the datasets for which placeholders * were created when creating the template. */ public DashboardSourceEntity getSourceEntity() { return this.sourceEntity; } /** *

* The template or analysis from which the dashboard is created. The SouceTemplate entity accepts the Arn of the * template and also references to replacement datasets for the placeholders set when creating the template. The * replacement datasets need to follow the same schema as the datasets for which placeholders were created when * creating the template. *

* * @param sourceEntity * The template or analysis from which the dashboard is created. The SouceTemplate entity accepts the Arn of * the template and also references to replacement datasets for the placeholders set when creating the * template. The replacement datasets need to follow the same schema as the datasets for which placeholders * were created when creating the template. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDashboardRequest withSourceEntity(DashboardSourceEntity sourceEntity) { setSourceEntity(sourceEntity); return this; } /** *

* A structure that contains the parameters of the dashboard. *

* * @param parameters * A structure that contains the parameters of the dashboard. */ public void setParameters(Parameters parameters) { this.parameters = parameters; } /** *

* A structure that contains the parameters of the dashboard. *

* * @return A structure that contains the parameters of the dashboard. */ public Parameters getParameters() { return this.parameters; } /** *

* A structure that contains the parameters of the dashboard. *

* * @param parameters * A structure that contains the parameters of the dashboard. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDashboardRequest withParameters(Parameters parameters) { setParameters(parameters); return this; } /** *

* A description for the first version of the dashboard being created. *

* * @param versionDescription * A description for the first version of the dashboard being created. */ public void setVersionDescription(String versionDescription) { this.versionDescription = versionDescription; } /** *

* A description for the first version of the dashboard being created. *

* * @return A description for the first version of the dashboard being created. */ public String getVersionDescription() { return this.versionDescription; } /** *

* A description for the first version of the dashboard being created. *

* * @param versionDescription * A description for the first version of the dashboard being created. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDashboardRequest withVersionDescription(String versionDescription) { setVersionDescription(versionDescription); return this; } /** *

* Publishing options when creating a dashboard. *

*
    *
  • *

    * AvailabilityStatus for AdHocFilteringOption - This can be either ENABLED or DISABLED. * When This is set to set to DISABLED, QuickSight disables the left filter pane on the published * dashboard, which can be used for AdHoc filtering. Enabled by default. *

    *
  • *
  • *

    * AvailabilityStatus for ExportToCSVOption - This can be either ENABLED or DISABLED. The * visual option to export data to CSV is disabled when this is set to DISABLED. Enabled by default. *

    *
  • *
  • *

    * VisibilityState for SheetControlsOption - This can be either COLLAPSED or EXPANDED. The * sheet controls pane is collapsed by default when set to true. Collapsed by default. *

    *
  • *
* * @param dashboardPublishOptions * Publishing options when creating a dashboard.

*
    *
  • *

    * AvailabilityStatus for AdHocFilteringOption - This can be either ENABLED or * DISABLED. When This is set to set to DISABLED, QuickSight disables the left * filter pane on the published dashboard, which can be used for AdHoc filtering. Enabled by default. *

    *
  • *
  • *

    * AvailabilityStatus for ExportToCSVOption - This can be either ENABLED or * DISABLED. The visual option to export data to CSV is disabled when this is set to * DISABLED. Enabled by default. *

    *
  • *
  • *

    * VisibilityState for SheetControlsOption - This can be either COLLAPSED or * EXPANDED. The sheet controls pane is collapsed by default when set to true. Collapsed by * default. *

    *
  • */ public void setDashboardPublishOptions(DashboardPublishOptions dashboardPublishOptions) { this.dashboardPublishOptions = dashboardPublishOptions; } /** *

    * Publishing options when creating a dashboard. *

    *
      *
    • *

      * AvailabilityStatus for AdHocFilteringOption - This can be either ENABLED or DISABLED. * When This is set to set to DISABLED, QuickSight disables the left filter pane on the published * dashboard, which can be used for AdHoc filtering. Enabled by default. *

      *
    • *
    • *

      * AvailabilityStatus for ExportToCSVOption - This can be either ENABLED or DISABLED. The * visual option to export data to CSV is disabled when this is set to DISABLED. Enabled by default. *

      *
    • *
    • *

      * VisibilityState for SheetControlsOption - This can be either COLLAPSED or EXPANDED. The * sheet controls pane is collapsed by default when set to true. Collapsed by default. *

      *
    • *
    * * @return Publishing options when creating a dashboard.

    *
      *
    • *

      * AvailabilityStatus for AdHocFilteringOption - This can be either ENABLED or * DISABLED. When This is set to set to DISABLED, QuickSight disables the left * filter pane on the published dashboard, which can be used for AdHoc filtering. Enabled by default. *

      *
    • *
    • *

      * AvailabilityStatus for ExportToCSVOption - This can be either ENABLED or * DISABLED. The visual option to export data to CSV is disabled when this is set to * DISABLED. Enabled by default. *

      *
    • *
    • *

      * VisibilityState for SheetControlsOption - This can be either COLLAPSED or * EXPANDED. The sheet controls pane is collapsed by default when set to true. Collapsed by * default. *

      *
    • */ public DashboardPublishOptions getDashboardPublishOptions() { return this.dashboardPublishOptions; } /** *

      * Publishing options when creating a dashboard. *

      *
        *
      • *

        * AvailabilityStatus for AdHocFilteringOption - This can be either ENABLED or DISABLED. * When This is set to set to DISABLED, QuickSight disables the left filter pane on the published * dashboard, which can be used for AdHoc filtering. Enabled by default. *

        *
      • *
      • *

        * AvailabilityStatus for ExportToCSVOption - This can be either ENABLED or DISABLED. The * visual option to export data to CSV is disabled when this is set to DISABLED. Enabled by default. *

        *
      • *
      • *

        * VisibilityState for SheetControlsOption - This can be either COLLAPSED or EXPANDED. The * sheet controls pane is collapsed by default when set to true. Collapsed by default. *

        *
      • *
      * * @param dashboardPublishOptions * Publishing options when creating a dashboard.

      *
        *
      • *

        * AvailabilityStatus for AdHocFilteringOption - This can be either ENABLED or * DISABLED. When This is set to set to DISABLED, QuickSight disables the left * filter pane on the published dashboard, which can be used for AdHoc filtering. Enabled by default. *

        *
      • *
      • *

        * AvailabilityStatus for ExportToCSVOption - This can be either ENABLED or * DISABLED. The visual option to export data to CSV is disabled when this is set to * DISABLED. Enabled by default. *

        *
      • *
      • *

        * VisibilityState for SheetControlsOption - This can be either COLLAPSED or * EXPANDED. The sheet controls pane is collapsed by default when set to true. Collapsed by * default. *

        *
      • * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDashboardRequest withDashboardPublishOptions(DashboardPublishOptions dashboardPublishOptions) { setDashboardPublishOptions(dashboardPublishOptions); 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 (getAwsAccountId() != null) sb.append("AwsAccountId: ").append(getAwsAccountId()).append(","); if (getDashboardId() != null) sb.append("DashboardId: ").append(getDashboardId()).append(","); if (getName() != null) sb.append("Name: ").append(getName()).append(","); if (getSourceEntity() != null) sb.append("SourceEntity: ").append(getSourceEntity()).append(","); if (getParameters() != null) sb.append("Parameters: ").append(getParameters()).append(","); if (getVersionDescription() != null) sb.append("VersionDescription: ").append(getVersionDescription()).append(","); if (getDashboardPublishOptions() != null) sb.append("DashboardPublishOptions: ").append(getDashboardPublishOptions()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof UpdateDashboardRequest == false) return false; UpdateDashboardRequest other = (UpdateDashboardRequest) obj; if (other.getAwsAccountId() == null ^ this.getAwsAccountId() == null) return false; if (other.getAwsAccountId() != null && other.getAwsAccountId().equals(this.getAwsAccountId()) == false) return false; if (other.getDashboardId() == null ^ this.getDashboardId() == null) return false; if (other.getDashboardId() != null && other.getDashboardId().equals(this.getDashboardId()) == false) return false; if (other.getName() == null ^ this.getName() == null) return false; if (other.getName() != null && other.getName().equals(this.getName()) == false) return false; if (other.getSourceEntity() == null ^ this.getSourceEntity() == null) return false; if (other.getSourceEntity() != null && other.getSourceEntity().equals(this.getSourceEntity()) == false) return false; if (other.getParameters() == null ^ this.getParameters() == null) return false; if (other.getParameters() != null && other.getParameters().equals(this.getParameters()) == false) return false; if (other.getVersionDescription() == null ^ this.getVersionDescription() == null) return false; if (other.getVersionDescription() != null && other.getVersionDescription().equals(this.getVersionDescription()) == false) return false; if (other.getDashboardPublishOptions() == null ^ this.getDashboardPublishOptions() == null) return false; if (other.getDashboardPublishOptions() != null && other.getDashboardPublishOptions().equals(this.getDashboardPublishOptions()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getAwsAccountId() == null) ? 0 : getAwsAccountId().hashCode()); hashCode = prime * hashCode + ((getDashboardId() == null) ? 0 : getDashboardId().hashCode()); hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode()); hashCode = prime * hashCode + ((getSourceEntity() == null) ? 0 : getSourceEntity().hashCode()); hashCode = prime * hashCode + ((getParameters() == null) ? 0 : getParameters().hashCode()); hashCode = prime * hashCode + ((getVersionDescription() == null) ? 0 : getVersionDescription().hashCode()); hashCode = prime * hashCode + ((getDashboardPublishOptions() == null) ? 0 : getDashboardPublishOptions().hashCode()); return hashCode; } @Override public UpdateDashboardRequest clone() { return (UpdateDashboardRequest) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy