Interface StartSessionRequest.Builder

    • Method Detail

      • description

        StartSessionRequest.Builder description​(String description)

        The session description.

        Parameters:
        description - The session description.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • workGroup

        StartSessionRequest.Builder workGroup​(String workGroup)

        The workgroup to which the session belongs.

        Parameters:
        workGroup - The workgroup to which the session belongs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • engineConfiguration

        StartSessionRequest.Builder engineConfiguration​(EngineConfiguration engineConfiguration)

        Contains engine data processing unit (DPU) configuration settings and parameter mappings.

        Parameters:
        engineConfiguration - Contains engine data processing unit (DPU) configuration settings and parameter mappings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • notebookVersion

        StartSessionRequest.Builder notebookVersion​(String notebookVersion)

        The notebook version. This value is supplied automatically for notebook sessions in the Athena console and is not required for programmatic session access. The only valid notebook version is Athena notebook version 1. If you specify a value for NotebookVersion, you must also specify a value for NotebookId. See EngineConfiguration$AdditionalConfigs.

        Parameters:
        notebookVersion - The notebook version. This value is supplied automatically for notebook sessions in the Athena console and is not required for programmatic session access. The only valid notebook version is Athena notebook version 1. If you specify a value for NotebookVersion, you must also specify a value for NotebookId. See EngineConfiguration$AdditionalConfigs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sessionIdleTimeoutInMinutes

        StartSessionRequest.Builder sessionIdleTimeoutInMinutes​(Integer sessionIdleTimeoutInMinutes)

        The idle timeout in minutes for the session.

        Parameters:
        sessionIdleTimeoutInMinutes - The idle timeout in minutes for the session.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clientRequestToken

        StartSessionRequest.Builder clientRequestToken​(String clientRequestToken)

        A unique case-sensitive string used to ensure the request to create the session is idempotent (executes only once). If another StartSessionRequest is received, the same response is returned and another session is not created. If a parameter has changed, an error is returned.

        This token is listed as not required because Amazon Web Services SDKs (for example the Amazon Web Services SDK for Java) auto-generate the token for users. If you are not using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide this token or the action will fail.

        Parameters:
        clientRequestToken - A unique case-sensitive string used to ensure the request to create the session is idempotent (executes only once). If another StartSessionRequest is received, the same response is returned and another session is not created. If a parameter has changed, an error is returned.

        This token is listed as not required because Amazon Web Services SDKs (for example the Amazon Web Services SDK for Java) auto-generate the token for users. If you are not using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide this token or the action will fail.

        Returns:
        Returns a reference to this object so that method calls can be chained together.