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 -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringThe Amazon Resource Name (ARN) of the cluster.final StringThe Amazon Resource Name (ARN) of the container.final StringThe name of the container.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final BooleanDetermines whether the execute command session is running in interactive mode.static Class<? extends ExecuteCommandResponse.Builder>final Sessionsession()The details of the SSM session that was created for this instance of execute-command.final StringtaskArn()The Amazon Resource Name (ARN) of the task.final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.services.ecs.model.EcsResponse
responseMetadataMethods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponseMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
clusterArn
The Amazon Resource Name (ARN) of the cluster.
- Returns:
- The Amazon Resource Name (ARN) of the cluster.
-
containerArn
The Amazon Resource Name (ARN) of the container.
- Returns:
- The Amazon Resource Name (ARN) of the container.
-
containerName
The name of the container.
- Returns:
- The name of the container.
-
interactive
Determines whether the execute command session is running in interactive mode. Amazon ECS only supports initiating interactive sessions, so you must specify
truefor 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
truefor this value.
-
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
The Amazon Resource Name (ARN) of the task.
- Returns:
- The Amazon Resource Name (ARN) of the task.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<ExecuteCommandResponse.Builder,ExecuteCommandResponse> - Specified by:
toBuilderin classAwsResponse
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsResponse
-
equals
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-