#[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 ==
.