Struct aws_sdk_athena::model::session_configuration::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for SessionConfiguration
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn execution_role(self, input: impl Into<String>) -> Self
pub fn execution_role(self, input: impl Into<String>) -> Self
The ARN of the execution role used for the session.
sourcepub fn set_execution_role(self, input: Option<String>) -> Self
pub fn set_execution_role(self, input: Option<String>) -> Self
The ARN of the execution role used for the session.
sourcepub fn working_directory(self, input: impl Into<String>) -> Self
pub fn working_directory(self, input: impl Into<String>) -> Self
The Amazon S3 location that stores information for the notebook.
sourcepub fn set_working_directory(self, input: Option<String>) -> Self
pub fn set_working_directory(self, input: Option<String>) -> Self
The Amazon S3 location that stores information for the notebook.
sourcepub fn idle_timeout_seconds(self, input: i64) -> Self
pub fn idle_timeout_seconds(self, input: i64) -> Self
The idle timeout in seconds for the session.
sourcepub fn set_idle_timeout_seconds(self, input: Option<i64>) -> Self
pub fn set_idle_timeout_seconds(self, input: Option<i64>) -> Self
The idle timeout in seconds for the session.
sourcepub fn encryption_configuration(self, input: EncryptionConfiguration) -> Self
pub fn encryption_configuration(self, input: EncryptionConfiguration) -> Self
If query results are encrypted in Amazon S3, indicates the encryption option used (for example, SSE_KMS
or CSE_KMS
) and key information.
sourcepub fn set_encryption_configuration(
self,
input: Option<EncryptionConfiguration>
) -> Self
pub fn set_encryption_configuration( self, input: Option<EncryptionConfiguration> ) -> Self
If query results are encrypted in Amazon S3, indicates the encryption option used (for example, SSE_KMS
or CSE_KMS
) and key information.
sourcepub fn build(self) -> SessionConfiguration
pub fn build(self) -> SessionConfiguration
Consumes the builder and constructs a SessionConfiguration
.