Interface SessionConfiguration.Builder

    • Method Detail

      • executionRole

        SessionConfiguration.Builder executionRole​(String executionRole)

        The ARN of the execution role used to access user resources for Spark sessions and Identity Center enabled workgroups. This property applies only to Spark enabled workgroups and Identity Center enabled workgroups.

        Parameters:
        executionRole - The ARN of the execution role used to access user resources for Spark sessions and Identity Center enabled workgroups. This property applies only to Spark enabled workgroups and Identity Center enabled workgroups.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • workingDirectory

        SessionConfiguration.Builder workingDirectory​(String workingDirectory)

        The Amazon S3 location that stores information for the notebook.

        Parameters:
        workingDirectory - The Amazon S3 location that stores information for the notebook.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • idleTimeoutSeconds

        SessionConfiguration.Builder idleTimeoutSeconds​(Long idleTimeoutSeconds)

        The idle timeout in seconds for the session.

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

        SessionConfiguration.Builder encryptionConfiguration​(EncryptionConfiguration encryptionConfiguration)
        Sets the value of the EncryptionConfiguration property for this object.
        Parameters:
        encryptionConfiguration - The new value for the EncryptionConfiguration property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.