Struct aws_sdk_ecs::types::builders::SessionBuilder
source · #[non_exhaustive]pub struct SessionBuilder { /* private fields */ }
Expand description
A builder for Session
.
Implementations§
source§impl SessionBuilder
impl SessionBuilder
sourcepub fn session_id(self, input: impl Into<String>) -> Self
pub fn session_id(self, input: impl Into<String>) -> Self
The ID of the execute command session.
sourcepub fn set_session_id(self, input: Option<String>) -> Self
pub fn set_session_id(self, input: Option<String>) -> Self
The ID of the execute command session.
sourcepub fn get_session_id(&self) -> &Option<String>
pub fn get_session_id(&self) -> &Option<String>
The ID of the execute command session.
sourcepub fn stream_url(self, input: impl Into<String>) -> Self
pub fn stream_url(self, input: impl Into<String>) -> Self
A URL to the managed agent on the container that the SSM Session Manager client uses to send commands and receive output from the container.
sourcepub fn set_stream_url(self, input: Option<String>) -> Self
pub fn set_stream_url(self, input: Option<String>) -> Self
A URL to the managed agent on the container that the SSM Session Manager client uses to send commands and receive output from the container.
sourcepub fn get_stream_url(&self) -> &Option<String>
pub fn get_stream_url(&self) -> &Option<String>
A URL to the managed agent on the container that the SSM Session Manager client uses to send commands and receive output from the container.
sourcepub fn token_value(self, input: impl Into<String>) -> Self
pub fn token_value(self, input: impl Into<String>) -> Self
An encrypted token value containing session and caller information. It's used to authenticate the connection to the container.
sourcepub fn set_token_value(self, input: Option<String>) -> Self
pub fn set_token_value(self, input: Option<String>) -> Self
An encrypted token value containing session and caller information. It's used to authenticate the connection to the container.
sourcepub fn get_token_value(&self) -> &Option<String>
pub fn get_token_value(&self) -> &Option<String>
An encrypted token value containing session and caller information. It's used to authenticate the connection to the container.
Trait Implementations§
source§impl Clone for SessionBuilder
impl Clone for SessionBuilder
source§fn clone(&self) -> SessionBuilder
fn clone(&self) -> SessionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SessionBuilder
impl Debug for SessionBuilder
source§impl Default for SessionBuilder
impl Default for SessionBuilder
source§fn default() -> SessionBuilder
fn default() -> SessionBuilder
source§impl PartialEq for SessionBuilder
impl PartialEq for SessionBuilder
source§fn eq(&self, other: &SessionBuilder) -> bool
fn eq(&self, other: &SessionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.