@Generated(value="software.amazon.awssdk:codegen") public final class ExecuteCommandRequest extends EcsRequest implements ToCopyableBuilder<ExecuteCommandRequest.Builder,ExecuteCommandRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ExecuteCommandRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ExecuteCommandRequest.Builder |
builder() |
String |
cluster()
The Amazon Resource Name (ARN) or short name of the cluster the task is running in.
|
String |
command()
The command to run on the container.
|
String |
container()
The name of the container to execute the command on.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
interactive()
Use this flag to run your command in interactive mode.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ExecuteCommandRequest.Builder> |
serializableBuilderClass() |
String |
task()
The Amazon Resource Name (ARN) or ID of the task the container is part of.
|
ExecuteCommandRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
public final 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.
public final String command()
The command to run on the container.
public final Boolean interactive()
Use this flag to run your command in interactive mode.
public final String task()
The Amazon Resource Name (ARN) or ID of the task the container is part of.
public ExecuteCommandRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ExecuteCommandRequest.Builder,ExecuteCommandRequest>toBuilder in class EcsRequestpublic static ExecuteCommandRequest.Builder builder()
public static Class<? extends ExecuteCommandRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.