#[non_exhaustive]pub struct ExecuteCommandOutputBuilder { /* private fields */ }
Expand description
A builder for ExecuteCommandOutput
.
Implementations§
source§impl ExecuteCommandOutputBuilder
impl ExecuteCommandOutputBuilder
sourcepub fn cluster_arn(self, input: impl Into<String>) -> Self
pub fn cluster_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the cluster.
sourcepub fn set_cluster_arn(self, input: Option<String>) -> Self
pub fn set_cluster_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the cluster.
sourcepub fn get_cluster_arn(&self) -> &Option<String>
pub fn get_cluster_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the cluster.
sourcepub fn container_arn(self, input: impl Into<String>) -> Self
pub fn container_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the container.
sourcepub fn set_container_arn(self, input: Option<String>) -> Self
pub fn set_container_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the container.
sourcepub fn get_container_arn(&self) -> &Option<String>
pub fn get_container_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the container.
sourcepub fn container_name(self, input: impl Into<String>) -> Self
pub fn container_name(self, input: impl Into<String>) -> Self
The name of the container.
sourcepub fn set_container_name(self, input: Option<String>) -> Self
pub fn set_container_name(self, input: Option<String>) -> Self
The name of the container.
sourcepub fn get_container_name(&self) -> &Option<String>
pub fn get_container_name(&self) -> &Option<String>
The name of the container.
sourcepub fn interactive(self, input: bool) -> Self
pub fn interactive(self, input: bool) -> Self
Determines whether the execute command session is running in interactive mode. Amazon ECS only supports initiating interactive sessions, so you must specify true
for this value.
sourcepub fn set_interactive(self, input: Option<bool>) -> Self
pub fn set_interactive(self, input: Option<bool>) -> Self
Determines whether the execute command session is running in interactive mode. Amazon ECS only supports initiating interactive sessions, so you must specify true
for this value.
sourcepub fn get_interactive(&self) -> &Option<bool>
pub fn get_interactive(&self) -> &Option<bool>
Determines whether the execute command session is running in interactive mode. Amazon ECS only supports initiating interactive sessions, so you must specify true
for this value.
sourcepub fn session(self, input: Session) -> Self
pub fn session(self, input: Session) -> Self
The details of the SSM session that was created for this instance of execute-command.
sourcepub fn set_session(self, input: Option<Session>) -> Self
pub fn set_session(self, input: Option<Session>) -> Self
The details of the SSM session that was created for this instance of execute-command.
sourcepub fn get_session(&self) -> &Option<Session>
pub fn get_session(&self) -> &Option<Session>
The details of the SSM session that was created for this instance of execute-command.
sourcepub fn task_arn(self, input: impl Into<String>) -> Self
pub fn task_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the task.
sourcepub fn set_task_arn(self, input: Option<String>) -> Self
pub fn set_task_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the task.
sourcepub fn get_task_arn(&self) -> &Option<String>
pub fn get_task_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the task.
sourcepub fn build(self) -> ExecuteCommandOutput
pub fn build(self) -> ExecuteCommandOutput
Consumes the builder and constructs a ExecuteCommandOutput
.
Trait Implementations§
source§impl Clone for ExecuteCommandOutputBuilder
impl Clone for ExecuteCommandOutputBuilder
source§fn clone(&self) -> ExecuteCommandOutputBuilder
fn clone(&self) -> ExecuteCommandOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExecuteCommandOutputBuilder
impl Debug for ExecuteCommandOutputBuilder
source§impl Default for ExecuteCommandOutputBuilder
impl Default for ExecuteCommandOutputBuilder
source§fn default() -> ExecuteCommandOutputBuilder
fn default() -> ExecuteCommandOutputBuilder
source§impl PartialEq for ExecuteCommandOutputBuilder
impl PartialEq for ExecuteCommandOutputBuilder
source§fn eq(&self, other: &ExecuteCommandOutputBuilder) -> bool
fn eq(&self, other: &ExecuteCommandOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExecuteCommandOutputBuilder
Auto Trait Implementations§
impl Freeze for ExecuteCommandOutputBuilder
impl RefUnwindSafe for ExecuteCommandOutputBuilder
impl Send for ExecuteCommandOutputBuilder
impl Sync for ExecuteCommandOutputBuilder
impl Unpin for ExecuteCommandOutputBuilder
impl UnwindSafe for ExecuteCommandOutputBuilder
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> 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