#[non_exhaustive]pub struct TerminateSessionOutputBuilder { /* private fields */ }Expand description
A builder for TerminateSessionOutput.
Implementations§
source§impl TerminateSessionOutputBuilder
impl TerminateSessionOutputBuilder
sourcepub fn session_id(self, input: impl Into<String>) -> Self
pub fn session_id(self, input: impl Into<String>) -> Self
The ID of the session that has been terminated.
sourcepub fn set_session_id(self, input: Option<String>) -> Self
pub fn set_session_id(self, input: Option<String>) -> Self
The ID of the session that has been terminated.
sourcepub fn build(self) -> TerminateSessionOutput
pub fn build(self) -> TerminateSessionOutput
Consumes the builder and constructs a TerminateSessionOutput.
Trait Implementations§
source§impl Clone for TerminateSessionOutputBuilder
impl Clone for TerminateSessionOutputBuilder
source§fn clone(&self) -> TerminateSessionOutputBuilder
fn clone(&self) -> TerminateSessionOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for TerminateSessionOutputBuilder
impl Default for TerminateSessionOutputBuilder
source§fn default() -> TerminateSessionOutputBuilder
fn default() -> TerminateSessionOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<TerminateSessionOutputBuilder> for TerminateSessionOutputBuilder
impl PartialEq<TerminateSessionOutputBuilder> for TerminateSessionOutputBuilder
source§fn eq(&self, other: &TerminateSessionOutputBuilder) -> bool
fn eq(&self, other: &TerminateSessionOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.