Struct aws_sdk_athena::output::get_session_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for GetSessionOutput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn session_id(self, input: impl Into<String>) -> Self
pub fn session_id(self, input: impl Into<String>) -> Self
The session ID.
sourcepub fn set_session_id(self, input: Option<String>) -> Self
pub fn set_session_id(self, input: Option<String>) -> Self
The session ID.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The session description.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The session description.
sourcepub fn work_group(self, input: impl Into<String>) -> Self
pub fn work_group(self, input: impl Into<String>) -> Self
The workgroup to which the session belongs.
sourcepub fn set_work_group(self, input: Option<String>) -> Self
pub fn set_work_group(self, input: Option<String>) -> Self
The workgroup to which the session belongs.
sourcepub fn engine_version(self, input: impl Into<String>) -> Self
pub fn engine_version(self, input: impl Into<String>) -> Self
The engine version used by the session (for example, PySpark engine version 3
). You can get a list of engine versions by calling ListEngineVersions
.
sourcepub fn set_engine_version(self, input: Option<String>) -> Self
pub fn set_engine_version(self, input: Option<String>) -> Self
The engine version used by the session (for example, PySpark engine version 3
). You can get a list of engine versions by calling ListEngineVersions
.
sourcepub fn engine_configuration(self, input: EngineConfiguration) -> Self
pub fn engine_configuration(self, input: EngineConfiguration) -> Self
Contains engine configuration information like DPU usage.
sourcepub fn set_engine_configuration(self, input: Option<EngineConfiguration>) -> Self
pub fn set_engine_configuration(self, input: Option<EngineConfiguration>) -> Self
Contains engine configuration information like DPU usage.
sourcepub fn notebook_version(self, input: impl Into<String>) -> Self
pub fn notebook_version(self, input: impl Into<String>) -> Self
The notebook version.
sourcepub fn set_notebook_version(self, input: Option<String>) -> Self
pub fn set_notebook_version(self, input: Option<String>) -> Self
The notebook version.
sourcepub fn session_configuration(self, input: SessionConfiguration) -> Self
pub fn session_configuration(self, input: SessionConfiguration) -> Self
Contains the workgroup configuration information used by the session.
sourcepub fn set_session_configuration(
self,
input: Option<SessionConfiguration>
) -> Self
pub fn set_session_configuration( self, input: Option<SessionConfiguration> ) -> Self
Contains the workgroup configuration information used by the session.
sourcepub fn status(self, input: SessionStatus) -> Self
pub fn status(self, input: SessionStatus) -> Self
Contains information about the status of the session.
sourcepub fn set_status(self, input: Option<SessionStatus>) -> Self
pub fn set_status(self, input: Option<SessionStatus>) -> Self
Contains information about the status of the session.
sourcepub fn statistics(self, input: SessionStatistics) -> Self
pub fn statistics(self, input: SessionStatistics) -> Self
Contains the DPU execution time.
sourcepub fn set_statistics(self, input: Option<SessionStatistics>) -> Self
pub fn set_statistics(self, input: Option<SessionStatistics>) -> Self
Contains the DPU execution time.
sourcepub fn build(self) -> GetSessionOutput
pub fn build(self) -> GetSessionOutput
Consumes the builder and constructs a GetSessionOutput
.