Struct aws_sdk_ecs::output::execute_command_output::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for ExecuteCommandOutput.
Implementations
sourceimpl Builder
impl Builder
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 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 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 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 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 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 build(self) -> ExecuteCommandOutput
pub fn build(self) -> ExecuteCommandOutput
Consumes the builder and constructs a ExecuteCommandOutput.