Struct aws_sdk_athena::types::builders::SessionConfigurationBuilder
source · #[non_exhaustive]pub struct SessionConfigurationBuilder { /* private fields */ }Expand description
A builder for SessionConfiguration.
Implementations§
source§impl SessionConfigurationBuilder
impl SessionConfigurationBuilder
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 get_execution_role(&self) -> &Option<String>
pub fn get_execution_role(&self) -> &Option<String>
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 get_working_directory(&self) -> &Option<String>
pub fn get_working_directory(&self) -> &Option<String>
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 get_idle_timeout_seconds(&self) -> &Option<i64>
pub fn get_idle_timeout_seconds(&self) -> &Option<i64>
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 and calculation 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 and calculation results are encrypted in Amazon S3, indicates the encryption option used (for example, SSE_KMS or CSE_KMS) and key information.
sourcepub fn get_encryption_configuration(&self) -> &Option<EncryptionConfiguration>
pub fn get_encryption_configuration(&self) -> &Option<EncryptionConfiguration>
If query and calculation 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.
Trait Implementations§
source§impl Clone for SessionConfigurationBuilder
impl Clone for SessionConfigurationBuilder
source§fn clone(&self) -> SessionConfigurationBuilder
fn clone(&self) -> SessionConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SessionConfigurationBuilder
impl Debug for SessionConfigurationBuilder
source§impl Default for SessionConfigurationBuilder
impl Default for SessionConfigurationBuilder
source§fn default() -> SessionConfigurationBuilder
fn default() -> SessionConfigurationBuilder
source§impl PartialEq<SessionConfigurationBuilder> for SessionConfigurationBuilder
impl PartialEq<SessionConfigurationBuilder> for SessionConfigurationBuilder
source§fn eq(&self, other: &SessionConfigurationBuilder) -> bool
fn eq(&self, other: &SessionConfigurationBuilder) -> bool
self and other values to be equal, and is used
by ==.