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 interfaceExecuteCommandResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExecuteCommandResponse.Builderbuilder()StringclusterArn()The Amazon Resource Name (ARN) of the cluster.StringcontainerArn()The Amazon Resource Name (ARN) of the container.StringcontainerName()The name of the container.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Booleaninteractive()Determines whether the execute command session is running in interactive mode.List<SdkField<?>>sdkFields()static Class<? extends ExecuteCommandResponse.Builder>serializableBuilderClass()Sessionsession()The details of the SSM session that was created for this instance of execute-command.StringtaskArn()The Amazon Resource Name (ARN) of the task.ExecuteCommandResponse.BuildertoBuilder()StringtoString()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
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
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:
toBuilderin interfaceToCopyableBuilder<ExecuteCommandResponse.Builder,ExecuteCommandResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static ExecuteCommandResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends ExecuteCommandResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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:
getValueForFieldin classSdkResponse
-
-