public static interface ExecuteCommandResponse.Builder extends EcsResponse.Builder, SdkPojo, CopyableBuilder<ExecuteCommandResponse.Builder,ExecuteCommandResponse>
| Modifier and Type | Method and Description |
|---|---|
ExecuteCommandResponse.Builder |
clusterArn(String clusterArn)
The Amazon Resource Name (ARN) of the cluster.
|
ExecuteCommandResponse.Builder |
containerArn(String containerArn)
The Amazon Resource Name (ARN) of the container.
|
ExecuteCommandResponse.Builder |
containerName(String containerName)
The name of the container.
|
ExecuteCommandResponse.Builder |
interactive(Boolean interactive)
Whether or not the execute command session is running in interactive mode.
|
default ExecuteCommandResponse.Builder |
session(Consumer<Session.Builder> session)
The details of the SSM session that was created for this instance of execute-command.
|
ExecuteCommandResponse.Builder |
session(Session session)
The details of the SSM session that was created for this instance of execute-command.
|
ExecuteCommandResponse.Builder |
taskArn(String taskArn)
The Amazon Resource Name (ARN) of the task.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildExecuteCommandResponse.Builder clusterArn(String clusterArn)
The Amazon Resource Name (ARN) of the cluster.
clusterArn - The Amazon Resource Name (ARN) of the cluster.ExecuteCommandResponse.Builder containerArn(String containerArn)
The Amazon Resource Name (ARN) of the container.
containerArn - The Amazon Resource Name (ARN) of the container.ExecuteCommandResponse.Builder containerName(String containerName)
The name of the container.
containerName - The name of the container.ExecuteCommandResponse.Builder interactive(Boolean interactive)
Whether or not the execute command session is running in interactive mode. Amazon ECS only supports
initiating interactive sessions, so you must specify true for this value.
interactive - Whether or not the execute command session is running in interactive mode. Amazon ECS only supports
initiating interactive sessions, so you must specify true for this value.ExecuteCommandResponse.Builder session(Session session)
The details of the SSM session that was created for this instance of execute-command.
session - The details of the SSM session that was created for this instance of execute-command.default ExecuteCommandResponse.Builder session(Consumer<Session.Builder> session)
The details of the SSM session that was created for this instance of execute-command.
This is a convenience that creates an instance of theSession.Builder avoiding the need to create one
manually via Session.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to session(Session).session - a consumer that will call methods on Session.Buildersession(Session)ExecuteCommandResponse.Builder taskArn(String taskArn)
The Amazon Resource Name (ARN) of the task.
taskArn - The Amazon Resource Name (ARN) of the task.Copyright © 2021. All rights reserved.