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

com.amazonaws.services.quicksight.model.GetDashboardEmbedUrlRequest 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 2019-2024 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 GetDashboardEmbedUrlRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {

    /**
     * 

* The ID for the Amazon Web Services account that contains the dashboard that you're embedding. *

*/ private String awsAccountId; /** *

* The ID for the dashboard, also added to the Identity and Access Management (IAM) policy. *

*/ private String dashboardId; /** *

* The authentication method that the user uses to sign in. *

*/ private String identityType; /** *

* How many minutes the session is valid. The session lifetime must be 15-600 minutes. *

*/ private Long sessionLifetimeInMinutes; /** *

* Remove the undo/redo button on the embedded dashboard. The default is FALSE, which enables the undo/redo button. *

*/ private Boolean undoRedoDisabled; /** *

* Remove the reset button on the embedded dashboard. The default is FALSE, which enables the reset button. *

*/ private Boolean resetDisabled; /** *

* Adds persistence of state for the user session in an embedded dashboard. Persistence applies to the sheet and the * parameter settings. These are control settings that the dashboard subscriber (Amazon QuickSight reader) chooses * while viewing the dashboard. If this is set to TRUE, the settings are the same when the subscriber * reopens the same dashboard URL. The state is stored in Amazon QuickSight, not in a browser cookie. If this is set * to FALSE, the state of the user session is not persisted. The default is FALSE. *

*/ private Boolean statePersistenceEnabled; /** *

* The Amazon QuickSight user's Amazon Resource Name (ARN), for use with QUICKSIGHT identity type. You * can use this for any Amazon QuickSight users in your account (readers, authors, or admins) authenticated as one * of the following: *

*
    *
  • *

    * Active Directory (AD) users or group members *

    *
  • *
  • *

    * Invited nonfederated users *

    *
  • *
  • *

    * IAM users and IAM role-based sessions authenticated through Federated Single Sign-On using SAML, OpenID Connect, * or IAM federation. *

    *
  • *
*

* Omit this parameter for users in the third group – IAM users and IAM role-based sessions. *

*/ private String userArn; /** *

* The Amazon QuickSight namespace that contains the dashboard IDs in this request. If you're not using a custom * namespace, set Namespace = default. *

*/ private String namespace; /** *

* A list of one or more dashboard IDs that you want anonymous users to have tempporary access to. Currently, the * IdentityType parameter must be set to ANONYMOUS because other identity types * authenticate as Amazon QuickSight or IAM users. For example, if you set " * --dashboard-id dash_id1 --dashboard-id dash_id2 dash_id3 identity-type ANONYMOUS", the session can * access all three dashboards. *

*/ private java.util.List additionalDashboardIds; /** *

* The ID for the Amazon Web Services account that contains the dashboard that you're embedding. *

* * @param awsAccountId * The ID for the Amazon Web Services account that contains the dashboard that you're embedding. */ public void setAwsAccountId(String awsAccountId) { this.awsAccountId = awsAccountId; } /** *

* The ID for the Amazon Web Services account that contains the dashboard that you're embedding. *

* * @return The ID for the Amazon Web Services account that contains the dashboard that you're embedding. */ public String getAwsAccountId() { return this.awsAccountId; } /** *

* The ID for the Amazon Web Services account that contains the dashboard that you're embedding. *

* * @param awsAccountId * The ID for the Amazon Web Services account that contains the dashboard that you're embedding. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDashboardEmbedUrlRequest withAwsAccountId(String awsAccountId) { setAwsAccountId(awsAccountId); return this; } /** *

* The ID for the dashboard, also added to the Identity and Access Management (IAM) policy. *

* * @param dashboardId * The ID for the dashboard, also added to the Identity and Access Management (IAM) policy. */ public void setDashboardId(String dashboardId) { this.dashboardId = dashboardId; } /** *

* The ID for the dashboard, also added to the Identity and Access Management (IAM) policy. *

* * @return The ID for the dashboard, also added to the Identity and Access Management (IAM) policy. */ public String getDashboardId() { return this.dashboardId; } /** *

* The ID for the dashboard, also added to the Identity and Access Management (IAM) policy. *

* * @param dashboardId * The ID for the dashboard, also added to the Identity and Access Management (IAM) policy. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDashboardEmbedUrlRequest withDashboardId(String dashboardId) { setDashboardId(dashboardId); return this; } /** *

* The authentication method that the user uses to sign in. *

* * @param identityType * The authentication method that the user uses to sign in. * @see EmbeddingIdentityType */ public void setIdentityType(String identityType) { this.identityType = identityType; } /** *

* The authentication method that the user uses to sign in. *

* * @return The authentication method that the user uses to sign in. * @see EmbeddingIdentityType */ public String getIdentityType() { return this.identityType; } /** *

* The authentication method that the user uses to sign in. *

* * @param identityType * The authentication method that the user uses to sign in. * @return Returns a reference to this object so that method calls can be chained together. * @see EmbeddingIdentityType */ public GetDashboardEmbedUrlRequest withIdentityType(String identityType) { setIdentityType(identityType); return this; } /** *

* The authentication method that the user uses to sign in. *

* * @param identityType * The authentication method that the user uses to sign in. * @return Returns a reference to this object so that method calls can be chained together. * @see EmbeddingIdentityType */ public GetDashboardEmbedUrlRequest withIdentityType(EmbeddingIdentityType identityType) { this.identityType = identityType.toString(); return this; } /** *

* How many minutes the session is valid. The session lifetime must be 15-600 minutes. *

* * @param sessionLifetimeInMinutes * How many minutes the session is valid. The session lifetime must be 15-600 minutes. */ public void setSessionLifetimeInMinutes(Long sessionLifetimeInMinutes) { this.sessionLifetimeInMinutes = sessionLifetimeInMinutes; } /** *

* How many minutes the session is valid. The session lifetime must be 15-600 minutes. *

* * @return How many minutes the session is valid. The session lifetime must be 15-600 minutes. */ public Long getSessionLifetimeInMinutes() { return this.sessionLifetimeInMinutes; } /** *

* How many minutes the session is valid. The session lifetime must be 15-600 minutes. *

* * @param sessionLifetimeInMinutes * How many minutes the session is valid. The session lifetime must be 15-600 minutes. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDashboardEmbedUrlRequest withSessionLifetimeInMinutes(Long sessionLifetimeInMinutes) { setSessionLifetimeInMinutes(sessionLifetimeInMinutes); return this; } /** *

* Remove the undo/redo button on the embedded dashboard. The default is FALSE, which enables the undo/redo button. *

* * @param undoRedoDisabled * Remove the undo/redo button on the embedded dashboard. The default is FALSE, which enables the undo/redo * button. */ public void setUndoRedoDisabled(Boolean undoRedoDisabled) { this.undoRedoDisabled = undoRedoDisabled; } /** *

* Remove the undo/redo button on the embedded dashboard. The default is FALSE, which enables the undo/redo button. *

* * @return Remove the undo/redo button on the embedded dashboard. The default is FALSE, which enables the undo/redo * button. */ public Boolean getUndoRedoDisabled() { return this.undoRedoDisabled; } /** *

* Remove the undo/redo button on the embedded dashboard. The default is FALSE, which enables the undo/redo button. *

* * @param undoRedoDisabled * Remove the undo/redo button on the embedded dashboard. The default is FALSE, which enables the undo/redo * button. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDashboardEmbedUrlRequest withUndoRedoDisabled(Boolean undoRedoDisabled) { setUndoRedoDisabled(undoRedoDisabled); return this; } /** *

* Remove the undo/redo button on the embedded dashboard. The default is FALSE, which enables the undo/redo button. *

* * @return Remove the undo/redo button on the embedded dashboard. The default is FALSE, which enables the undo/redo * button. */ public Boolean isUndoRedoDisabled() { return this.undoRedoDisabled; } /** *

* Remove the reset button on the embedded dashboard. The default is FALSE, which enables the reset button. *

* * @param resetDisabled * Remove the reset button on the embedded dashboard. The default is FALSE, which enables the reset button. */ public void setResetDisabled(Boolean resetDisabled) { this.resetDisabled = resetDisabled; } /** *

* Remove the reset button on the embedded dashboard. The default is FALSE, which enables the reset button. *

* * @return Remove the reset button on the embedded dashboard. The default is FALSE, which enables the reset button. */ public Boolean getResetDisabled() { return this.resetDisabled; } /** *

* Remove the reset button on the embedded dashboard. The default is FALSE, which enables the reset button. *

* * @param resetDisabled * Remove the reset button on the embedded dashboard. The default is FALSE, which enables the reset button. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDashboardEmbedUrlRequest withResetDisabled(Boolean resetDisabled) { setResetDisabled(resetDisabled); return this; } /** *

* Remove the reset button on the embedded dashboard. The default is FALSE, which enables the reset button. *

* * @return Remove the reset button on the embedded dashboard. The default is FALSE, which enables the reset button. */ public Boolean isResetDisabled() { return this.resetDisabled; } /** *

* Adds persistence of state for the user session in an embedded dashboard. Persistence applies to the sheet and the * parameter settings. These are control settings that the dashboard subscriber (Amazon QuickSight reader) chooses * while viewing the dashboard. If this is set to TRUE, the settings are the same when the subscriber * reopens the same dashboard URL. The state is stored in Amazon QuickSight, not in a browser cookie. If this is set * to FALSE, the state of the user session is not persisted. The default is FALSE. *

* * @param statePersistenceEnabled * Adds persistence of state for the user session in an embedded dashboard. Persistence applies to the sheet * and the parameter settings. These are control settings that the dashboard subscriber (Amazon QuickSight * reader) chooses while viewing the dashboard. If this is set to TRUE, the settings are the * same when the subscriber reopens the same dashboard URL. The state is stored in Amazon QuickSight, not in * a browser cookie. If this is set to FALSE, the state of the user session is not persisted. The default is * FALSE. */ public void setStatePersistenceEnabled(Boolean statePersistenceEnabled) { this.statePersistenceEnabled = statePersistenceEnabled; } /** *

* Adds persistence of state for the user session in an embedded dashboard. Persistence applies to the sheet and the * parameter settings. These are control settings that the dashboard subscriber (Amazon QuickSight reader) chooses * while viewing the dashboard. If this is set to TRUE, the settings are the same when the subscriber * reopens the same dashboard URL. The state is stored in Amazon QuickSight, not in a browser cookie. If this is set * to FALSE, the state of the user session is not persisted. The default is FALSE. *

* * @return Adds persistence of state for the user session in an embedded dashboard. Persistence applies to the sheet * and the parameter settings. These are control settings that the dashboard subscriber (Amazon QuickSight * reader) chooses while viewing the dashboard. If this is set to TRUE, the settings are the * same when the subscriber reopens the same dashboard URL. The state is stored in Amazon QuickSight, not in * a browser cookie. If this is set to FALSE, the state of the user session is not persisted. The default is * FALSE. */ public Boolean getStatePersistenceEnabled() { return this.statePersistenceEnabled; } /** *

* Adds persistence of state for the user session in an embedded dashboard. Persistence applies to the sheet and the * parameter settings. These are control settings that the dashboard subscriber (Amazon QuickSight reader) chooses * while viewing the dashboard. If this is set to TRUE, the settings are the same when the subscriber * reopens the same dashboard URL. The state is stored in Amazon QuickSight, not in a browser cookie. If this is set * to FALSE, the state of the user session is not persisted. The default is FALSE. *

* * @param statePersistenceEnabled * Adds persistence of state for the user session in an embedded dashboard. Persistence applies to the sheet * and the parameter settings. These are control settings that the dashboard subscriber (Amazon QuickSight * reader) chooses while viewing the dashboard. If this is set to TRUE, the settings are the * same when the subscriber reopens the same dashboard URL. The state is stored in Amazon QuickSight, not in * a browser cookie. If this is set to FALSE, the state of the user session is not persisted. The default is * FALSE. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDashboardEmbedUrlRequest withStatePersistenceEnabled(Boolean statePersistenceEnabled) { setStatePersistenceEnabled(statePersistenceEnabled); return this; } /** *

* Adds persistence of state for the user session in an embedded dashboard. Persistence applies to the sheet and the * parameter settings. These are control settings that the dashboard subscriber (Amazon QuickSight reader) chooses * while viewing the dashboard. If this is set to TRUE, the settings are the same when the subscriber * reopens the same dashboard URL. The state is stored in Amazon QuickSight, not in a browser cookie. If this is set * to FALSE, the state of the user session is not persisted. The default is FALSE. *

* * @return Adds persistence of state for the user session in an embedded dashboard. Persistence applies to the sheet * and the parameter settings. These are control settings that the dashboard subscriber (Amazon QuickSight * reader) chooses while viewing the dashboard. If this is set to TRUE, the settings are the * same when the subscriber reopens the same dashboard URL. The state is stored in Amazon QuickSight, not in * a browser cookie. If this is set to FALSE, the state of the user session is not persisted. The default is * FALSE. */ public Boolean isStatePersistenceEnabled() { return this.statePersistenceEnabled; } /** *

* The Amazon QuickSight user's Amazon Resource Name (ARN), for use with QUICKSIGHT identity type. You * can use this for any Amazon QuickSight users in your account (readers, authors, or admins) authenticated as one * of the following: *

*
    *
  • *

    * Active Directory (AD) users or group members *

    *
  • *
  • *

    * Invited nonfederated users *

    *
  • *
  • *

    * IAM users and IAM role-based sessions authenticated through Federated Single Sign-On using SAML, OpenID Connect, * or IAM federation. *

    *
  • *
*

* Omit this parameter for users in the third group – IAM users and IAM role-based sessions. *

* * @param userArn * The Amazon QuickSight user's Amazon Resource Name (ARN), for use with QUICKSIGHT identity * type. You can use this for any Amazon QuickSight users in your account (readers, authors, or admins) * authenticated as one of the following:

*
    *
  • *

    * Active Directory (AD) users or group members *

    *
  • *
  • *

    * Invited nonfederated users *

    *
  • *
  • *

    * IAM users and IAM role-based sessions authenticated through Federated Single Sign-On using SAML, OpenID * Connect, or IAM federation. *

    *
  • *
*

* Omit this parameter for users in the third group – IAM users and IAM role-based sessions. */ public void setUserArn(String userArn) { this.userArn = userArn; } /** *

* The Amazon QuickSight user's Amazon Resource Name (ARN), for use with QUICKSIGHT identity type. You * can use this for any Amazon QuickSight users in your account (readers, authors, or admins) authenticated as one * of the following: *

*
    *
  • *

    * Active Directory (AD) users or group members *

    *
  • *
  • *

    * Invited nonfederated users *

    *
  • *
  • *

    * IAM users and IAM role-based sessions authenticated through Federated Single Sign-On using SAML, OpenID Connect, * or IAM federation. *

    *
  • *
*

* Omit this parameter for users in the third group – IAM users and IAM role-based sessions. *

* * @return The Amazon QuickSight user's Amazon Resource Name (ARN), for use with QUICKSIGHT identity * type. You can use this for any Amazon QuickSight users in your account (readers, authors, or admins) * authenticated as one of the following:

*
    *
  • *

    * Active Directory (AD) users or group members *

    *
  • *
  • *

    * Invited nonfederated users *

    *
  • *
  • *

    * IAM users and IAM role-based sessions authenticated through Federated Single Sign-On using SAML, OpenID * Connect, or IAM federation. *

    *
  • *
*

* Omit this parameter for users in the third group – IAM users and IAM role-based sessions. */ public String getUserArn() { return this.userArn; } /** *

* The Amazon QuickSight user's Amazon Resource Name (ARN), for use with QUICKSIGHT identity type. You * can use this for any Amazon QuickSight users in your account (readers, authors, or admins) authenticated as one * of the following: *

*
    *
  • *

    * Active Directory (AD) users or group members *

    *
  • *
  • *

    * Invited nonfederated users *

    *
  • *
  • *

    * IAM users and IAM role-based sessions authenticated through Federated Single Sign-On using SAML, OpenID Connect, * or IAM federation. *

    *
  • *
*

* Omit this parameter for users in the third group – IAM users and IAM role-based sessions. *

* * @param userArn * The Amazon QuickSight user's Amazon Resource Name (ARN), for use with QUICKSIGHT identity * type. You can use this for any Amazon QuickSight users in your account (readers, authors, or admins) * authenticated as one of the following:

*
    *
  • *

    * Active Directory (AD) users or group members *

    *
  • *
  • *

    * Invited nonfederated users *

    *
  • *
  • *

    * IAM users and IAM role-based sessions authenticated through Federated Single Sign-On using SAML, OpenID * Connect, or IAM federation. *

    *
  • *
*

* Omit this parameter for users in the third group – IAM users and IAM role-based sessions. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDashboardEmbedUrlRequest withUserArn(String userArn) { setUserArn(userArn); return this; } /** *

* The Amazon QuickSight namespace that contains the dashboard IDs in this request. If you're not using a custom * namespace, set Namespace = default. *

* * @param namespace * The Amazon QuickSight namespace that contains the dashboard IDs in this request. If you're not using a * custom namespace, set Namespace = default. */ public void setNamespace(String namespace) { this.namespace = namespace; } /** *

* The Amazon QuickSight namespace that contains the dashboard IDs in this request. If you're not using a custom * namespace, set Namespace = default. *

* * @return The Amazon QuickSight namespace that contains the dashboard IDs in this request. If you're not using a * custom namespace, set Namespace = default. */ public String getNamespace() { return this.namespace; } /** *

* The Amazon QuickSight namespace that contains the dashboard IDs in this request. If you're not using a custom * namespace, set Namespace = default. *

* * @param namespace * The Amazon QuickSight namespace that contains the dashboard IDs in this request. If you're not using a * custom namespace, set Namespace = default. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDashboardEmbedUrlRequest withNamespace(String namespace) { setNamespace(namespace); return this; } /** *

* A list of one or more dashboard IDs that you want anonymous users to have tempporary access to. Currently, the * IdentityType parameter must be set to ANONYMOUS because other identity types * authenticate as Amazon QuickSight or IAM users. For example, if you set " * --dashboard-id dash_id1 --dashboard-id dash_id2 dash_id3 identity-type ANONYMOUS", the session can * access all three dashboards. *

* * @return A list of one or more dashboard IDs that you want anonymous users to have tempporary access to. * Currently, the IdentityType parameter must be set to ANONYMOUS because other * identity types authenticate as Amazon QuickSight or IAM users. For example, if you set " * --dashboard-id dash_id1 --dashboard-id dash_id2 dash_id3 identity-type ANONYMOUS", the * session can access all three dashboards. */ public java.util.List getAdditionalDashboardIds() { return additionalDashboardIds; } /** *

* A list of one or more dashboard IDs that you want anonymous users to have tempporary access to. Currently, the * IdentityType parameter must be set to ANONYMOUS because other identity types * authenticate as Amazon QuickSight or IAM users. For example, if you set " * --dashboard-id dash_id1 --dashboard-id dash_id2 dash_id3 identity-type ANONYMOUS", the session can * access all three dashboards. *

* * @param additionalDashboardIds * A list of one or more dashboard IDs that you want anonymous users to have tempporary access to. Currently, * the IdentityType parameter must be set to ANONYMOUS because other identity types * authenticate as Amazon QuickSight or IAM users. For example, if you set " * --dashboard-id dash_id1 --dashboard-id dash_id2 dash_id3 identity-type ANONYMOUS", the * session can access all three dashboards. */ public void setAdditionalDashboardIds(java.util.Collection additionalDashboardIds) { if (additionalDashboardIds == null) { this.additionalDashboardIds = null; return; } this.additionalDashboardIds = new java.util.ArrayList(additionalDashboardIds); } /** *

* A list of one or more dashboard IDs that you want anonymous users to have tempporary access to. Currently, the * IdentityType parameter must be set to ANONYMOUS because other identity types * authenticate as Amazon QuickSight or IAM users. For example, if you set " * --dashboard-id dash_id1 --dashboard-id dash_id2 dash_id3 identity-type ANONYMOUS", the session can * access all three dashboards. *

*

* NOTE: This method appends the values to the existing list (if any). Use * {@link #setAdditionalDashboardIds(java.util.Collection)} or * {@link #withAdditionalDashboardIds(java.util.Collection)} if you want to override the existing values. *

* * @param additionalDashboardIds * A list of one or more dashboard IDs that you want anonymous users to have tempporary access to. Currently, * the IdentityType parameter must be set to ANONYMOUS because other identity types * authenticate as Amazon QuickSight or IAM users. For example, if you set " * --dashboard-id dash_id1 --dashboard-id dash_id2 dash_id3 identity-type ANONYMOUS", the * session can access all three dashboards. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDashboardEmbedUrlRequest withAdditionalDashboardIds(String... additionalDashboardIds) { if (this.additionalDashboardIds == null) { setAdditionalDashboardIds(new java.util.ArrayList(additionalDashboardIds.length)); } for (String ele : additionalDashboardIds) { this.additionalDashboardIds.add(ele); } return this; } /** *

* A list of one or more dashboard IDs that you want anonymous users to have tempporary access to. Currently, the * IdentityType parameter must be set to ANONYMOUS because other identity types * authenticate as Amazon QuickSight or IAM users. For example, if you set " * --dashboard-id dash_id1 --dashboard-id dash_id2 dash_id3 identity-type ANONYMOUS", the session can * access all three dashboards. *

* * @param additionalDashboardIds * A list of one or more dashboard IDs that you want anonymous users to have tempporary access to. Currently, * the IdentityType parameter must be set to ANONYMOUS because other identity types * authenticate as Amazon QuickSight or IAM users. For example, if you set " * --dashboard-id dash_id1 --dashboard-id dash_id2 dash_id3 identity-type ANONYMOUS", the * session can access all three dashboards. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDashboardEmbedUrlRequest withAdditionalDashboardIds(java.util.Collection additionalDashboardIds) { setAdditionalDashboardIds(additionalDashboardIds); 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 (getIdentityType() != null) sb.append("IdentityType: ").append(getIdentityType()).append(","); if (getSessionLifetimeInMinutes() != null) sb.append("SessionLifetimeInMinutes: ").append(getSessionLifetimeInMinutes()).append(","); if (getUndoRedoDisabled() != null) sb.append("UndoRedoDisabled: ").append(getUndoRedoDisabled()).append(","); if (getResetDisabled() != null) sb.append("ResetDisabled: ").append(getResetDisabled()).append(","); if (getStatePersistenceEnabled() != null) sb.append("StatePersistenceEnabled: ").append(getStatePersistenceEnabled()).append(","); if (getUserArn() != null) sb.append("UserArn: ").append(getUserArn()).append(","); if (getNamespace() != null) sb.append("Namespace: ").append(getNamespace()).append(","); if (getAdditionalDashboardIds() != null) sb.append("AdditionalDashboardIds: ").append(getAdditionalDashboardIds()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof GetDashboardEmbedUrlRequest == false) return false; GetDashboardEmbedUrlRequest other = (GetDashboardEmbedUrlRequest) 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.getIdentityType() == null ^ this.getIdentityType() == null) return false; if (other.getIdentityType() != null && other.getIdentityType().equals(this.getIdentityType()) == false) return false; if (other.getSessionLifetimeInMinutes() == null ^ this.getSessionLifetimeInMinutes() == null) return false; if (other.getSessionLifetimeInMinutes() != null && other.getSessionLifetimeInMinutes().equals(this.getSessionLifetimeInMinutes()) == false) return false; if (other.getUndoRedoDisabled() == null ^ this.getUndoRedoDisabled() == null) return false; if (other.getUndoRedoDisabled() != null && other.getUndoRedoDisabled().equals(this.getUndoRedoDisabled()) == false) return false; if (other.getResetDisabled() == null ^ this.getResetDisabled() == null) return false; if (other.getResetDisabled() != null && other.getResetDisabled().equals(this.getResetDisabled()) == false) return false; if (other.getStatePersistenceEnabled() == null ^ this.getStatePersistenceEnabled() == null) return false; if (other.getStatePersistenceEnabled() != null && other.getStatePersistenceEnabled().equals(this.getStatePersistenceEnabled()) == false) return false; if (other.getUserArn() == null ^ this.getUserArn() == null) return false; if (other.getUserArn() != null && other.getUserArn().equals(this.getUserArn()) == false) return false; if (other.getNamespace() == null ^ this.getNamespace() == null) return false; if (other.getNamespace() != null && other.getNamespace().equals(this.getNamespace()) == false) return false; if (other.getAdditionalDashboardIds() == null ^ this.getAdditionalDashboardIds() == null) return false; if (other.getAdditionalDashboardIds() != null && other.getAdditionalDashboardIds().equals(this.getAdditionalDashboardIds()) == 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 + ((getIdentityType() == null) ? 0 : getIdentityType().hashCode()); hashCode = prime * hashCode + ((getSessionLifetimeInMinutes() == null) ? 0 : getSessionLifetimeInMinutes().hashCode()); hashCode = prime * hashCode + ((getUndoRedoDisabled() == null) ? 0 : getUndoRedoDisabled().hashCode()); hashCode = prime * hashCode + ((getResetDisabled() == null) ? 0 : getResetDisabled().hashCode()); hashCode = prime * hashCode + ((getStatePersistenceEnabled() == null) ? 0 : getStatePersistenceEnabled().hashCode()); hashCode = prime * hashCode + ((getUserArn() == null) ? 0 : getUserArn().hashCode()); hashCode = prime * hashCode + ((getNamespace() == null) ? 0 : getNamespace().hashCode()); hashCode = prime * hashCode + ((getAdditionalDashboardIds() == null) ? 0 : getAdditionalDashboardIds().hashCode()); return hashCode; } @Override public GetDashboardEmbedUrlRequest clone() { return (GetDashboardEmbedUrlRequest) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy