@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SessionConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Contains session configuration information.
Constructor and Description |
---|
SessionConfiguration() |
Modifier and Type | Method and Description |
---|---|
SessionConfiguration |
clone() |
boolean |
equals(Object obj) |
EncryptionConfiguration |
getEncryptionConfiguration() |
String |
getExecutionRole()
The ARN of the execution role used to access user resources for Spark sessions and Identity Center enabled
workgroups.
|
Long |
getIdleTimeoutSeconds()
The idle timeout in seconds for the session.
|
String |
getWorkingDirectory()
The Amazon S3 location that stores information for the notebook.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration) |
void |
setExecutionRole(String executionRole)
The ARN of the execution role used to access user resources for Spark sessions and Identity Center enabled
workgroups.
|
void |
setIdleTimeoutSeconds(Long idleTimeoutSeconds)
The idle timeout in seconds for the session.
|
void |
setWorkingDirectory(String workingDirectory)
The Amazon S3 location that stores information for the notebook.
|
String |
toString()
Returns a string representation of this object.
|
SessionConfiguration |
withEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration) |
SessionConfiguration |
withExecutionRole(String executionRole)
The ARN of the execution role used to access user resources for Spark sessions and Identity Center enabled
workgroups.
|
SessionConfiguration |
withIdleTimeoutSeconds(Long idleTimeoutSeconds)
The idle timeout in seconds for the session.
|
SessionConfiguration |
withWorkingDirectory(String workingDirectory)
The Amazon S3 location that stores information for the notebook.
|
public void setExecutionRole(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.
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.public String getExecutionRole()
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.
public SessionConfiguration withExecutionRole(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.
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.public void setWorkingDirectory(String workingDirectory)
The Amazon S3 location that stores information for the notebook.
workingDirectory
- The Amazon S3 location that stores information for the notebook.public String getWorkingDirectory()
The Amazon S3 location that stores information for the notebook.
public SessionConfiguration withWorkingDirectory(String workingDirectory)
The Amazon S3 location that stores information for the notebook.
workingDirectory
- The Amazon S3 location that stores information for the notebook.public void setIdleTimeoutSeconds(Long idleTimeoutSeconds)
The idle timeout in seconds for the session.
idleTimeoutSeconds
- The idle timeout in seconds for the session.public Long getIdleTimeoutSeconds()
The idle timeout in seconds for the session.
public SessionConfiguration withIdleTimeoutSeconds(Long idleTimeoutSeconds)
The idle timeout in seconds for the session.
idleTimeoutSeconds
- The idle timeout in seconds for the session.public void setEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
encryptionConfiguration
- public EncryptionConfiguration getEncryptionConfiguration()
public SessionConfiguration withEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
encryptionConfiguration
- public String toString()
toString
in class Object
Object.toString()
public SessionConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2024. All rights reserved.