Interface ExecuteCommandRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ExecuteCommandRequest.Builder,
,ExecuteCommandRequest> EcsRequest.Builder
,SdkBuilder<ExecuteCommandRequest.Builder,
,ExecuteCommandRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ExecuteCommandRequest
public static interface ExecuteCommandRequest.Builder
extends EcsRequest.Builder, SdkPojo, CopyableBuilder<ExecuteCommandRequest.Builder,ExecuteCommandRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) or short name of the cluster the task is running in.The command to run on the container.The name of the container to execute the command on.interactive
(Boolean interactive) Use this flag to run your command in interactive mode.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Name (ARN) or ID of the task the container is part of.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.ecs.model.EcsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
container
The name of the container to execute the command on. A container name only needs to be specified for tasks containing multiple containers.
- Parameters:
container
- The name of the container to execute the command on. A container name only needs to be specified for tasks containing multiple containers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
command
The command to run on the container.
- Parameters:
command
- The command to run on the container.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interactive
Use this flag to run your command in interactive mode.
- Parameters:
interactive
- Use this flag to run your command in interactive mode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
task
The Amazon Resource Name (ARN) or ID of the task the container is part of.
- Parameters:
task
- The Amazon Resource Name (ARN) or ID of the task the container is part of.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ExecuteCommandRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ExecuteCommandRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-