public static interface ExecuteCommandRequest.Builder extends EcsRequest.Builder, SdkPojo, CopyableBuilder<ExecuteCommandRequest.Builder,ExecuteCommandRequest>
| Modifier and Type | Method and Description |
|---|---|
ExecuteCommandRequest.Builder |
cluster(String cluster)
The Amazon Resource Name (ARN) or short name of the cluster the task is running in.
|
ExecuteCommandRequest.Builder |
command(String command)
The command to run on the container.
|
ExecuteCommandRequest.Builder |
container(String container)
The name of the container to execute the command on.
|
ExecuteCommandRequest.Builder |
interactive(Boolean interactive)
Use this flag to run your command in interactive mode.
|
ExecuteCommandRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
ExecuteCommandRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
ExecuteCommandRequest.Builder |
task(String task)
The Amazon Resource Name (ARN) or ID of the task the container is part of.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildExecuteCommandRequest.Builder cluster(String cluster)
The Amazon Resource Name (ARN) or short name of the cluster the task is running in. If you do not specify a cluster, the default cluster is assumed.
cluster - The Amazon Resource Name (ARN) or short name of the cluster the task is running in. If you do not
specify a cluster, the default cluster is assumed.ExecuteCommandRequest.Builder container(String container)
The name of the container to execute the command on. A container name only needs to be specified for tasks containing multiple containers.
container - The name of the container to execute the command on. A container name only needs to be specified for
tasks containing multiple containers.ExecuteCommandRequest.Builder command(String command)
The command to run on the container.
command - The command to run on the container.ExecuteCommandRequest.Builder interactive(Boolean interactive)
Use this flag to run your command in interactive mode.
interactive - Use this flag to run your command in interactive mode.ExecuteCommandRequest.Builder task(String task)
The Amazon Resource Name (ARN) or ID of the task the container is part of.
task - The Amazon Resource Name (ARN) or ID of the task the container is part of.ExecuteCommandRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderExecuteCommandRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.