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
impl StructuralPartialEq for SessionBuilder
Auto Trait Implementations§
impl Freeze for SessionBuilder
impl RefUnwindSafe for SessionBuilder
impl Send for SessionBuilder
impl Sync for SessionBuilder
impl Unpin for SessionBuilder
impl UnwindSafe for SessionBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more