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 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.
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 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.
sourcepub fn get_execution_role(&self) -> &Option<String>
pub fn get_execution_role(&self) -> &Option<String>
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.
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 for SessionConfigurationBuilder
impl PartialEq 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 ==.impl StructuralPartialEq for SessionConfigurationBuilder
Auto Trait Implementations§
impl Freeze for SessionConfigurationBuilder
impl RefUnwindSafe for SessionConfigurationBuilder
impl Send for SessionConfigurationBuilder
impl Sync for SessionConfigurationBuilder
impl Unpin for SessionConfigurationBuilder
impl UnwindSafe for SessionConfigurationBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more