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 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 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.
Trait Implementations§
source§impl Clone for SessionBuilder
impl Clone for SessionBuilder
source§fn clone(&self) -> SessionBuilder
fn clone(&self) -> SessionBuilder
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 Debug for SessionBuilder
impl Debug for SessionBuilder
source§impl Default for SessionBuilder
impl Default for SessionBuilder
source§fn default() -> SessionBuilder
fn default() -> SessionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<SessionBuilder> for SessionBuilder
impl PartialEq<SessionBuilder> for SessionBuilder
source§fn eq(&self, other: &SessionBuilder) -> bool
fn eq(&self, other: &SessionBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SessionBuilder
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more