Struct aws_sdk_athena::input::terminate_session_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for TerminateSessionInput
.
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 build(self) -> Result<TerminateSessionInput, BuildError>
pub fn build(self) -> Result<TerminateSessionInput, BuildError>
Consumes the builder and constructs a TerminateSessionInput
.