Interface SessionConfiguration.Builder

All Superinterfaces:
Buildable, CopyableBuilder<SessionConfiguration.Builder,SessionConfiguration>, SdkBuilder<SessionConfiguration.Builder,SessionConfiguration>, SdkPojo
Enclosing class:
SessionConfiguration

public static interface SessionConfiguration.Builder extends SdkPojo, CopyableBuilder<SessionConfiguration.Builder,SessionConfiguration>
  • Method Details

    • 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.
    • encryptionConfiguration

      default SessionConfiguration.Builder encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration)
      Sets the value of the EncryptionConfiguration property for this object. This is a convenience method that creates an instance of the EncryptionConfiguration.Builder avoiding the need to create one manually via EncryptionConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to encryptionConfiguration(EncryptionConfiguration).

      Parameters:
      encryptionConfiguration - a consumer that will call methods on EncryptionConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: