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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SessionConfiguration.Builder
encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration)
Sets the value of the EncryptionConfiguration property for this object.SessionConfiguration.Builder
encryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
Sets the value of the EncryptionConfiguration property for this object.SessionConfiguration.Builder
executionRole(String executionRole)
The ARN of the execution role used to access user resources for Spark sessions and Identity Center enabled workgroups.SessionConfiguration.Builder
idleTimeoutSeconds(Long idleTimeoutSeconds)
The idle timeout in seconds for the session.SessionConfiguration.Builder
workingDirectory(String workingDirectory)
The Amazon S3 location that stores information for the notebook.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
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.
-
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 theEncryptionConfiguration.Builder
avoiding the need to create one manually viaEncryptionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toencryptionConfiguration(EncryptionConfiguration)
.- Parameters:
encryptionConfiguration
- a consumer that will call methods onEncryptionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
encryptionConfiguration(EncryptionConfiguration)
-
-