Class ExecuteCommandResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.ecs.model.EcsResponse
-
- software.amazon.awssdk.services.ecs.model.ExecuteCommandResponse
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<ExecuteCommandResponse.Builder,ExecuteCommandResponse>
@Generated("software.amazon.awssdk:codegen") public final class ExecuteCommandResponse extends EcsResponse implements ToCopyableBuilder<ExecuteCommandResponse.Builder,ExecuteCommandResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ExecuteCommandResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExecuteCommandResponse.Builder
builder()
String
clusterArn()
The Amazon Resource Name (ARN) of the cluster.String
containerArn()
The Amazon Resource Name (ARN) of the container.String
containerName()
The name of the container.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Boolean
interactive()
Determines whether the execute command session is running in interactive mode.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends ExecuteCommandResponse.Builder>
serializableBuilderClass()
Session
session()
The details of the SSM session that was created for this instance of execute-command.String
taskArn()
The Amazon Resource Name (ARN) of the task.ExecuteCommandResponse.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.ecs.model.EcsResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
clusterArn
public final String clusterArn()
The Amazon Resource Name (ARN) of the cluster.
- Returns:
- The Amazon Resource Name (ARN) of the cluster.
-
containerArn
public final String containerArn()
The Amazon Resource Name (ARN) of the container.
- Returns:
- The Amazon Resource Name (ARN) of the container.
-
containerName
public final String containerName()
The name of the container.
- Returns:
- The name of the container.
-
interactive
public final 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.- Returns:
- 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.
-
session
public final Session session()
The details of the SSM session that was created for this instance of execute-command.
- Returns:
- The details of the SSM session that was created for this instance of execute-command.
-
taskArn
public final String taskArn()
The Amazon Resource Name (ARN) of the task.
- Returns:
- The Amazon Resource Name (ARN) of the task.
-
toBuilder
public ExecuteCommandResponse.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ExecuteCommandResponse.Builder,ExecuteCommandResponse>
- Specified by:
toBuilder
in classAwsResponse
-
builder
public static ExecuteCommandResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends ExecuteCommandResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForField
in classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-