/* * 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.AmazonWebServiceRequest; /** * * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class GetSessionEmbedUrlRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *

* The ID for the Amazon Web Services account associated with your Amazon QuickSight subscription. *

*/ private String awsAccountId; /** *

* The URL you use to access the embedded session. The entry point URL is constrained to the following paths: *

* */ private String entryPoint; /** *

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

*/ private Long sessionLifetimeInMinutes; /** *

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

*
    *
  1. *

    * Active Directory (AD) users or group members *

    *
  2. *
  3. *

    * Invited nonfederated users *

    *
  4. *
  5. *

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

    *
  6. *
*

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

*/ private String userArn; /** *

* The ID for the Amazon Web Services account associated with your Amazon QuickSight subscription. *

* * @param awsAccountId * The ID for the Amazon Web Services account associated with your Amazon QuickSight subscription. */ public void setAwsAccountId(String awsAccountId) { this.awsAccountId = awsAccountId; } /** *

* The ID for the Amazon Web Services account associated with your Amazon QuickSight subscription. *

* * @return The ID for the Amazon Web Services account associated with your Amazon QuickSight subscription. */ public String getAwsAccountId() { return this.awsAccountId; } /** *

* The ID for the Amazon Web Services account associated with your Amazon QuickSight subscription. *

* * @param awsAccountId * The ID for the Amazon Web Services account associated with your Amazon QuickSight subscription. * @return Returns a reference to this object so that method calls can be chained together. */ public GetSessionEmbedUrlRequest withAwsAccountId(String awsAccountId) { setAwsAccountId(awsAccountId); return this; } /** *

* The URL you use to access the embedded session. The entry point URL is constrained to the following paths: *

* * * @param entryPoint * The URL you use to access the embedded session. The entry point URL is constrained to the following * paths:

*