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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExecuteCommandRequest.Buildercluster(String cluster)The Amazon Resource Name (ARN) or short name of the cluster the task is running in.ExecuteCommandRequest.Buildercommand(String command)The command to run on the container.ExecuteCommandRequest.Buildercontainer(String container)The name of the container to execute the command on.ExecuteCommandRequest.Builderinteractive(Boolean interactive)Use this flag to run your command in interactive mode.ExecuteCommandRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ExecuteCommandRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ExecuteCommandRequest.Buildertask(String task)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 Detail
-
cluster
ExecuteCommandRequest.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.
- 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
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.
- 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
ExecuteCommandRequest.Builder command(String 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
ExecuteCommandRequest.Builder interactive(Boolean 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
ExecuteCommandRequest.Builder task(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ExecuteCommandRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-