@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExecuteCommandResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ExecuteCommandResult() |
Modifier and Type | Method and Description |
---|---|
ExecuteCommandResult |
clone() |
boolean |
equals(Object obj) |
String |
getClusterArn()
The Amazon Resource Name (ARN) of the cluster.
|
String |
getContainerArn()
The Amazon Resource Name (ARN) of the container.
|
String |
getContainerName()
The name of the container.
|
Boolean |
getInteractive()
Determines whether the execute command session is running in interactive mode.
|
Session |
getSession()
The details of the SSM session that was created for this instance of execute-command.
|
String |
getTaskArn()
The Amazon Resource Name (ARN) of the task.
|
int |
hashCode() |
Boolean |
isInteractive()
Determines whether the execute command session is running in interactive mode.
|
void |
setClusterArn(String clusterArn)
The Amazon Resource Name (ARN) of the cluster.
|
void |
setContainerArn(String containerArn)
The Amazon Resource Name (ARN) of the container.
|
void |
setContainerName(String containerName)
The name of the container.
|
void |
setInteractive(Boolean interactive)
Determines whether the execute command session is running in interactive mode.
|
void |
setSession(Session session)
The details of the SSM session that was created for this instance of execute-command.
|
void |
setTaskArn(String taskArn)
The Amazon Resource Name (ARN) of the task.
|
String |
toString()
Returns a string representation of this object.
|
ExecuteCommandResult |
withClusterArn(String clusterArn)
The Amazon Resource Name (ARN) of the cluster.
|
ExecuteCommandResult |
withContainerArn(String containerArn)
The Amazon Resource Name (ARN) of the container.
|
ExecuteCommandResult |
withContainerName(String containerName)
The name of the container.
|
ExecuteCommandResult |
withInteractive(Boolean interactive)
Determines whether the execute command session is running in interactive mode.
|
ExecuteCommandResult |
withSession(Session session)
The details of the SSM session that was created for this instance of execute-command.
|
ExecuteCommandResult |
withTaskArn(String taskArn)
The Amazon Resource Name (ARN) of the task.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setClusterArn(String clusterArn)
The Amazon Resource Name (ARN) of the cluster.
clusterArn
- The Amazon Resource Name (ARN) of the cluster.public String getClusterArn()
The Amazon Resource Name (ARN) of the cluster.
public ExecuteCommandResult withClusterArn(String clusterArn)
The Amazon Resource Name (ARN) of the cluster.
clusterArn
- The Amazon Resource Name (ARN) of the cluster.public void setContainerArn(String containerArn)
The Amazon Resource Name (ARN) of the container.
containerArn
- The Amazon Resource Name (ARN) of the container.public String getContainerArn()
The Amazon Resource Name (ARN) of the container.
public ExecuteCommandResult withContainerArn(String containerArn)
The Amazon Resource Name (ARN) of the container.
containerArn
- The Amazon Resource Name (ARN) of the container.public void setContainerName(String containerName)
The name of the container.
containerName
- The name of the container.public String getContainerName()
The name of the container.
public ExecuteCommandResult withContainerName(String containerName)
The name of the container.
containerName
- The name of the container.public void setInteractive(Boolean interactive)
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.
interactive
- 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.public Boolean getInteractive()
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.
true
for this value.public ExecuteCommandResult withInteractive(Boolean interactive)
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.
interactive
- 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.public Boolean isInteractive()
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.
true
for this value.public void setSession(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.public Session getSession()
The details of the SSM session that was created for this instance of execute-command.
public ExecuteCommandResult withSession(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.public void setTaskArn(String taskArn)
The Amazon Resource Name (ARN) of the task.
taskArn
- The Amazon Resource Name (ARN) of the task.public String getTaskArn()
The Amazon Resource Name (ARN) of the task.
public ExecuteCommandResult withTaskArn(String taskArn)
The Amazon Resource Name (ARN) of the task.
taskArn
- The Amazon Resource Name (ARN) of the task.public String toString()
toString
in class Object
Object.toString()
public ExecuteCommandResult clone()