Struct aws_sdk_athena::model::session_summary::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for SessionSummary
.
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 engine_version(self, input: EngineVersion) -> Self
pub fn engine_version(self, input: EngineVersion) -> Self
The engine version used by the session (for example, PySpark engine version 3
).
sourcepub fn set_engine_version(self, input: Option<EngineVersion>) -> Self
pub fn set_engine_version(self, input: Option<EngineVersion>) -> Self
The engine version used by the session (for example, PySpark engine version 3
).
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 status(self, input: SessionStatus) -> Self
pub fn status(self, input: SessionStatus) -> Self
Contains information about the session status.
sourcepub fn set_status(self, input: Option<SessionStatus>) -> Self
pub fn set_status(self, input: Option<SessionStatus>) -> Self
Contains information about the session status.
sourcepub fn build(self) -> SessionSummary
pub fn build(self) -> SessionSummary
Consumes the builder and constructs a SessionSummary
.